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

    Function normalizeZipEntries

    • Return entries keyed store-relative, stripping a single wrapping directory when the archive has one.

      Entry VALUES are returned untouched — only the record's keys change, which is all ZipFileStore looks at. The entry's own name still points at the real member, so reads keep working.

      Type Parameters

      • T

      Parameters

      • entries: Record<string, T>
      • archiveUrl: string

      Returns Record<string, T>

      If the archive holds no recognizable store, or more than one, since guessing between them would silently open the wrong data.