mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
30 lines
547 B
TypeScript
30 lines
547 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
import * as executeQuery from './executeQuery.operation';
|
|
|
|
export { executeQuery };
|
|
|
|
export const description: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
noDataExpression: true,
|
|
type: 'options',
|
|
required: true,
|
|
default: 'executeQuery',
|
|
options: [
|
|
{
|
|
name: 'Execute Query',
|
|
value: 'executeQuery',
|
|
action: 'Execute a query',
|
|
},
|
|
],
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['query'],
|
|
},
|
|
},
|
|
},
|
|
...executeQuery.description,
|
|
];
|