@nosto/search-js
    Preparing search index...

    Interface SwatchOption

    interface SwatchOption {
        selected?: boolean;
        skus: SearchProductSku[];
        unavailable?: boolean;
        value: string;
    }
    Index

    Properties

    selected?: boolean

    Indicates whether the option is selected.

    skus: SearchProductSku[]

    An array of full SKU objects associated with this option.

    unavailable?: boolean

    Indicates whether the option is unavailable.

    value: string

    The value of the swatch option (e.g., "Red", "L").