UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

43 lines (39 loc) 1.29 kB
/** * Coda Node - Version 1 * Discriminator: resource=table, operation=createRow */ interface Credentials { codaApi: CredentialReference; } /** Access data of tables in documents */ export type CodaV1TableCreateRowParams = { resource: 'table'; operation: 'createRow'; /** * ID of the doc. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;. */ docId?: string | Expression<string>; /** * The table to create the row in. 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>; /** * Options * @default {} */ options?: { /** Whether the API will not attempt to parse the data in any way * @default false */ disableParsing?: boolean | Expression<boolean>; /** Optional column IDs, URLs, or names (fragile and discouraged), specifying columns to be used as upsert keys. If more than one separate by a comma (,). */ keyColumns?: string | Expression<string> | PlaceholderValue; }; }; export type CodaV1TableCreateRowNode = { type: 'n8n-nodes-base.coda'; version: 1; credentials?: Credentials; config: NodeConfig<CodaV1TableCreateRowParams>; };