mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
28 lines
600 B
TypeScript
28 lines
600 B
TypeScript
import type {
|
|
IExecuteFunctions,
|
|
INodeType,
|
|
INodeTypeDescription,
|
|
INodeTypeBaseDescription,
|
|
} from 'n8n-workflow';
|
|
|
|
import { router } from './actions/router';
|
|
import { versionDescription } from './actions/SeaTable.node';
|
|
import { loadOptions } from './methods';
|
|
|
|
export class SeaTableV2 implements INodeType {
|
|
description: INodeTypeDescription;
|
|
|
|
constructor(baseDescription: INodeTypeBaseDescription) {
|
|
this.description = {
|
|
...baseDescription,
|
|
...versionDescription,
|
|
};
|
|
}
|
|
|
|
methods = { loadOptions };
|
|
|
|
async execute(this: IExecuteFunctions) {
|
|
return await router.call(this);
|
|
}
|
|
}
|