mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-22 14:07:26 +00:00
* feature-2054 plugin cli * plugin cli * readme changes * npm publish * Review comments * Review comments * cli fix * added build flag
15 lines
463 B
Perl
15 lines
463 B
Perl
---
|
|
to: <%= plugins_path %>/packages/<%= name %>/lib/index.ts
|
|
---
|
|
|
|
import { QueryError, QueryResult, QueryService, ConnectionTestResult } from '@tooljet-plugins/common';
|
|
import { SourceOptions, QueryOptions } from './types';
|
|
|
|
export default class <%= Name %> implements QueryService {
|
|
async run(sourceOptions: SourceOptions, queryOptions: QueryOptions, dataSourceId: string): Promise<QueryResult> {
|
|
return {
|
|
status: 'ok',
|
|
data: {},
|
|
};
|
|
}
|
|
}
|