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.
@@ -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
@@ -34,6 +34,7 @@ export interface SqlDialect {
34
34
  dropUnique?: boolean;
35
35
  createCheck?: boolean;
36
36
  dropCheck?: boolean;
37
+ renameSqlObject?: boolean;
37
38
 
38
39
  specificNullabilityImplementation?: boolean;
39
40
  omitForeignKeys?: boolean;
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.5.5",
2
+ "version": "5.5.7-alpha.16",
3
3
  "name": "dbgate-types",
4
4
  "homepage": "https://dbgate.org/",
5
5
  "repository": {