Files
metabuilder/workflow/plugins
johndoe6345789 23bbc42961 fix(workflow-hooks): Add TypeScript type definitions and fix compilation
- Added inline type definitions for WorkflowNode, WorkflowContext, ExecutionState, NodeResult, ValidationResult, and INodeExecutor
- Fixed execute() method to return proper NodeResult format with status field
- Implemented missing validate() method required by INodeExecutor interface
- Fixed tsconfig.json to not depend on non-existent root config
- All hook method signatures updated to accept generic state object
- TypeScript compilation now succeeds (0 errors)

This ensures the workflow hooks plugin is fully compatible with the workflow engine's type system.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-23 20:20:44 +00:00
..