AutoMovie API
    Preparing search index...

    Type Alias IAutoMovieInstanceSetPlacement

    IAutoMovieInstanceSetPlacement: Pick<
        IAutoMovieCompiledInstanceSet,
        | "id"
        | "count"
        | "model"
        | "layout"
        | "route"
        | "anchor"
        | "facingDeg"
        | "seed"
        | "variation",
    > & {
        prototypes?: readonly Pick<
            IAutoMovieCompiledInstancePrototype,
            "id"
            | "model"
            | "weight",
        >[];
    }

    What an instance set needs to regenerate one of its members.

    A compiled instance set is already one, which is what lets every consumer regenerate a member from the record the builder wrote. A design record is not: its route is a name the world resolves, and its prototype table leaves out the default its base model stands for. A caller holding a design resolves both before asking, so there is one member law rather than one per record shape, and the default is counted once.

    Type Declaration

    • Optionalprototypes?: readonly Pick<IAutoMovieCompiledInstancePrototype, "id" | "model" | "weight">[]

      Complete weighted prototype choices with the default first, or absent when the base model is the only choice.

      This is the compiled convention rather than the design one. A design's table omits the default and a compiled set's includes it, so a caller holding a design prepends { id: "default", model, weight: 1 } before asking.