AutoMovie API
    Preparing search index...

    Interface IModel<Name, Dimension>

    One axis's pick: the model's name, undefined when the variant has none on the axis, and its read figures.

    interface IModel<Name extends string, Dimension extends string> {
        figures: Readonly<Partial<Record<Dimension, number>>>;
        name: Name | undefined;
    }

    Type Parameters

    • Name extends string
    • Dimension extends string
    Index
    figures: Readonly<Partial<Record<Dimension, number>>>

    The model's read figures, by dimension; empty when it has none.

    name: Name | undefined

    The model's name; undefined when the variant has no models on the axis.