-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi there, first thing first, I somehow stumbled upon your library, and man oh man, it's exactly what I need for my project. So thank you so much for putting time and effort into this library.
I noticed the NodeFunction does not have the nodeId passed to the arguments like NodeClass. Is it intentional? If not, I'm happy to submit a PR to patch it.
no
nodeIdin NodeFunction argument
type NodeFunction<
TContext = Record<string, any>,
TDependencies = RuntimeDependencies,
TInput = any,
TOutput = any,
TAction extends string = string,
> = (context: NodeContext<TContext, TDependencies, TInput>) => Promise<NodeResult<TOutput, TAction>>
nodeIdin NodeClass constructor
type NodeClass<
TContext = Record<string, any>,
TDependencies = RuntimeDependencies,
TInput = any,
TOutput = any,
TAction extends string = string,
> = new (params?: Record<string, any>, nodeId?: string) => BaseNode<TContext, TDependencies, TInput, TOutput, TAction>Cheers,
Ken
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels