UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

70 lines (65 loc) 1.76 kB
/** * Linear Node - Version 1 * Discriminator: resource=issue, operation=create */ interface Credentials { linearApi: CredentialReference; linearOAuth2Api: CredentialReference; } /** Create an issue */ export type LinearV1IssueCreateParams = { resource: 'issue'; operation: 'create'; authentication?: 'apiToken' | 'oAuth2' | Expression<string>; /** * Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ teamId?: string | Expression<string>; /** * Title */ title?: string | Expression<string> | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ assigneeId?: string | Expression<string>; /** Description */ description?: string | Expression<string> | PlaceholderValue; /** Priority * @default 0 */ priorityId?: 1 | 2 | 3 | 4 | 0 | Expression<number>; /** Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ stateId?: string | Expression<string>; }; }; export type LinearV1IssueCreateOutput = { archivedAt?: null; createdAt?: string; creator?: { displayName?: string; id?: string; }; dueDate?: null; id?: string; identifier?: string; priority?: number; state?: { id?: string; name?: string; }; title?: string; }; export type LinearV1IssueCreateNode = { type: 'n8n-nodes-base.linear'; version: 1; credentials?: Credentials; config: NodeConfig<LinearV1IssueCreateParams>; output?: Items<LinearV1IssueCreateOutput>; };