mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(SeaTable Node): Update node with new options (#11431)
This commit is contained in:
27
packages/nodes-base/nodes/SeaTable/v2/SeaTableV2.node.ts
Normal file
27
packages/nodes-base/nodes/SeaTable/v2/SeaTableV2.node.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user