dbgate-types 7.0.4 → 7.1.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.
Files changed (2) hide show
  1. package/engines.d.ts +10 -1
  2. package/package.json +2 -2
package/engines.d.ts CHANGED
@@ -73,7 +73,7 @@ export interface WriteTableOptions {
73
73
  export interface EngineAuthType {
74
74
  title: string;
75
75
  name: string;
76
- disabledFields: string[];
76
+ disabledFields?: string[];
77
77
  }
78
78
 
79
79
  export interface ReadCollectionOptions {
@@ -258,13 +258,21 @@ export interface EngineDriver<TClient = any, TDataBase = any> extends FilterBeha
258
258
  supportsTransactions?: boolean;
259
259
  implicitTransactions?: boolean; // transaction is started with first SQL command, no BEGIN TRANSACTION is needed
260
260
  premiumOnly?: boolean;
261
+ supportExecuteQuery?: boolean;
261
262
 
262
263
  collectionSingularLabel?: string;
263
264
  collectionPluralLabel?: string;
264
265
  collectionNameLabel?: string;
265
266
  newCollectionFormParams?: any[];
267
+ disableRenameCollection?: boolean;
266
268
  icon?: EngineDriverIcon;
267
269
 
270
+ apiServerUrl1Label?: string;
271
+ apiServerUrl1Placeholder?: string;
272
+ apiServerUrl2Label?: string;
273
+ apiServerUrl2Placeholder?: string;
274
+ loadApiServerUrl2Options?: boolean;
275
+
268
276
  supportedCreateDatabase?: boolean;
269
277
  showConnectionField?: (
270
278
  field: string,
@@ -405,6 +413,7 @@ export interface EngineDriver<TClient = any, TDataBase = any> extends FilterBeha
405
413
  ): { message: string; severity: 'info' | 'error' | 'debug' } | null;
406
414
  getNativeOperationFormArgs(operation: 'backup' | 'restore'): any[];
407
415
  getAdvancedConnectionFields(): any[];
416
+ sortCollectionDisplayColumns?(columns: any[]): any[];
408
417
 
409
418
  analyserClass?: any;
410
419
  dumperClass?: any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "7.0.4",
2
+ "version": "7.1.0",
3
3
  "name": "dbgate-types",
4
- "homepage": "https://dbgate.org/",
4
+ "homepage": "https://www.dbgate.io/",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/dbgate/dbgate.git"