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
|
|
|
};
|
|
|
|
|
2021-12-03 00:44:16 -08:00
|
|
|
export const operations: INodeProperties[] = [
|
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.',
|
|
|
|
},
|
2021-12-03 00:44:16 -08:00
|
|
|
];
|
2020-07-09 02:36:28 -07:00
|
|
|
|
2021-12-03 00:44:16 -08:00
|
|
|
export const fields: INodeProperties[] = [];
|