Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias PersistDocument

    How every persistence layer stores the values of one storage key, so any layer reads what another wrote and swapping layers keeps the data. It is the envelope zustand's persist middleware writes (which @practic/persist's persistLayer uses), around a values record, each value in the JSON form persistEncodeValue writes.

    type PersistDocument = {
        state: { values: PersistValues };
        version: number;
    }
    Index
    state: { values: PersistValues }
    version: number