Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Interface RootDocumentFetch

    The settled load-time fetch.

    interface RootDocumentFetch {
        outcomes: ReadonlyMap<"zarr.json" | ".zattrs", RootDocOutcome>;
        served:
            | {
                doc: "zarr.json"
                | ".zattrs";
                bytes: Uint8Array<ArrayBuffer>;
                etag: string | null;
            }
            | null;
        token(): Promise<RemoteValidationToken | null>;
        peekToken(): RemoteValidationToken | null | undefined;
    }
    Index
    outcomes: ReadonlyMap<"zarr.json" | ".zattrs", RootDocOutcome>

    Per-document outcome, in request order. A document never requested is absent.

    served:
        | {
            doc: "zarr.json"
            | ".zattrs";
            bytes: Uint8Array<ArrayBuffer>;
            etag: string | null;
        }
        | null

    The document that answered 2xx, or null when none did.