add new key works

This commit is contained in:
Jan Prochazka
2022-03-24 17:58:54 +01:00
parent 38dfad4dfc
commit 1aecda6d9f
3 changed files with 46 additions and 10 deletions

View File

@@ -42,13 +42,22 @@ export interface NewObjectTemplate {
sql: string;
}
export interface SupportedDbKeyType {
name: string;
label: string;
dbKeyFields: { name: string }[];
addMethod: string;
keyColumn?: string;
showItemList?: boolean;
}
export interface EngineDriver {
engine: string;
title: string;
defaultPort?: number;
databaseEngineTypes: string[];
readOnlySessions: boolean;
supportedKeyTypes: { name: string; label: string }[];
supportedKeyTypes: SupportedDbKeyType[];
supportsDatabaseUrl?: boolean;
isElectronOnly?: boolean;
showConnectionField?: (field: string, values: any) => boolean;