@bernierllc/temporal-workflow-ui
Version:
Thin domain-specific wrapper around @bernierllc/generic-workflow-ui for Temporal workflows
10 lines (9 loc) • 360 B
TypeScript
import { GenericWorkflow } from '@bernierllc/generic-workflow-ui';
import { TemporalWorkflow } from '../types';
/**
* Convert Temporal workflow to Generic workflow
*
* @param temporal - Temporal workflow definition
* @returns Generic workflow definition
*/
export declare function temporalToGeneric(temporal: TemporalWorkflow): GenericWorkflow<any, any>;