dbgate-sqltree 5.1.4 → 5.1.6
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/lib/dumpSqlCommand.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SqlDumper } from 'dbgate-types';
|
|
1
|
+
import type { SqlDumper } from 'dbgate-types';
|
|
2
2
|
import { Command, Select, Update, Delete, Insert } from './types';
|
|
3
3
|
export declare function dumpSqlSelect(dmp: SqlDumper, cmd: Select): void;
|
|
4
4
|
export declare function dumpSqlUpdate(dmp: SqlDumper, cmd: Update): void;
|
package/lib/dumpSqlSource.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Source, FromDefinition, Relation } from './types';
|
|
2
|
-
import { SqlDumper } from 'dbgate-types';
|
|
2
|
+
import type { SqlDumper } from 'dbgate-types';
|
|
3
3
|
export declare function dumpSqlSourceDef(dmp: SqlDumper, source: Source): void;
|
|
4
4
|
export declare function dumpSqlSourceRef(dmp: SqlDumper, source: Source): boolean;
|
|
5
5
|
export declare function dumpSqlRelation(dmp: SqlDumper, from: Relation): void;
|
package/lib/types.d.ts
CHANGED
package/lib/utility.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EngineDriver, SqlDumper } from 'dbgate-types';
|
|
1
|
+
import type { EngineDriver, SqlDumper } from 'dbgate-types';
|
|
2
2
|
import { Command, Condition } from './types';
|
|
3
3
|
export declare function treeToSql<T>(driver: EngineDriver, object: T, func: (dmp: SqlDumper, obj: T) => void): string;
|
|
4
4
|
export declare function scriptToSql(driver: EngineDriver, script: Command[]): string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.1.
|
|
2
|
+
"version": "5.1.6",
|
|
3
3
|
"name": "dbgate-sqltree",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "lib/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^13.7.0",
|
|
30
|
-
"dbgate-types": "^5.1.
|
|
30
|
+
"dbgate-types": "^5.1.6",
|
|
31
31
|
"typescript": "^4.4.3"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|