dbgate-types 4.5.1 → 4.6.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/appdefs.d.ts ADDED
@@ -0,0 +1,37 @@
1
+ interface ApplicationCommand {
2
+ name: string;
3
+ sql: string;
4
+ }
5
+
6
+ interface ApplicationQuery {
7
+ name: string;
8
+ sql: string;
9
+ }
10
+
11
+ interface VirtualReferenceDefinition {
12
+ pureName: string;
13
+ schemaName?: string;
14
+ refSchemaName?: string;
15
+ refTableName: string;
16
+ columns: {
17
+ columnName: string;
18
+ refColumnName: string;
19
+ }[];
20
+ }
21
+
22
+ interface DictionaryDescriptionDefinition {
23
+ pureName: string;
24
+ schemaName?: string;
25
+ expression: string;
26
+ columns: string[];
27
+ delimiter: string;
28
+ }
29
+
30
+ export interface ApplicationDefinition {
31
+ name: string;
32
+
33
+ queries: ApplicationQuery[];
34
+ commands: ApplicationCommand[];
35
+ virtualReferences: VirtualReferenceDefinition[];
36
+ dictionaryDescriptions: DictionaryDescriptionDefinition[];
37
+ }
package/dbinfo.d.ts CHANGED
@@ -114,4 +114,5 @@ export interface DatabaseInfoObjects {
114
114
  export interface DatabaseInfo extends DatabaseInfoObjects {
115
115
  schemas: SchemaInfo[];
116
116
  engine?: string;
117
+ defaultSchema?: string;
117
118
  }
package/extensions.d.ts CHANGED
@@ -22,9 +22,10 @@ export interface FileFormatDefinition {
22
22
  }
23
23
 
24
24
  export interface ThemeDefinition {
25
- className: string;
25
+ themeClassName: string;
26
26
  themeName: string;
27
27
  themeType: 'light' | 'dark';
28
+ themeCss?: string;
28
29
  }
29
30
 
30
31
  export interface PluginDefinition {
package/index.d.ts CHANGED
@@ -43,3 +43,4 @@ export * from './dumper';
43
43
  export * from './dbtypes';
44
44
  export * from './extensions';
45
45
  export * from './alter-processor';
46
+ export * from './appdefs';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.5.1",
2
+ "version": "4.6.3",
3
3
  "name": "dbgate-types",
4
4
  "homepage": "https://dbgate.org/",
5
5
  "repository": {