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

    Applied to OPFSStore on load() return. needsOrphanCleanup is true when the metadata file existed but didn't parse — caller should run cleanupOrphans to reclaim files that no longer have index entries.

    interface LoadOutcome {
        index: Map<string, { size: number; order: number }>;
        totalSize: number;
        orderCounter: number;
        contentHash: string | null;
        validationMode: CacheValidationMode;
        lastValidatedAt: number | null;
        needsOrphanCleanup: boolean;
    }
    Index
    index: Map<string, { size: number; order: number }>
    totalSize: number
    orderCounter: number
    contentHash: string | null
    validationMode: CacheValidationMode
    lastValidatedAt: number | null
    needsOrphanCleanup: boolean