effect-io-ai

Package: effect
Module: ExecutionPlan

ExecutionPlan.make.PlanInput

Computes the combined input type consumed by a list of execution plans.

Signature

type PlanInput<Plans, Out> = Plans extends
    readonly [infer Plan, ...infer Rest] ?
    PlanInput<Rest, Out & (Plan extends ExecutionPlan<infer T> ? T["input"] : unknown)> :
    Out

Source

Since v3.16.0