n8n-nodes-base
Version:
Base nodes of n8n
45 lines (40 loc) • 1.52 kB
text/typescript
/**
* Coda Node - Version 1
* Discriminator: resource=table, operation=pushButton
*/
interface Credentials {
codaApi: CredentialReference;
}
/** Access data of tables in documents */
export type CodaV1TablePushButtonParams = {
resource: 'table';
operation: 'pushButton';
/**
* ID of the doc. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
docId?: string | Expression<string>;
/**
* The table to get the row from. 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 or name of the row. Names are discouraged because they're easily prone to being changed by users. If you're using a name, be sure to URI-encode it. If there are multiple rows with the same value in the identifying column, an arbitrary one will be selected
*/
rowId?: string | Expression<string> | PlaceholderValue;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
columnId?: string | Expression<string>;
};
export type CodaV1TablePushButtonOutput = {
columnId?: string;
requestId?: string;
rowId?: string;
};
export type CodaV1TablePushButtonNode = {
type: 'n8n-nodes-base.coda';
version: 1;
credentials?: Credentials;
config: NodeConfig<CodaV1TablePushButtonParams>;
output?: Items<CodaV1TablePushButtonOutput>;
};