18 lines
363 B
TypeScript
18 lines
363 B
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
const showOnlyForUserGet = {
|
|
operation: ['get'],
|
|
resource: ['user'],
|
|
};
|
|
|
|
export const userGetDescription: INodeProperties[] = [
|
|
{
|
|
displayName: 'User ID',
|
|
name: 'userId',
|
|
type: 'string',
|
|
displayOptions: { show: showOnlyForUserGet },
|
|
default: '',
|
|
description: "The user's ID to retrieve",
|
|
},
|
|
];
|