n8n/packages/nodes-base/nodes/Contentful/SpaceDescription.ts

34 lines
500 B
TypeScript
Raw Normal View History

2020-08-04 12:07:54 -07:00
import {
INodeProperties,
} from 'n8n-workflow';
2020-07-09 02:36:28 -07:00
export const resource = {
2020-08-04 12:07:54 -07:00
name: 'Space',
value: 'space',
2020-07-09 02:36:28 -07:00
};
export const operations = [
2020-08-04 12:07:54 -07:00
{
displayName: 'Operation',
name: 'operation',
type: 'options',
displayOptions: {
show: {
resource: [
resource.value
],
},
},
options: [
{
name: 'Get',
value: 'get',
},
],
default: 'get',
description: 'The operation to perform.',
},
2020-07-09 02:36:28 -07:00
] as INodeProperties[];
export const fields = [] as INodeProperties[];