dbgate-types 5.5.5 → 5.5.7-alpha.16
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/alter-processor.d.ts +1 -0
- package/dbinfo.d.ts +2 -0
- package/dialect.d.ts +1 -0
- package/engines.d.ts +2 -1
- package/package.json +1 -1
package/alter-processor.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface AlterProcessor {
|
|
|
10
10
|
changeConstraint(oldConstraint: ConstraintInfo, newConstraint: ConstraintInfo);
|
|
11
11
|
dropConstraint(constraint: ConstraintInfo);
|
|
12
12
|
renameTable(table: TableInfo, newName: string);
|
|
13
|
+
renameSqlObject(obj: SqlObjectInfo, newName: string);
|
|
13
14
|
renameColumn(column: ColumnInfo, newName: string);
|
|
14
15
|
renameConstraint(constraint: ConstraintInfo, newName: string);
|
|
15
16
|
recreateTable(oldTable: TableInfo, newTable: TableInfo);
|
package/dbinfo.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export interface NamedObjectInfo {
|
|
|
3
3
|
schemaName?: string;
|
|
4
4
|
contentHash?: string;
|
|
5
5
|
engine?: string;
|
|
6
|
+
undropPureName?: string;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
export interface ColumnReference {
|
|
@@ -63,6 +64,7 @@ export interface ColumnInfo extends NamedObjectInfo {
|
|
|
63
64
|
isZerofill?: boolean;
|
|
64
65
|
options?: [];
|
|
65
66
|
canSelectMultipleOptions?: boolean;
|
|
67
|
+
undropColumnName?: string;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
export interface DatabaseObjectInfo extends NamedObjectInfo {
|
package/dialect.d.ts
CHANGED
package/engines.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export interface StreamOptions {
|
|
|
25
25
|
|
|
26
26
|
export interface RunScriptOptions {
|
|
27
27
|
useTransaction: boolean;
|
|
28
|
+
logScriptItems?: boolean;
|
|
28
29
|
queryOptions?: QueryOptions;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -197,7 +198,7 @@ export interface EngineDriver extends FilterBehaviourProvider {
|
|
|
197
198
|
objectTypeField: keyof DatabaseInfo
|
|
198
199
|
): Promise<TableInfo | ViewInfo | ProcedureInfo | FunctionInfo | TriggerInfo>;
|
|
199
200
|
analyseSingleTable(dbhan: DatabaseHandle, name: NamedObjectInfo): Promise<TableInfo>;
|
|
200
|
-
getVersion(dbhan: DatabaseHandle): Promise<{ version: string }>;
|
|
201
|
+
getVersion(dbhan: DatabaseHandle): Promise<{ version: string; versionText?: string }>;
|
|
201
202
|
listDatabases(dbhan: DatabaseHandle): Promise<
|
|
202
203
|
{
|
|
203
204
|
name: string;
|
package/package.json
CHANGED