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';
|
2024-06-14 06:25:15 -07:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|