UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

42 lines 1.34 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.description = void 0; const n8n_workflow_1 = require("n8n-workflow"); const utils_1 = require("../../helpers/utils"); const common_1 = require("../common"); const properties = [ { ...common_1.groupNameParameter, description: 'The name of the new group to create', placeholder: 'e.g. GroupName', }, { displayName: 'Additional Fields', name: 'additionalFields', default: {}, options: [ { ...common_1.pathParameter, placeholder: 'e.g. /division_abc/engineering/', description: 'The path to the group, if it is not included, it defaults to a slash (/)', routing: { send: { preSend: [utils_1.validatePath], property: 'Path', type: 'query', }, }, }, ], placeholder: 'Add Option', type: 'collection', }, ]; const displayOptions = { show: { resource: ['group'], operation: ['create'], }, }; exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties); //# sourceMappingURL=create.operation.js.map