mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Small improvements on Cockpit-Node
This commit is contained in:
@@ -14,12 +14,33 @@ export const singletonOperations = [
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Get data',
|
||||
value: 'get',
|
||||
description: 'Get singleton data',
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all singletons',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
}
|
||||
] as INodeProperties[];
|
||||
|
||||
export const singletonFields = [
|
||||
{
|
||||
displayName: 'Singleton',
|
||||
name: 'singleton',
|
||||
type: 'options',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSingletons',
|
||||
},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'singletons',
|
||||
],
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'Name of the singleton to operate on.'
|
||||
},
|
||||
] as INodeProperties[];
|
||||
Reference in New Issue
Block a user