mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
30 lines
551 B
TypeScript
30 lines
551 B
TypeScript
|
import { INodeProperties } from "n8n-workflow";
|
||
|
|
||
|
export const resource = {
|
||
|
name: "Space",
|
||
|
value: "space",
|
||
|
};
|
||
|
|
||
|
export const operations = [
|
||
|
{
|
||
|
displayName: "Operation",
|
||
|
name: "operation",
|
||
|
type: "options",
|
||
|
displayOptions: {
|
||
|
show: {
|
||
|
resource: [resource.value],
|
||
|
},
|
||
|
},
|
||
|
options: [
|
||
|
{
|
||
|
name: "Get Space",
|
||
|
value: "get_space",
|
||
|
},
|
||
|
],
|
||
|
default: "get_space",
|
||
|
description: "The operation to perform.",
|
||
|
},
|
||
|
] as INodeProperties[];
|
||
|
|
||
|
export const fields = [] as INodeProperties[];
|