UNPKG

maniiifest

Version:

Typesafe IIIF presentation v3 manifest and collection parsing without external dependencies

23 lines (22 loc) 856 B
"use strict"; /** * Public-facing types for IIIF Presentation API v3. * * These types are automatically generated from specification.ts with * discriminated union structures flattened to represent post-adapter data. * * Key transformations: * - Discriminated unions: { kind: 'T1', value: TypeT } becomes TypeT * - Type references: TypeT becomes Type (remove 'T' suffix) * - Structure preserved: Same properties and relationships as specification.ts * * ⚠️ AUTO-GENERATED FILE - DO NOT EDIT MANUALLY * Generated by: npm run generate-public-types * Source: src/specification.ts (with discriminated unions flattened) * * To regenerate after ATD changes: * 1. Update specification.atd * 2. Regenerate specification.ts with atdgen * 3. Run: npm run generate-public-types */ Object.defineProperty(exports, "__esModule", { value: true });