mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
33 lines
537 B
TypeScript
33 lines
537 B
TypeScript
import {
|
|
INodeProperties
|
|
} from 'n8n-workflow';
|
|
|
|
export const configOperations: INodeProperties[] = [
|
|
{
|
|
displayName: 'Operation',
|
|
name: 'operation',
|
|
type: 'options',
|
|
displayOptions: {
|
|
show: {
|
|
resource: [
|
|
'config',
|
|
],
|
|
},
|
|
},
|
|
options: [
|
|
{
|
|
name: 'Get',
|
|
value: 'get',
|
|
description: 'Get the configuration',
|
|
},
|
|
{
|
|
name: 'Check Configuration',
|
|
value: 'check',
|
|
description: 'Check the configuration',
|
|
},
|
|
],
|
|
default: 'get',
|
|
description: 'The operation to perform.',
|
|
},
|
|
];
|