n8n/packages/nodes-base/nodes/SeaTable/v2/SeaTableV2.node.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
600 B
TypeScript
Raw Normal View History

2023-10-25 17:20:43 -07:00
import type {
IExecuteFunctions,
INodeType,
INodeTypeDescription,
INodeTypeBaseDescription,
} from 'n8n-workflow';
2024-10-28 05:06:05 -07:00
import { router } from './actions/router';
import { versionDescription } from './actions/SeaTable.node';
2023-10-25 17:20:43 -07:00
import { loadOptions } from './methods';
export class SeaTableV2 implements INodeType {
description: INodeTypeDescription;
constructor(baseDescription: INodeTypeBaseDescription) {
this.description = {
...baseDescription,
...versionDescription,
};
}
methods = { loadOptions };
async execute(this: IExecuteFunctions) {
2024-06-26 04:16:20 -07:00
return await router.call(this);
2023-10-25 17:20:43 -07:00
}
}