n8n-nodes-base
Version:
Base nodes of n8n
44 lines (40 loc) • 1.34 kB
text/typescript
/**
* Microsoft Excel Node - Version 1
* Discriminator: resource=table, operation=addRow
*/
interface Credentials {
microsoftExcelOAuth2Api: CredentialReference;
}
/** Represents an Excel table */
export type MicrosoftExcelV1TableAddRowParams = {
resource: 'table';
operation: 'addRow';
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
workbook?: string | Expression<string>;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
worksheet?: string | Expression<string>;
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
table?: string | Expression<string>;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Specifies the relative position of the new row. If not defined, the addition happens at the end. Any rows below the inserted row are shifted downwards. Zero-indexed
* @default 0
*/
index?: number | Expression<number>;
};
};
export type MicrosoftExcelV1TableAddRowNode = {
type: 'n8n-nodes-base.microsoftExcel';
version: 1;
credentials?: Credentials;
config: NodeConfig<MicrosoftExcelV1TableAddRowParams>;
};