dbgate-types 4.8.4 → 4.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/engines.d.ts +6 -0
- package/package.json +1 -1
package/engines.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export interface SupportedDbKeyType {
|
|
|
51
51
|
showItemList?: boolean;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
export interface SqlBackupDumper {
|
|
55
|
+
run();
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
export interface EngineDriver {
|
|
55
59
|
engine: string;
|
|
56
60
|
title: string;
|
|
@@ -60,6 +64,7 @@ export interface EngineDriver {
|
|
|
60
64
|
readOnlySessions: boolean;
|
|
61
65
|
supportedKeyTypes: SupportedDbKeyType[];
|
|
62
66
|
supportsDatabaseUrl?: boolean;
|
|
67
|
+
supportsDatabaseDump?: boolean;
|
|
63
68
|
isElectronOnly?: boolean;
|
|
64
69
|
supportedCreateDatabase?: boolean;
|
|
65
70
|
showConnectionField?: (field: string, values: any) => boolean;
|
|
@@ -99,6 +104,7 @@ export interface EngineDriver {
|
|
|
99
104
|
dialect: SqlDialect;
|
|
100
105
|
dialectByVersion(version): SqlDialect;
|
|
101
106
|
createDumper(options = null): SqlDumper;
|
|
107
|
+
createBackupDumper(pool: any, options): Promise<SqlBackupDumper>;
|
|
102
108
|
getAuthTypes(): EngineAuthType[];
|
|
103
109
|
readCollection(pool: any, options: ReadCollectionOptions): Promise<any>;
|
|
104
110
|
updateCollection(pool: any, changeSet: any): Promise<any>;
|
package/package.json
CHANGED