mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(TheHive Node): Overhaul (#6457)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import type { IExecuteFunctions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
||||
|
||||
import { description } from './actions/node.description';
|
||||
import { router } from './actions/router';
|
||||
import { loadOptions, listSearch, resourceMapping } from './methods';
|
||||
|
||||
export class TheHiveProject implements INodeType {
|
||||
description: INodeTypeDescription = description;
|
||||
|
||||
methods = { loadOptions, listSearch, resourceMapping };
|
||||
|
||||
async execute(this: IExecuteFunctions) {
|
||||
return router.call(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user