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',
|
2022-05-20 14:47:24 -07:00
|
|
|
noDataExpression: true,
|
2020-08-04 12:07:54 -07:00
|
|
|
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',
|
|
|
|
},
|
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[] = [];
|