Files
n8n-nodes-gwezz-changdunovel/nodes/GwezzChangdunovel/resources/user/create.ts
2025-10-26 23:10:15 +08:00

27 lines
464 B
TypeScript

import type { INodeProperties } from 'n8n-workflow';
const showOnlyForUserCreate = {
operation: ['create'],
resource: ['user'],
};
export const userCreateDescription: INodeProperties[] = [
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
required: true,
displayOptions: {
show: showOnlyForUserCreate,
},
description: 'The name of the user',
routing: {
send: {
type: 'body',
property: 'name',
},
},
},
];