mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -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.',
|
|
},
|
|
];
|