CML
    Preparing search index...

    Type Alias CmcdDecodeOptions

    Options for decoding CMCD data.

    type CmcdDecodeOptions = {
        convertToLatest?: boolean;
    }
    Index

    Properties

    Properties

    convertToLatest?: boolean

    When true, up-converts version 1 data to version 2 format by wrapping scalar values in arrays for inner-list keys (e.g., bl, br, mtp).

    This ensures a consistent data shape regardless of the source version, mirroring the down-conversion that occurs during encoding.

    false