n8n/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts
Michael Kret 91d7e16c81
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
2022-08-17 17:50:24 +02:00

31 lines
568 B
TypeScript

import { INodeProperties } from 'n8n-workflow';
export const configOperations: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['config'],
},
},
options: [
{
name: 'Get',
value: 'get',
description: 'Get the configuration',
action: 'Get the config',
},
{
name: 'Check Configuration',
value: 'check',
description: 'Check the configuration',
action: 'Check the config',
},
],
default: 'get',
},
];