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

    Type Alias RootDocOutcome

    RootDocOutcome:
        | { kind: "ok"; bytes: Uint8Array<ArrayBuffer>; etag: string | null }
        | { kind: "missing" }
        | { kind: "error" }

    What the server said about one root document.

    Type Declaration

    • { kind: "ok"; bytes: Uint8Array<ArrayBuffer>; etag: string | null }
    • { kind: "missing" }

      A definitive "not here" (404, or the 403/410 a bucket answers for a missing key).

    • { kind: "error" }

      Anything else — a 5xx, or retries exhausted. Says nothing about the document.