UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

30 lines (26 loc) 695 B
/** * Discourse Node - Version 1 * Discriminator: resource=userGroup, operation=add */ interface Credentials { discourseApi: CredentialReference; } /** Create a user to group */ export type DiscourseV1UserGroupAddParams = { resource: 'userGroup'; operation: 'add'; /** * Usernames to add to group. Multiples can be defined separated by comma. */ usernames?: string | Expression<string> | PlaceholderValue; /** * ID of the group */ groupId?: string | Expression<string> | PlaceholderValue; }; export type DiscourseV1UserGroupAddNode = { type: 'n8n-nodes-base.discourse'; version: 1; credentials?: Credentials; config: NodeConfig<DiscourseV1UserGroupAddParams>; };