Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
import * as create from './create.operation';
|
|
import * as deleteReport from './deleteReport.operation';
|
|
import * as get from './get.operation';
|
|
import * as getAll from './getAll.operation';
|
|
|
|
export { create, deleteReport, get, getAll };
|
|
|
|
export const description: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['report'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Create From Search',
|
|
value: 'create',
|
|
description: 'Create a search report from a search job',
|
|
action: 'Create a search report',
|
|
},
|
|
{
|
|
name: 'Delete',
|
|
value: 'deleteReport',
|
|
description: 'Delete a search report',
|
|
action: 'Delete a search report',
|
|
},
|
|
{
|
|
name: 'Get',
|
|
value: 'get',
|
|
description: 'Retrieve a search report',
|
|
action: 'Get a search report',
|
|
},
|
|
{
|
|
name: 'Get Many',
|
|
value: 'getAll',
|
|
description: 'Retrieve many search reports',
|
|
action: 'Get many search reports',
|
|
},
|
|
],
|
|
default: 'getAll',
|
|
},
|
|
|
|
...create.description,
|
|
...deleteReport.description,
|
|
...get.description,
|
|
...getAll.description,
|
|
];
|