mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: (Google Sheets Trigger Node): Trigger for Google Sheets
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { IDataObject, NodeOperationError } from 'n8n-workflow';
|
||||
import { IDataObject, IPollFunctions, NodeOperationError } from 'n8n-workflow';
|
||||
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
||||
import { apiRequest } from '../transport';
|
||||
import { utils as xlsxUtils } from 'xlsx';
|
||||
@@ -17,9 +17,12 @@ import { removeEmptyColumns } from './GoogleSheets.utils';
|
||||
export class GoogleSheet {
|
||||
id: string;
|
||||
|
||||
executeFunctions: IExecuteFunctions | ILoadOptionsFunctions;
|
||||
executeFunctions: IExecuteFunctions | ILoadOptionsFunctions | IPollFunctions;
|
||||
|
||||
constructor(spreadsheetId: string, executeFunctions: IExecuteFunctions | ILoadOptionsFunctions) {
|
||||
constructor(
|
||||
spreadsheetId: string,
|
||||
executeFunctions: IExecuteFunctions | ILoadOptionsFunctions | IPollFunctions,
|
||||
) {
|
||||
this.executeFunctions = executeFunctions;
|
||||
this.id = spreadsheetId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user