2022-01-17 16:58:15 +00:00
|
|
|
---
|
|
|
|
|
to: <%= plugins_path %>/packages/<%= name %>/lib/index.ts
|
|
|
|
|
---
|
|
|
|
|
|
2022-02-05 01:19:49 +00:00
|
|
|
import { QueryError, QueryResult, QueryService, ConnectionTestResult } from '@tooljet-plugins/common';
|
|
|
|
|
import { SourceOptions, QueryOptions } from './types';
|
2022-01-17 16:58:15 +00:00
|
|
|
|
|
|
|
|
export default class <%= Name %> implements QueryService {
|
2022-01-24 13:59:21 +00:00
|
|
|
async run(sourceOptions: SourceOptions, queryOptions: QueryOptions, dataSourceId: string): Promise<QueryResult> {
|
2022-01-23 06:32:42 +00:00
|
|
|
return {
|
|
|
|
|
status: 'ok',
|
|
|
|
|
data: {},
|
|
|
|
|
};
|
|
|
|
|
}
|
2022-01-17 16:58:15 +00:00
|
|
|
}
|