mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
26 lines
438 B
TypeScript
26 lines
438 B
TypeScript
|
import { INodeProperties } from 'n8n-workflow';
|
||
|
|
||
|
export const singletonOperations = [
|
||
|
{
|
||
|
displayName: 'Operation',
|
||
|
name: 'operation',
|
||
|
type: 'options',
|
||
|
displayOptions: {
|
||
|
show: {
|
||
|
resource: [
|
||
|
'singletons',
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
options: [
|
||
|
{
|
||
|
name: 'Get data',
|
||
|
value: 'get',
|
||
|
description: 'Get singleton data',
|
||
|
},
|
||
|
],
|
||
|
default: 'get',
|
||
|
description: 'The operation to perform.',
|
||
|
}
|
||
|
] as INodeProperties[];
|