dbgate-tools 4.8.8 → 5.0.1

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.
@@ -28,4 +28,6 @@ export declare const driverBase: {
28
28
  }[];
29
29
  loadFieldValues(pool: any, name: any, columnName: any, search: any): Promise<any>;
30
30
  readJsonQuery(pool: any, select: any, structure: any): any;
31
+ showConnectionField: (field: any, values: any) => boolean;
32
+ showConnectionTab: (field: any) => boolean;
31
33
  };
package/lib/driverBase.js CHANGED
@@ -129,4 +129,6 @@ exports.driverBase = {
129
129
  (0, dbgate_sqltree_1.dumpSqlSelect)(dmp, select);
130
130
  return this.readQuery(pool, dmp.s, structure);
131
131
  },
132
+ showConnectionField: (field, values) => false,
133
+ showConnectionTab: (field) => true,
132
134
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.8.8",
2
+ "version": "5.0.1",
3
3
  "name": "dbgate-tools",
4
4
  "main": "lib/index.js",
5
5
  "typings": "lib/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "devDependencies": {
27
27
  "@types/node": "^13.7.0",
28
- "dbgate-types": "^4.8.8",
28
+ "dbgate-types": "^5.0.1",
29
29
  "jest": "^24.9.0",
30
30
  "ts-jest": "^25.2.1",
31
31
  "typescript": "^4.4.3"
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "lodash": "^4.17.21",
35
35
  "dbgate-query-splitter": "^4.9.0",
36
- "dbgate-sqltree": "^4.8.8",
36
+ "dbgate-sqltree": "^5.0.1",
37
37
  "uuid": "^3.4.0"
38
38
  }
39
39
  }