dbgate-types 4.6.0 → 4.7.0

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
@@ -54,6 +54,9 @@ export interface ColumnInfo extends NamedObjectInfo {
54
54
  isSparse?: boolean;
55
55
  defaultValue?: string;
56
56
  defaultConstraint?: string;
57
+ columnComment?: string;
58
+ isUnsigned?: boolean;
59
+ isZerofill?: boolean;
57
60
  }
58
61
 
59
62
  export interface DatabaseObjectInfo extends NamedObjectInfo {
@@ -63,6 +66,7 @@ export interface DatabaseObjectInfo extends NamedObjectInfo {
63
66
  modifyDate?: string;
64
67
  hashCode?: string;
65
68
  objectTypeField?: string;
69
+ obejctComment?: string;
66
70
  }
67
71
 
68
72
  export interface SqlObjectInfo extends DatabaseObjectInfo {
@@ -81,6 +85,7 @@ export interface TableInfo extends DatabaseObjectInfo {
81
85
  preloadedRows?: any[];
82
86
  preloadedRowsKey?: string[];
83
87
  preloadedRowsInsertOnly?: string[];
88
+ tableRowCount?: number | string;
84
89
  __isDynamicStructure?: boolean;
85
90
  }
86
91
 
@@ -92,7 +97,9 @@ export interface ViewInfo extends SqlObjectInfo {
92
97
 
93
98
  export interface ProcedureInfo extends SqlObjectInfo {}
94
99
 
95
- export interface FunctionInfo extends SqlObjectInfo {}
100
+ export interface FunctionInfo extends SqlObjectInfo {
101
+ // returnDataType?: string;
102
+ }
96
103
 
97
104
  export interface TriggerInfo extends SqlObjectInfo {}
98
105
 
@@ -114,4 +121,5 @@ export interface DatabaseInfoObjects {
114
121
  export interface DatabaseInfo extends DatabaseInfoObjects {
115
122
  schemas: SchemaInfo[];
116
123
  engine?: string;
124
+ defaultSchema?: string;
117
125
  }
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
@@ -11,6 +11,7 @@ export interface OpenedDatabaseConnection {
11
11
  status?: {
12
12
  name: string;
13
13
  message?: string;
14
+ counter: number;
14
15
  };
15
16
  }
16
17
 
@@ -43,3 +44,4 @@ export * from './dumper';
43
44
  export * from './dbtypes';
44
45
  export * from './extensions';
45
46
  export * from './alter-processor';
47
+ export * from './appdefs';
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.6.0",
2
+ "version": "4.7.0",
3
3
  "name": "dbgate-types",
4
4
  "homepage": "https://dbgate.org/",
5
5
  "repository": {