/** * NocoDB Node - Version 3 * Discriminator: resource=row, operation=update */ interface Credentials { nocoDb: CredentialReference; nocoDbApiToken: CredentialReference; } /** Update a row */ export type NocoDbV3RowUpdateParams = { resource: 'row'; operation: 'update'; authentication?: 'nocoDbApiToken' | 'nocoDb' | Expression; /** * API Version * @default 3 */ version?: 1 | 2 | 3 | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @displayOptions.show { version: [3] } * @default none */ workspaceId?: string | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @displayOptions.show { version: [3, 1, 2] } */ projectId?: string | Expression; /** * The table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @displayOptions.show { version: [2, 3, 1] } */ table?: string | Expression; /** * Primary Key Type * @displayOptions.show { version: [1, 2, 3] } * @default id */ primaryKey?: 'id' | 'ncRecordId' | 'custom' | Expression; /** * Field Name * @displayOptions.show { version: [1, 2, 3], primaryKey: ["custom"] } */ customPrimaryKey?: string | Expression | PlaceholderValue; /** * The value of the ID field * @displayOptions.show { version: [1, 2, 3] } */ id?: string | Expression | PlaceholderValue; /** * Whether to insert the input data this node receives in the new row * @default defineBelow */ dataToSend?: 'autoMapInputData' | 'defineBelow' | Expression; /** * List of input properties to avoid sending, separated by commas. Leave empty to send all properties. * @displayOptions.show { dataToSend: ["autoMapInputData"] } */ inputsToIgnore?: string | Expression | PlaceholderValue; /** * Fields to Send * @displayOptions.show { dataToSend: ["defineBelow"] } * @default {} */ fieldsUi?: { /** Field */ fieldValues?: Array<{ /** Field Name */ fieldName?: string | Expression | PlaceholderValue; /** Whether the field data to set is binary and should be taken from a binary property * @default false */ binaryData?: boolean | Expression; /** Field Value * @displayOptions.show { binaryData: [false] } */ fieldValue?: string | Expression | PlaceholderValue; /** The field containing the binary file data to be uploaded * @displayOptions.show { binaryData: [true] } */ binaryProperty?: string | Expression | PlaceholderValue; }>; }; }; export type NocoDbV3RowUpdateNode = { type: 'n8n-nodes-base.nocoDb'; version: 3; credentials?: Credentials; config: NodeConfig; };