n8n/packages/nodes-base/nodes/TheHiveProject/actions/query/index.ts
2023-09-04 18:15:52 +03:00

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,
];