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

    Interface SwatchField

    interface SwatchField {
        field: string;
        options: SwatchOption[];
    }
    Index

    Properties

    Properties

    field: string

    The name of the field (e.g., "color", "size").

    options: SwatchOption[]

    An array of swatch options for this field.