n8n-nodes-base
Version:
Base nodes of n8n
61 lines (57 loc) • 1.8 kB
text/typescript
/**
* Baserow Node - Version 1
* Discriminator: resource=row, operation=update
*/
interface Credentials {
baserowApi: CredentialReference;
}
/** Update a row */
export type BaserowV1RowUpdateParams = {
resource: 'row';
operation: 'update';
/**
* Database to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
databaseId?: string | Expression<string>;
/**
* Table to operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
tableId?: string | Expression<string>;
/**
* ID of the row to update
*/
rowId?: string | Expression<string> | PlaceholderValue;
/**
* 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 <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
fieldId?: string | Expression<string>;
/** Field Value
*/
fieldValue?: string | Expression<string> | PlaceholderValue;
}>;
};
};
export type BaserowV1RowUpdateNode = {
type: 'n8n-nodes-base.baserow';
version: 1;
credentials?: Credentials;
config: NodeConfig<BaserowV1RowUpdateParams>;
};