mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 05:59:42 -08:00
b03e358a12
* 👕 Enable `consistent-type-imports` for nodes-base
* 👕 Apply to nodes-base
* ⏪ Undo unrelated changes
* 🚚 Move to `.eslintrc.js` in nodes-base
* ⏪ Revert "Enable `consistent-type-imports` for nodes-base"
This reverts commit 529ad72b05
.
* 👕 Fix severity
62 lines
1.4 KiB
TypeScript
62 lines
1.4 KiB
TypeScript
import * as del from './del';
|
|
import * as download from './download';
|
|
import * as getAll from './getAll';
|
|
import * as update from './update';
|
|
import * as upload from './upload';
|
|
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export { del, download, getAll, update, upload };
|
|
|
|
export const descriptions: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['employeeDocument'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Delete',
|
|
value: 'delete',
|
|
description: 'Delete an employee document',
|
|
action: 'Delete an employee document',
|
|
},
|
|
{
|
|
name: 'Download',
|
|
value: 'download',
|
|
description: 'Download an employee document',
|
|
action: 'Download an employee document',
|
|
},
|
|
{
|
|
name: 'Get Many',
|
|
value: 'getAll',
|
|
description: 'Get many employee documents',
|
|
action: 'Get many employee documents',
|
|
},
|
|
{
|
|
name: 'Update',
|
|
value: 'update',
|
|
description: 'Update an employee document',
|
|
action: 'Update an employee document',
|
|
},
|
|
{
|
|
name: 'Upload',
|
|
value: 'upload',
|
|
description: 'Upload an employee document',
|
|
action: 'Upload an employee document',
|
|
},
|
|
],
|
|
default: 'delete',
|
|
},
|
|
...del.description,
|
|
...download.description,
|
|
...getAll.description,
|
|
...update.description,
|
|
...upload.description,
|
|
];
|