UNPKG

@mastra/core

Version:
13 lines 806 B
import type { JsonSchema } from '../json-schema-to-zod.js'; import type { WorkflowRegistryIndex, WorkflowValidationInput, WorkflowValidationIssue } from './types.js'; export interface GraphSchemaInference { /** Output schema of each runtime-visible step id (undefined = unknown). */ stepOutputs: Map<string, JsonSchema | undefined>; /** Input schema reaching each evaluated graph path (undefined = unknown). */ entryInputs: Map<string, JsonSchema | undefined>; /** Inferred output of the last entry in the graph (undefined = unknown). */ finalOutput: JsonSchema | undefined; issues: WorkflowValidationIssue[]; } export declare function inferGraphSchemas(def: WorkflowValidationInput, index: WorkflowRegistryIndex): GraphSchemaInference; //# sourceMappingURL=schema-flow.d.ts.map