first commit
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
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
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
import * as create from './create.operation';
|
||||
import * as deleteTable from './delete.operation';
|
||||
import * as list from './list.operation';
|
||||
import * as update from './update.operation';
|
||||
import { DATA_TABLE_RESOURCE_LOCATOR_BASE } from '../../common/fields';
|
||||
|
||||
export { create, deleteTable, list, update };
|
||||
|
||||
export const description: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['table'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Create',
|
||||
value: create.FIELD,
|
||||
description: 'Create a new data table',
|
||||
action: 'Create a data table',
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
value: deleteTable.FIELD,
|
||||
description: 'Delete a data table',
|
||||
action: 'Delete a data table',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: list.FIELD,
|
||||
description: 'List all data tables',
|
||||
action: 'List data tables',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: update.FIELD,
|
||||
description: 'Update a data table name',
|
||||
action: 'Update a data table',
|
||||
},
|
||||
],
|
||||
default: 'list',
|
||||
},
|
||||
{
|
||||
...DATA_TABLE_RESOURCE_LOCATOR_BASE,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['table'],
|
||||
operation: [deleteTable.FIELD, update.FIELD],
|
||||
},
|
||||
},
|
||||
},
|
||||
...create.description,
|
||||
...deleteTable.description,
|
||||
...list.description,
|
||||
...update.description,
|
||||
];
|
||||
Reference in New Issue
Block a user