Add measure operations
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
29
packages/n8n-node/nodes/Probo/actions/execute/index.ts
Normal file
29
packages/n8n-node/nodes/Probo/actions/execute/index.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
import * as executeOp from './execute.operation';
|
||||
|
||||
export const description: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['execute'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Execute',
|
||||
value: 'execute',
|
||||
description: 'Execute a GraphQL query or mutation',
|
||||
action: 'Execute GraphQL',
|
||||
},
|
||||
],
|
||||
default: 'execute',
|
||||
},
|
||||
...executeOp.description,
|
||||
];
|
||||
|
||||
export { executeOp as execute };
|
||||
|
||||
Reference in New Issue
Block a user