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: [
|
2020-08-25 02:22:14 -07:00
|
|
|
resource.value,
|
2020-08-04 12:07:54 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
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[];
|