dbgate-types 6.6.3 → 6.6.5
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/appdefs.d.ts +34 -14
- package/dialect.d.ts +1 -0
- package/package.json +1 -1
package/appdefs.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
interface ApplicationCommand {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
// interface ApplicationCommand {
|
|
2
|
+
// name: string;
|
|
3
|
+
// sql: string;
|
|
4
|
+
// }
|
|
5
5
|
|
|
6
|
-
interface ApplicationQuery {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
6
|
+
// interface ApplicationQuery {
|
|
7
|
+
// name: string;
|
|
8
|
+
// sql: string;
|
|
9
|
+
// }
|
|
10
10
|
|
|
11
11
|
interface VirtualReferenceDefinition {
|
|
12
12
|
pureName: string;
|
|
@@ -27,11 +27,31 @@ interface DictionaryDescriptionDefinition {
|
|
|
27
27
|
delimiter: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
interface ApplicationUsageRule {
|
|
31
|
+
conditionGroup?: string;
|
|
32
|
+
serverHostsRegex?: string;
|
|
33
|
+
serverHostsList?: string[];
|
|
34
|
+
databaseNamesRegex?: string;
|
|
35
|
+
databaseNamesList?: string[];
|
|
36
|
+
tableNamesRegex?: string;
|
|
37
|
+
tableNamesList?: string[];
|
|
38
|
+
columnNamesRegex?: string;
|
|
39
|
+
columnNamesList?: string[];
|
|
40
|
+
}
|
|
32
41
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
export interface ApplicationDefinition {
|
|
43
|
+
appid: string;
|
|
44
|
+
applicationName: string;
|
|
45
|
+
applicationIcon?: string;
|
|
46
|
+
applicationColor?: string;
|
|
47
|
+
usageRules?: ApplicationUsageRule[];
|
|
48
|
+
files?: {
|
|
49
|
+
[key: string]: {
|
|
50
|
+
label: string;
|
|
51
|
+
sql: string;
|
|
52
|
+
type: 'query' | 'command';
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
virtualReferences?: VirtualReferenceDefinition[];
|
|
56
|
+
dictionaryDescriptions?: DictionaryDescriptionDefinition[];
|
|
37
57
|
}
|
package/dialect.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface SqlDialect {
|
|
|
22
22
|
requireStandaloneSelectForScopeIdentity?: boolean;
|
|
23
23
|
allowMultipleValuesInsert?: boolean;
|
|
24
24
|
useServerDatabaseFile?: boolean;
|
|
25
|
+
maxIdentifierLength?: number;
|
|
25
26
|
|
|
26
27
|
dropColumnDependencies?: string[];
|
|
27
28
|
changeColumnDependencies?: string[];
|
package/package.json
CHANGED