@devtable/dashboard 10.27.0 → 10.29.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.
@@ -7,7 +7,7 @@ export declare type QueryFailureError = {
7
7
  };
8
8
  };
9
9
  interface IQueryBySQL {
10
- title: string;
10
+ name: string;
11
11
  query: {
12
12
  type: DataSourceType;
13
13
  key: string;
@@ -17,13 +17,14 @@ interface IQueryBySQL {
17
17
  };
18
18
  payload: TPayloadForSQL;
19
19
  }
20
- export declare function queryBySQL({ query, payload }: IQueryBySQL, signal: AbortSignal): Promise<any>;
20
+ export declare function queryBySQL({ query, name, payload }: IQueryBySQL, signal: AbortSignal): Promise<any>;
21
21
  interface IQueryByHTTP {
22
22
  type: DataSourceType;
23
23
  key: string;
24
24
  configString: string;
25
+ name: string;
25
26
  }
26
- export declare function queryByHTTP({ type, key, configString }: IQueryByHTTP, signal: AbortSignal): Promise<any>;
27
+ export declare function queryByHTTP({ type, key, configString, name }: IQueryByHTTP, signal: AbortSignal): Promise<any>;
27
28
  export declare type TQuerySources = Record<string, string[]>;
28
29
  export declare function listDataSources(): Promise<IDataSource[]>;
29
30
  export declare type GlobalSQLSnippetDBType = {