epub-codec 1.3.4 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
147
147
  paragraph: z.ZodOptional<z.ZodObject<{
148
148
  alignment: z.ZodOptional<z.ZodEnum<{
149
149
  left: "left";
150
- center: "center";
151
150
  right: "right";
151
+ center: "center";
152
152
  justify: "justify";
153
153
  }>>;
154
154
  list: z.ZodOptional<z.ZodObject<{
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
296
296
  paragraph: z.ZodOptional<z.ZodObject<{
297
297
  alignment: z.ZodOptional<z.ZodEnum<{
298
298
  left: "left";
299
- center: "center";
300
299
  right: "right";
300
+ center: "center";
301
301
  justify: "justify";
302
302
  }>>;
303
303
  list: z.ZodOptional<z.ZodObject<{
@@ -436,6 +436,11 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
436
436
  }, z.core.$strip>;
437
437
  kind: z.ZodLiteral<"presentation">;
438
438
  }, z.core.$strip>, z.ZodObject<{
439
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
440
+ name: z.ZodString;
441
+ refersTo: z.ZodString;
442
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
443
+ }, z.core.$strip>>>;
439
444
  children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
440
445
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
441
446
  widthPt: z.ZodNumber;
@@ -445,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
445
450
  paragraph: z.ZodOptional<z.ZodObject<{
446
451
  alignment: z.ZodOptional<z.ZodEnum<{
447
452
  left: "left";
448
- center: "center";
449
453
  right: "right";
454
+ center: "center";
450
455
  justify: "justify";
451
456
  }>>;
452
457
  list: z.ZodOptional<z.ZodObject<{
@@ -594,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
594
599
  paragraph: z.ZodOptional<z.ZodObject<{
595
600
  alignment: z.ZodOptional<z.ZodEnum<{
596
601
  left: "left";
597
- center: "center";
598
602
  right: "right";
603
+ center: "center";
599
604
  justify: "justify";
600
605
  }>>;
601
606
  list: z.ZodOptional<z.ZodObject<{
@@ -775,8 +780,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
775
780
  paragraph: z.ZodOptional<z.ZodObject<{
776
781
  alignment: z.ZodOptional<z.ZodEnum<{
777
782
  left: "left";
778
- center: "center";
779
783
  right: "right";
784
+ center: "center";
780
785
  justify: "justify";
781
786
  }>>;
782
787
  list: z.ZodOptional<z.ZodObject<{
@@ -1216,8 +1221,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1216
1221
  formula: z.ZodOptional<z.ZodString>;
1217
1222
  displayText: z.ZodString;
1218
1223
  numberFormatCode: z.ZodOptional<z.ZodString>;
1219
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1220
- text: z.ZodString;
1224
+ font: z.ZodOptional<z.ZodObject<{
1221
1225
  bold: z.ZodOptional<z.ZodBoolean>;
1222
1226
  italic: z.ZodOptional<z.ZodBoolean>;
1223
1227
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -1229,6 +1233,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1229
1233
  g: z.ZodNumber;
1230
1234
  b: z.ZodNumber;
1231
1235
  }, z.core.$strip>>;
1236
+ }, z.core.$strip>>;
1237
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
1238
  hyperlink: z.ZodOptional<z.ZodString>;
1233
1239
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1234
1240
  superscript: "superscript";
@@ -1266,6 +1272,18 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1266
1272
  widthPt: z.ZodNumber;
1267
1273
  heightPt: z.ZodNumber;
1268
1274
  }, z.core.$strip>>>;
1275
+ bold: z.ZodOptional<z.ZodBoolean>;
1276
+ italic: z.ZodOptional<z.ZodBoolean>;
1277
+ underline: z.ZodOptional<z.ZodBoolean>;
1278
+ strike: z.ZodOptional<z.ZodBoolean>;
1279
+ fontFamily: z.ZodOptional<z.ZodString>;
1280
+ sizePt: z.ZodOptional<z.ZodNumber>;
1281
+ color: z.ZodOptional<z.ZodObject<{
1282
+ r: z.ZodNumber;
1283
+ g: z.ZodNumber;
1284
+ b: z.ZodNumber;
1285
+ }, z.core.$strip>>;
1286
+ text: z.ZodString;
1269
1287
  }, z.core.$strip>>>;
1270
1288
  colSpan: z.ZodOptional<z.ZodNumber>;
1271
1289
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -1431,8 +1449,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1431
1449
  }, z.core.$strip>>;
1432
1450
  alignment: z.ZodOptional<z.ZodEnum<{
1433
1451
  left: "left";
1434
- center: "center";
1435
1452
  right: "right";
1453
+ center: "center";
1436
1454
  justify: "justify";
1437
1455
  }>>;
1438
1456
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1500,6 +1518,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1500
1518
  widthPt: z.ZodNumber;
1501
1519
  heightPt: z.ZodNumber;
1502
1520
  altText: z.ZodOptional<z.ZodString>;
1521
+ original: z.ZodOptional<z.ZodObject<{
1522
+ filter: z.ZodEnum<{
1523
+ jbig2: "jbig2";
1524
+ jpeg2000: "jpeg2000";
1525
+ }>;
1526
+ base64: z.ZodString;
1527
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
1528
+ }, z.core.$strip>>;
1503
1529
  floatPosition: z.ZodOptional<z.ZodObject<{
1504
1530
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1505
1531
  relativeTo: z.ZodEnum<{
@@ -1536,10 +1562,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1536
1562
  }>;
1537
1563
  align: z.ZodEnum<{
1538
1564
  left: "left";
1539
- center: "center";
1540
1565
  right: "right";
1541
1566
  top: "top";
1542
1567
  bottom: "bottom";
1568
+ center: "center";
1543
1569
  inside: "inside";
1544
1570
  outside: "outside";
1545
1571
  }>;
@@ -1579,10 +1605,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1579
1605
  }>;
1580
1606
  align: z.ZodEnum<{
1581
1607
  left: "left";
1582
- center: "center";
1583
1608
  right: "right";
1584
1609
  top: "top";
1585
1610
  bottom: "bottom";
1611
+ center: "center";
1586
1612
  inside: "inside";
1587
1613
  outside: "outside";
1588
1614
  }>;
@@ -1671,10 +1697,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1671
1697
  endColumn: z.ZodNumber;
1672
1698
  }, z.core.$strip>>;
1673
1699
  type: z.ZodEnum<{
1674
- decimal: "decimal";
1675
- list: "list";
1676
1700
  date: "date";
1677
1701
  custom: "custom";
1702
+ decimal: "decimal";
1703
+ list: "list";
1678
1704
  time: "time";
1679
1705
  whole: "whole";
1680
1706
  textLength: "textLength";
@@ -2146,11 +2172,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2146
2172
  stops: z.ZodArray<z.ZodObject<{
2147
2173
  value: z.ZodObject<{
2148
2174
  type: z.ZodEnum<{
2149
- num: "num";
2150
- min: "min";
2151
- max: "max";
2152
2175
  formula: "formula";
2153
2176
  percent: "percent";
2177
+ num: "num";
2178
+ max: "max";
2179
+ min: "min";
2154
2180
  percentile: "percentile";
2155
2181
  }>;
2156
2182
  value: z.ZodOptional<z.ZodString>;
@@ -2193,22 +2219,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2193
2219
  }, z.core.$strip>, z.ZodObject<{
2194
2220
  min: z.ZodObject<{
2195
2221
  type: z.ZodEnum<{
2196
- num: "num";
2197
- min: "min";
2198
- max: "max";
2199
2222
  formula: "formula";
2200
2223
  percent: "percent";
2224
+ num: "num";
2225
+ max: "max";
2226
+ min: "min";
2201
2227
  percentile: "percentile";
2202
2228
  }>;
2203
2229
  value: z.ZodOptional<z.ZodString>;
2204
2230
  }, z.core.$strip>;
2205
2231
  max: z.ZodObject<{
2206
2232
  type: z.ZodEnum<{
2207
- num: "num";
2208
- min: "min";
2209
- max: "max";
2210
2233
  formula: "formula";
2211
2234
  percent: "percent";
2235
+ num: "num";
2236
+ max: "max";
2237
+ min: "min";
2212
2238
  percentile: "percentile";
2213
2239
  }>;
2214
2240
  value: z.ZodOptional<z.ZodString>;
@@ -2252,11 +2278,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2252
2278
  iconSetType: z.ZodString;
2253
2279
  thresholds: z.ZodArray<z.ZodObject<{
2254
2280
  type: z.ZodEnum<{
2255
- num: "num";
2256
- min: "min";
2257
- max: "max";
2258
2281
  formula: "formula";
2259
2282
  percent: "percent";
2283
+ num: "num";
2284
+ max: "max";
2285
+ min: "min";
2260
2286
  percentile: "percentile";
2261
2287
  }>;
2262
2288
  value: z.ZodOptional<z.ZodString>;
@@ -2314,6 +2340,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2314
2340
  xml: z.ZodString;
2315
2341
  }, z.core.$strict>>;
2316
2342
  }, z.core.$strip>>;
2343
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
2344
+ name: z.ZodString;
2345
+ refersTo: z.ZodString;
2346
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
2347
+ }, z.core.$strip>>>;
2317
2348
  symbolTable: z.ZodOptional<z.ZodObject<{
2318
2349
  symbols: z.ZodArray<z.ZodObject<{
2319
2350
  glyph: z.ZodString;
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
147
147
  paragraph: z.ZodOptional<z.ZodObject<{
148
148
  alignment: z.ZodOptional<z.ZodEnum<{
149
149
  left: "left";
150
- center: "center";
151
150
  right: "right";
151
+ center: "center";
152
152
  justify: "justify";
153
153
  }>>;
154
154
  list: z.ZodOptional<z.ZodObject<{
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
296
296
  paragraph: z.ZodOptional<z.ZodObject<{
297
297
  alignment: z.ZodOptional<z.ZodEnum<{
298
298
  left: "left";
299
- center: "center";
300
299
  right: "right";
300
+ center: "center";
301
301
  justify: "justify";
302
302
  }>>;
303
303
  list: z.ZodOptional<z.ZodObject<{
@@ -436,6 +436,11 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
436
436
  }, z.core.$strip>;
437
437
  kind: z.ZodLiteral<"presentation">;
438
438
  }, z.core.$strip>, z.ZodObject<{
439
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
440
+ name: z.ZodString;
441
+ refersTo: z.ZodString;
442
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
443
+ }, z.core.$strip>>>;
439
444
  children: z.ZodArray<z.ZodCustom<import("document-schema.js").SheetGroupNode, import("document-schema.js").SheetGroupNode>>;
440
445
  pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
441
446
  widthPt: z.ZodNumber;
@@ -445,8 +450,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
445
450
  paragraph: z.ZodOptional<z.ZodObject<{
446
451
  alignment: z.ZodOptional<z.ZodEnum<{
447
452
  left: "left";
448
- center: "center";
449
453
  right: "right";
454
+ center: "center";
450
455
  justify: "justify";
451
456
  }>>;
452
457
  list: z.ZodOptional<z.ZodObject<{
@@ -594,8 +599,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
594
599
  paragraph: z.ZodOptional<z.ZodObject<{
595
600
  alignment: z.ZodOptional<z.ZodEnum<{
596
601
  left: "left";
597
- center: "center";
598
602
  right: "right";
603
+ center: "center";
599
604
  justify: "justify";
600
605
  }>>;
601
606
  list: z.ZodOptional<z.ZodObject<{
@@ -775,8 +780,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
775
780
  paragraph: z.ZodOptional<z.ZodObject<{
776
781
  alignment: z.ZodOptional<z.ZodEnum<{
777
782
  left: "left";
778
- center: "center";
779
783
  right: "right";
784
+ center: "center";
780
785
  justify: "justify";
781
786
  }>>;
782
787
  list: z.ZodOptional<z.ZodObject<{
@@ -1216,8 +1221,7 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1216
1221
  formula: z.ZodOptional<z.ZodString>;
1217
1222
  displayText: z.ZodString;
1218
1223
  numberFormatCode: z.ZodOptional<z.ZodString>;
1219
- runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1220
- text: z.ZodString;
1224
+ font: z.ZodOptional<z.ZodObject<{
1221
1225
  bold: z.ZodOptional<z.ZodBoolean>;
1222
1226
  italic: z.ZodOptional<z.ZodBoolean>;
1223
1227
  underline: z.ZodOptional<z.ZodBoolean>;
@@ -1229,6 +1233,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1229
1233
  g: z.ZodNumber;
1230
1234
  b: z.ZodNumber;
1231
1235
  }, z.core.$strip>>;
1236
+ }, z.core.$strip>>;
1237
+ runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
1238
  hyperlink: z.ZodOptional<z.ZodString>;
1233
1239
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1234
1240
  superscript: "superscript";
@@ -1266,6 +1272,18 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1266
1272
  widthPt: z.ZodNumber;
1267
1273
  heightPt: z.ZodNumber;
1268
1274
  }, z.core.$strip>>>;
1275
+ bold: z.ZodOptional<z.ZodBoolean>;
1276
+ italic: z.ZodOptional<z.ZodBoolean>;
1277
+ underline: z.ZodOptional<z.ZodBoolean>;
1278
+ strike: z.ZodOptional<z.ZodBoolean>;
1279
+ fontFamily: z.ZodOptional<z.ZodString>;
1280
+ sizePt: z.ZodOptional<z.ZodNumber>;
1281
+ color: z.ZodOptional<z.ZodObject<{
1282
+ r: z.ZodNumber;
1283
+ g: z.ZodNumber;
1284
+ b: z.ZodNumber;
1285
+ }, z.core.$strip>>;
1286
+ text: z.ZodString;
1269
1287
  }, z.core.$strip>>>;
1270
1288
  colSpan: z.ZodOptional<z.ZodNumber>;
1271
1289
  rowSpan: z.ZodOptional<z.ZodNumber>;
@@ -1431,8 +1449,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1431
1449
  }, z.core.$strip>>;
1432
1450
  alignment: z.ZodOptional<z.ZodEnum<{
1433
1451
  left: "left";
1434
- center: "center";
1435
1452
  right: "right";
1453
+ center: "center";
1436
1454
  justify: "justify";
1437
1455
  }>>;
1438
1456
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1500,6 +1518,14 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1500
1518
  widthPt: z.ZodNumber;
1501
1519
  heightPt: z.ZodNumber;
1502
1520
  altText: z.ZodOptional<z.ZodString>;
1521
+ original: z.ZodOptional<z.ZodObject<{
1522
+ filter: z.ZodEnum<{
1523
+ jbig2: "jbig2";
1524
+ jpeg2000: "jpeg2000";
1525
+ }>;
1526
+ base64: z.ZodString;
1527
+ jbig2GlobalsBase64: z.ZodOptional<z.ZodString>;
1528
+ }, z.core.$strip>>;
1503
1529
  floatPosition: z.ZodOptional<z.ZodObject<{
1504
1530
  horizontal: z.ZodUnion<readonly [z.ZodObject<{
1505
1531
  relativeTo: z.ZodEnum<{
@@ -1536,10 +1562,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1536
1562
  }>;
1537
1563
  align: z.ZodEnum<{
1538
1564
  left: "left";
1539
- center: "center";
1540
1565
  right: "right";
1541
1566
  top: "top";
1542
1567
  bottom: "bottom";
1568
+ center: "center";
1543
1569
  inside: "inside";
1544
1570
  outside: "outside";
1545
1571
  }>;
@@ -1579,10 +1605,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1579
1605
  }>;
1580
1606
  align: z.ZodEnum<{
1581
1607
  left: "left";
1582
- center: "center";
1583
1608
  right: "right";
1584
1609
  top: "top";
1585
1610
  bottom: "bottom";
1611
+ center: "center";
1586
1612
  inside: "inside";
1587
1613
  outside: "outside";
1588
1614
  }>;
@@ -1671,10 +1697,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
1671
1697
  endColumn: z.ZodNumber;
1672
1698
  }, z.core.$strip>>;
1673
1699
  type: z.ZodEnum<{
1674
- decimal: "decimal";
1675
- list: "list";
1676
1700
  date: "date";
1677
1701
  custom: "custom";
1702
+ decimal: "decimal";
1703
+ list: "list";
1678
1704
  time: "time";
1679
1705
  whole: "whole";
1680
1706
  textLength: "textLength";
@@ -2146,11 +2172,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2146
2172
  stops: z.ZodArray<z.ZodObject<{
2147
2173
  value: z.ZodObject<{
2148
2174
  type: z.ZodEnum<{
2149
- num: "num";
2150
- min: "min";
2151
- max: "max";
2152
2175
  formula: "formula";
2153
2176
  percent: "percent";
2177
+ num: "num";
2178
+ max: "max";
2179
+ min: "min";
2154
2180
  percentile: "percentile";
2155
2181
  }>;
2156
2182
  value: z.ZodOptional<z.ZodString>;
@@ -2193,22 +2219,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2193
2219
  }, z.core.$strip>, z.ZodObject<{
2194
2220
  min: z.ZodObject<{
2195
2221
  type: z.ZodEnum<{
2196
- num: "num";
2197
- min: "min";
2198
- max: "max";
2199
2222
  formula: "formula";
2200
2223
  percent: "percent";
2224
+ num: "num";
2225
+ max: "max";
2226
+ min: "min";
2201
2227
  percentile: "percentile";
2202
2228
  }>;
2203
2229
  value: z.ZodOptional<z.ZodString>;
2204
2230
  }, z.core.$strip>;
2205
2231
  max: z.ZodObject<{
2206
2232
  type: z.ZodEnum<{
2207
- num: "num";
2208
- min: "min";
2209
- max: "max";
2210
2233
  formula: "formula";
2211
2234
  percent: "percent";
2235
+ num: "num";
2236
+ max: "max";
2237
+ min: "min";
2212
2238
  percentile: "percentile";
2213
2239
  }>;
2214
2240
  value: z.ZodOptional<z.ZodString>;
@@ -2252,11 +2278,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2252
2278
  iconSetType: z.ZodString;
2253
2279
  thresholds: z.ZodArray<z.ZodObject<{
2254
2280
  type: z.ZodEnum<{
2255
- num: "num";
2256
- min: "min";
2257
- max: "max";
2258
2281
  formula: "formula";
2259
2282
  percent: "percent";
2283
+ num: "num";
2284
+ max: "max";
2285
+ min: "min";
2260
2286
  percentile: "percentile";
2261
2287
  }>;
2262
2288
  value: z.ZodOptional<z.ZodString>;
@@ -2314,6 +2340,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
2314
2340
  xml: z.ZodString;
2315
2341
  }, z.core.$strict>>;
2316
2342
  }, z.core.$strip>>;
2343
+ names: z.ZodOptional<z.ZodArray<z.ZodObject<{
2344
+ name: z.ZodString;
2345
+ refersTo: z.ZodString;
2346
+ scopeSheetIndex: z.ZodOptional<z.ZodNumber>;
2347
+ }, z.core.$strip>>>;
2317
2348
  symbolTable: z.ZodOptional<z.ZodObject<{
2318
2349
  symbols: z.ZodArray<z.ZodObject<{
2319
2350
  glyph: z.ZodString;
package/dist/codec.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-C1FolPcb.cjs";
1
+ import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-D1d9aS27.cjs";
2
2
  export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
package/dist/codec.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-DjqeU3E2.js";
1
+ import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-CPAZbRZe.js";
2
2
  export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.cjs";
2
2
  import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.cjs";
3
- import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-C1FolPcb.cjs";
3
+ import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-D1d9aS27.cjs";
4
4
  import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.cjs";
5
5
  import { t as resolveOpfPath } from "./container-B6cHHiY9.cjs";
6
6
  import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.cjs";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.js";
2
2
  import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.js";
3
- import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-DjqeU3E2.js";
3
+ import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-CPAZbRZe.js";
4
4
  import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.js";
5
5
  import { t as resolveOpfPath } from "./container-B6cHHiY9.js";
6
6
  import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.js";
@@ -1,2 +1,2 @@
1
- import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-C1FolPcb.cjs";
1
+ import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-D1d9aS27.cjs";
2
2
  export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -1,2 +1,2 @@
1
- import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-DjqeU3E2.js";
1
+ import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-CPAZbRZe.js";
2
2
  export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
@@ -1,2 +1,2 @@
1
- import { l as packageFromEntries, u as parsePackage } from "../codec-C1FolPcb.cjs";
1
+ import { l as packageFromEntries, u as parsePackage } from "../codec-D1d9aS27.cjs";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { l as packageFromEntries, u as parsePackage } from "../codec-DjqeU3E2.js";
1
+ import { l as packageFromEntries, u as parsePackage } from "../codec-CPAZbRZe.js";
2
2
  export { packageFromEntries, parsePackage };
@@ -1,2 +1,2 @@
1
- import { c as serializePackage, s as packageToEntries } from "../codec-C1FolPcb.cjs";
1
+ import { c as serializePackage, s as packageToEntries } from "../codec-D1d9aS27.cjs";
2
2
  export { packageToEntries, serializePackage };
@@ -1,2 +1,2 @@
1
- import { c as serializePackage, s as packageToEntries } from "../codec-DjqeU3E2.js";
1
+ import { c as serializePackage, s as packageToEntries } from "../codec-CPAZbRZe.js";
2
2
  export { packageToEntries, serializePackage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epub-codec",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "EPUB 2/3 reading and deterministic EPUB 3 writing against the shared document-schema.js content pivot.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "license": "MIT",
79
79
  "packageManager": "pnpm@11.6.0",
80
80
  "dependencies": {
81
- "document-schema.js": "7.6.0",
81
+ "document-schema.js": "7.7.0",
82
82
  "entities": "8.0.0",
83
83
  "fast-xml-parser": "5.10.1",
84
84
  "fflate": "0.8.3",