@bernierllc/temporal-workflow-ui
Version:
Thin domain-specific wrapper around @bernierllc/generic-workflow-ui for Temporal workflows
10 lines (9 loc) • 358 B
TypeScript
import { WorkflowJSONDefinition } from '@bernierllc/generic-workflow-ui';
import { TemporalWorkflow } from '../types';
/**
* Convert JSON definition (n8n-style) to Temporal workflow
*
* @param json - JSON workflow definition
* @returns Temporal workflow
*/
export declare function jsonToTemporalWorkflow(json: WorkflowJSONDefinition): TemporalWorkflow;