footprintjs - v11.2.0
    Preparing search index...

    Type Alias FlowChart<TOut, TScope>

    type FlowChart<TOut = any, TScope = any> = {
        buildTimeStructure: SerializedPipelineStructure;
        description: string;
        enableNarrative?: boolean;
        inputSchema?: unknown;
        logger?: ILogger;
        outputMapper?: (finalScope: Record<string, unknown>) => unknown;
        outputSchema?: unknown;
        root: StageNode<TOut, TScope>;
        scopeFactory?: ScopeFactory<TScope>;
        stageDescriptions: Map<string, string>;
        stageMap: Map<string, StageHandler<TOut, TScope>>;
        subflows?: Record<string, { root: StageNode<TOut, TScope> }>;
    }

    Type Parameters

    • TOut = any
    • TScope = any

    Hierarchy

    Index
    buildTimeStructure: SerializedPipelineStructure
    description: string
    enableNarrative?: boolean
    inputSchema?: unknown

    Input schema (Zod or JSON Schema) — declared via .contract().

    logger?: ILogger
    outputMapper?: (finalScope: Record<string, unknown>) => unknown

    Output mapper — extracts response from final scope.

    outputSchema?: unknown

    Output schema (Zod or JSON Schema) — declared via .contract().

    scopeFactory?: ScopeFactory<TScope>

    Scope factory — auto-embedded by flowChart(). Executor reads this if no factory param.

    stageDescriptions: Map<string, string>
    stageMap: Map<string, StageHandler<TOut, TScope>>
    subflows?: Record<string, { root: StageNode<TOut, TScope> }>