mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 09:04:07 -08:00
18 lines
437 B
TypeScript
18 lines
437 B
TypeScript
import type { IExecuteFunctions, INodeType } from 'n8n-workflow';
|
|
import { router } from './actions/router';
|
|
import { versionDescription } from './actions/versionDescription';
|
|
import { listSearch, loadOptions } from './methods';
|
|
|
|
export class OpenAi implements INodeType {
|
|
description = versionDescription;
|
|
|
|
methods = {
|
|
listSearch,
|
|
loadOptions,
|
|
};
|
|
|
|
async execute(this: IExecuteFunctions) {
|
|
return await router.call(this);
|
|
}
|
|
}
|