mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
* 👕 Enable `consistent-type-imports` for nodes-base * 👕 Apply to nodes-base * ⏪ Undo unrelated changes * 🚚 Move to `.eslintrc.js` in nodes-base * ⏪ Revert "Enable `consistent-type-imports` for nodes-base" This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c. * 👕 Fix severity
27 lines
693 B
TypeScript
27 lines
693 B
TypeScript
import type { IExecuteFunctions } from 'n8n-core';
|
|
import type { INodeType, INodeTypeBaseDescription, INodeTypeDescription } from 'n8n-workflow';
|
|
import { versionDescription } from './actions/versionDescription';
|
|
import { credentialTest, listSearch, loadOptions } from './methods';
|
|
import { router } from './actions/router';
|
|
|
|
export class GoogleSheetsV2 implements INodeType {
|
|
description: INodeTypeDescription;
|
|
|
|
constructor(baseDescription: INodeTypeBaseDescription) {
|
|
this.description = {
|
|
...baseDescription,
|
|
...versionDescription,
|
|
};
|
|
}
|
|
|
|
methods = {
|
|
loadOptions,
|
|
credentialTest,
|
|
listSearch,
|
|
};
|
|
|
|
async execute(this: IExecuteFunctions) {
|
|
return router.call(this);
|
|
}
|
|
}
|