mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-26 16:07:18 +00:00
* merge develop * Add eslint dependencies, configs and scripts to plugins project * run lint with Github action * ignore tests and dist folders * fun eslint with --fix and manual fixes, renamed __tests_ to __tests__ * add plugins packages folder to lint-staged config * fix lint issue
13 lines
490 B
TypeScript
13 lines
490 B
TypeScript
import { ConnectionTestResult } from './connection_test_result.type';
|
|
import { QueryResult } from './query_result.type';
|
|
|
|
export interface QueryService {
|
|
run(
|
|
sourceOptions: object,
|
|
queryOptions: object,
|
|
dataSourceId?: string,
|
|
dataSourceUpdatedAt?: string
|
|
): Promise<QueryResult>;
|
|
getConnection?(queryOptions: object, options: any, checkCache: boolean, dataSourceId: string): Promise<object>;
|
|
testConnection?(sourceOptions: object): Promise<ConnectionTestResult>;
|
|
}
|