@drupflare/spool - v0.1.0
    Preparing search index...

    Type Alias SyncResponse

    the body of /.spool/sync

    type SyncResponse = {
        changed: Record<string, number>;
        cursor: number;
        dropped: string[];
        partial?: boolean;
        protocol: typeof PROTOCOL_VERSION;
        reset: boolean;
    }
    Index
    changed: Record<string, number>

    tag to the vector version of its last change

    cursor: number
    dropped: string[]

    artifact ids the server dropped outright

    partial?: boolean

    answers a need request: changed covers only the ids asked about and the cursor is not the holder's to take

    protocol: typeof PROTOCOL_VERSION
    reset: boolean

    the server's vector is behind the asked-for cursor: drop everything held