mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Improvements to Contenful-Node
This commit is contained in:
@@ -1,29 +1,33 @@
|
||||
import { INodeProperties } from "n8n-workflow";
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const resource = {
|
||||
name: "Space",
|
||||
value: "space",
|
||||
name: 'Space',
|
||||
value: 'space',
|
||||
};
|
||||
|
||||
export const operations = [
|
||||
{
|
||||
displayName: "Operation",
|
||||
name: "operation",
|
||||
type: "options",
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [resource.value],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: "Get Space",
|
||||
value: "get_space",
|
||||
},
|
||||
],
|
||||
default: "get_space",
|
||||
description: "The operation to perform.",
|
||||
},
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
resource.value
|
||||
],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
},
|
||||
],
|
||||
default: 'get',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
export const fields = [] as INodeProperties[];
|
||||
|
||||
Reference in New Issue
Block a user