n8n/packages/nodes-base/nodes/HomeAssistant/ConfigDescription.ts

33 lines
539 B
TypeScript
Raw Normal View History

import {
INodeProperties
} from 'n8n-workflow';
export const configOperations = [
{
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.',
},
] as INodeProperties[];