n8n-nodes-base
Version:
Base nodes of n8n
59 lines (55 loc) • 1.99 kB
text/typescript
/**
* Wekan Node - Version 1
* Discriminator: resource=card, operation=create
*/
interface Credentials {
wekanApi: CredentialReference;
}
/** Create a new board */
export type WekanV1CardCreateParams = {
resource: 'card';
operation: 'create';
/**
* The ID of the board that list belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
boardId?: string | Expression<string>;
/**
* The ID of the list to create card in. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
listId?: string | Expression<string>;
/**
* The title of the card
*/
title?: string | Expression<string> | PlaceholderValue;
/**
* The swimlane ID of the new card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
swimlaneId?: string | Expression<string>;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
authorId?: string | Expression<string>;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** The new list of assignee IDs attached to the card. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
assignees?: string[];
/** The new description of the card
*/
description?: string | Expression<string> | PlaceholderValue;
/** The new list of member IDs attached to the card. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
members?: string[];
};
};
export type WekanV1CardCreateNode = {
type: 'n8n-nodes-base.wekan';
version: 1;
credentials?: Credentials;
config: NodeConfig<WekanV1CardCreateParams>;
};