2023-01-27 03:22:44 -08:00
|
|
|
import type { 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: {
|
2022-08-01 13:47:55 -07:00
|
|
|
resource: [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[] = [];
|