n8n/packages/nodes-base/nodes/Microsoft/Outlook/v2/MicrosoftOutlookV2.node.ts

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

28 lines
615 B
TypeScript
Raw Normal View History

import type {
IExecuteFunctions,
INodeType,
INodeTypeBaseDescription,
INodeTypeDescription,
} from 'n8n-workflow';
import { loadOptions, listSearch } from './methods';
import { description } from './actions/node.description';
import { router } from './actions/router';
export class MicrosoftOutlookV2 implements INodeType {
description: INodeTypeDescription;
constructor(baseDescription: INodeTypeBaseDescription) {
this.description = {
...baseDescription,
...description,
};
}
methods = { loadOptions, listSearch };
async execute(this: IExecuteFunctions) {
return router.call(this);
}
}