@bernierllc/generic-workflow-ui
Version:
Generic, reusable workflow UI components with linear and graph visualization
21 lines • 485 B
TypeScript
import { WorkflowJSONDefinition } from './workflow-json';
/**
* Validation error
*/
export interface ValidationError {
path: string;
message: string;
code: string;
}
/**
* Validation result
*/
export interface ValidationResult {
valid: boolean;
errors: ValidationError[];
}
/**
* Validate JSON workflow definition
*/
export declare function validateWorkflowJSON(json: WorkflowJSONDefinition): ValidationResult;
//# sourceMappingURL=workflow-validator.d.ts.map