2023-07-03 05:01:01 -07:00
|
|
|
import type {
|
|
|
|
IExecuteFunctions,
|
|
|
|
INodeType,
|
|
|
|
INodeTypeBaseDescription,
|
|
|
|
INodeTypeDescription,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
import { versionDescription } from './actions/versionDescription';
|
|
|
|
import { router } from './actions/router';
|
|
|
|
|
|
|
|
export class ItemListsV3 implements INodeType {
|
|
|
|
description: INodeTypeDescription;
|
|
|
|
|
|
|
|
constructor(baseDescription: INodeTypeBaseDescription) {
|
|
|
|
this.description = {
|
|
|
|
...baseDescription,
|
|
|
|
...versionDescription,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
async execute(this: IExecuteFunctions) {
|
2024-01-17 07:08:50 -08:00
|
|
|
return await router.call(this);
|
2023-07-03 05:01:01 -07:00
|
|
|
}
|
|
|
|
}
|