mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 07:56:28 +00:00
add new key works
This commit is contained in:
11
packages/types/engines.d.ts
vendored
11
packages/types/engines.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user