dbgate-types 5.2.2 → 5.2.3

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/dialect.d.ts CHANGED
@@ -11,6 +11,7 @@ export interface SqlDialect {
11
11
  anonymousPrimaryKey?: boolean;
12
12
  defaultSchemaName?: string;
13
13
  enableConstraintsPerTable?: boolean;
14
+ requireStandaloneSelectForScopeIdentity?: boolean;
14
15
 
15
16
  dropColumnDependencies?: string[];
16
17
  changeColumnDependencies?: string[];
@@ -32,7 +33,6 @@ export interface SqlDialect {
32
33
  dropCheck?: boolean;
33
34
 
34
35
  dropReferencesWhenDropTable?: boolean;
35
- disableExplicitTransaction?: boolean;
36
36
 
37
37
  predefinedDataTypes: string[];
38
38
 
package/engines.d.ts CHANGED
@@ -12,6 +12,10 @@ export interface StreamOptions {
12
12
  info?: (info) => void;
13
13
  }
14
14
 
15
+ export interface RunScriptOptions {
16
+ useTransaction: boolean;
17
+ }
18
+
15
19
  export interface QueryOptions {
16
20
  discardResult?: boolean;
17
21
  }
@@ -78,6 +82,7 @@ export interface EngineDriver {
78
82
  supportsDatabaseDump?: boolean;
79
83
  supportsServerSummary?: boolean;
80
84
  supportsDatabaseProfiler?: boolean;
85
+ requiresDefaultSortCriteria?: boolean;
81
86
  profilerFormatterFunction?: string;
82
87
  profilerTimestampFunction?: string;
83
88
  profilerChartAggregateFunction?: string;
@@ -129,7 +134,7 @@ export interface EngineDriver {
129
134
  createDatabase(pool: any, name: string): Promise;
130
135
  dropDatabase(pool: any, name: string): Promise;
131
136
  getQuerySplitterOptions(usage: 'stream' | 'script' | 'editor'): any;
132
- script(pool: any, sql: string): Promise;
137
+ script(pool: any, sql: string, options?: RunScriptOptions): Promise;
133
138
  getNewObjectTemplates(): NewObjectTemplate[];
134
139
  // direct call of pool method, only some methods could be supported, on only some drivers
135
140
  callMethod(pool, method, args);
package/extensions.d.ts CHANGED
@@ -37,8 +37,9 @@ export interface PluginDefinition {
37
37
 
38
38
  export interface QuickExportDefinition {
39
39
  label: string;
40
- createWriter: (fileName: string) => { functionName: string; props: any };
40
+ createWriter: (fileName: string, dataName?: string) => { functionName: string; props: any };
41
41
  extension: string;
42
+ noFilenameDependency?: boolean;
42
43
  }
43
44
 
44
45
  export interface ExtensionsDirectory {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.2.2",
2
+ "version": "5.2.3",
3
3
  "name": "dbgate-types",
4
4
  "homepage": "https://dbgate.org/",
5
5
  "repository": {