UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

57 lines (53 loc) 1.71 kB
/** * Baserow Node - Version 1 * Discriminator: resource=row, operation=create */ interface Credentials { baserowApi: CredentialReference; } /** Create a row */ export type BaserowV1RowCreateParams = { resource: 'row'; operation: 'create'; /** * Database to operate on. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ databaseId?: string | Expression<string>; /** * Table to operate on. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ tableId?: string | Expression<string>; /** * Whether to insert the input data this node receives in the new row * @default defineBelow */ dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression<string>; /** * List of input properties to avoid sending, separated by commas. Leave empty to send all properties. * @displayOptions.show { dataToSend: ["autoMapInputData"] } */ inputsToIgnore?: string | Expression<string> | PlaceholderValue; /** * Fields to Send * @displayOptions.show { dataToSend: ["defineBelow"] } * @default {} */ fieldsUi?: { /** Field */ fieldValues?: Array<{ /** Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt; */ fieldId?: string | Expression<string>; /** Field Value */ fieldValue?: string | Expression<string> | PlaceholderValue; }>; }; }; export type BaserowV1RowCreateNode = { type: 'n8n-nodes-base.baserow'; version: 1; credentials?: Credentials; config: NodeConfig<BaserowV1RowCreateParams>; };