mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 09:34:07 -08:00
37 lines
744 B
TypeScript
37 lines
744 B
TypeScript
import * as add from './add';
|
|
import * as remove from './remove';
|
|
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export { add, remove };
|
|
|
|
export const descriptions: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
noDataExpression: true,
|
|
displayOptions: {
|
|
show: {
|
|
resource: ['link'],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Add',
|
|
value: 'add',
|
|
description: 'Create a link between two rows in a link column',
|
|
action: 'Add a row link',
|
|
},
|
|
{
|
|
name: 'Remove',
|
|
value: 'remove',
|
|
description: 'Remove a link between two rows from a link column',
|
|
action: 'Remove a row link',
|
|
},
|
|
],
|
|
default: 'add',
|
|
},
|
|
...add.description,
|
|
...remove.description,
|
|
];
|