document-schema 7.7.0 → 7.8.0

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.
Files changed (41) hide show
  1. package/dist/codec.d.cts +1 -1
  2. package/dist/codec.d.ts +1 -1
  3. package/dist/{content-BlTHCDvF.d.cts → content-CBkzO-uB.d.cts} +1732 -31
  4. package/dist/content-json-schema-defs.cjs +126 -15
  5. package/dist/content-json-schema-defs.js +126 -15
  6. package/dist/{content-BqSMRlSK.d.ts → content-xlX3HwY8.d.ts} +1732 -31
  7. package/dist/content.cjs +70 -17
  8. package/dist/content.d.cts +2 -2
  9. package/dist/content.d.ts +2 -2
  10. package/dist/content.js +67 -18
  11. package/dist/decompose.d.cts +2 -2
  12. package/dist/decompose.d.ts +2 -2
  13. package/dist/definitions.d.cts +4 -4
  14. package/dist/definitions.d.ts +4 -4
  15. package/dist/factor-styles.d.cts +1 -1
  16. package/dist/factor-styles.d.ts +1 -1
  17. package/dist/flatten.d.cts +1 -1
  18. package/dist/flatten.d.ts +1 -1
  19. package/dist/index.cjs +4 -0
  20. package/dist/index.d.cts +4 -4
  21. package/dist/index.d.ts +4 -4
  22. package/dist/index.js +2 -2
  23. package/dist/{package-node-Btm9VsaX.d.cts → package-node-BWHA7o_U.d.cts} +302 -5
  24. package/dist/{package-node-DPm8hWYt.d.ts → package-node-F0sdAYc9.d.ts} +302 -5
  25. package/dist/package-node.d.cts +1 -1
  26. package/dist/package-node.d.ts +1 -1
  27. package/dist/package.d.cts +33 -6
  28. package/dist/package.d.ts +33 -6
  29. package/dist/schema-io.cjs +2 -2
  30. package/dist/schema-io.d.cts +1 -1
  31. package/dist/schema-io.d.ts +1 -1
  32. package/dist/schema-io.js +2 -2
  33. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  34. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  35. package/dist/style.d.cts +1 -1
  36. package/dist/style.d.ts +1 -1
  37. package/dist/text-layout.d.cts +1 -1
  38. package/dist/text-layout.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/schemas/content-document.schema.json +1138 -13
  41. package/schemas/document-tree.schema.json +208 -3
@@ -1,4 +1,4 @@
1
- import { Bt as ContentSheetImage, E as ContentEmbeddedObject, U as ContentFormula, g as ContentConstructEnd, hn as ContentVector, i as ContentBlock, v as ContentConstructStart } from "./content-BqSMRlSK.js";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-xlX3HwY8.js";
2
2
  import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -23,6 +23,33 @@ declare const SectionDescriptorSchema: z.ZodObject<{
23
23
  }>;
24
24
  xml: z.ZodString;
25
25
  }, z.core.$strict>>;
26
+ origin: z.ZodOptional<z.ZodEnum<{
27
+ chart: "chart";
28
+ diagram: "diagram";
29
+ table: "table";
30
+ image: "image";
31
+ notes: "notes";
32
+ body: "body";
33
+ }>>;
34
+ interpretation: z.ZodOptional<z.ZodObject<{
35
+ transcript: z.ZodOptional<z.ZodObject<{
36
+ text: z.ZodString;
37
+ confidence: z.ZodEnum<{
38
+ high: "high";
39
+ medium: "medium";
40
+ low: "low";
41
+ }>;
42
+ mechanism: z.ZodEnum<{
43
+ deterministic: "deterministic";
44
+ model: "model";
45
+ }>;
46
+ }, z.core.$strip>>;
47
+ description: z.ZodOptional<z.ZodString>;
48
+ by: z.ZodOptional<z.ZodObject<{
49
+ model: z.ZodString;
50
+ at: z.ZodString;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>>;
26
53
  pageSize: z.ZodObject<{
27
54
  widthPt: z.ZodNumber;
28
55
  heightPt: z.ZodNumber;
@@ -73,11 +100,38 @@ declare const SlideDescriptorSchema: z.ZodObject<{
73
100
  }>;
74
101
  xml: z.ZodString;
75
102
  }, z.core.$strict>>;
103
+ notes: z.ZodString;
104
+ origin: z.ZodOptional<z.ZodEnum<{
105
+ chart: "chart";
106
+ diagram: "diagram";
107
+ table: "table";
108
+ image: "image";
109
+ notes: "notes";
110
+ body: "body";
111
+ }>>;
112
+ interpretation: z.ZodOptional<z.ZodObject<{
113
+ transcript: z.ZodOptional<z.ZodObject<{
114
+ text: z.ZodString;
115
+ confidence: z.ZodEnum<{
116
+ high: "high";
117
+ medium: "medium";
118
+ low: "low";
119
+ }>;
120
+ mechanism: z.ZodEnum<{
121
+ deterministic: "deterministic";
122
+ model: "model";
123
+ }>;
124
+ }, z.core.$strip>>;
125
+ description: z.ZodOptional<z.ZodString>;
126
+ by: z.ZodOptional<z.ZodObject<{
127
+ model: z.ZodString;
128
+ at: z.ZodString;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>>;
76
131
  size: z.ZodObject<{
77
132
  widthPt: z.ZodNumber;
78
133
  heightPt: z.ZodNumber;
79
134
  }, z.core.$strip>;
80
- notes: z.ZodString;
81
135
  kind: z.ZodLiteral<"slide">;
82
136
  }, z.core.$strict>;
83
137
  type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
@@ -103,6 +157,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
103
157
  xml: z.ZodString;
104
158
  }, z.core.$strict>>;
105
159
  name: z.ZodString;
160
+ origin: z.ZodOptional<z.ZodEnum<{
161
+ chart: "chart";
162
+ diagram: "diagram";
163
+ table: "table";
164
+ image: "image";
165
+ notes: "notes";
166
+ body: "body";
167
+ }>>;
168
+ interpretation: z.ZodOptional<z.ZodObject<{
169
+ transcript: z.ZodOptional<z.ZodObject<{
170
+ text: z.ZodString;
171
+ confidence: z.ZodEnum<{
172
+ high: "high";
173
+ medium: "medium";
174
+ low: "low";
175
+ }>;
176
+ mechanism: z.ZodEnum<{
177
+ deterministic: "deterministic";
178
+ model: "model";
179
+ }>;
180
+ }, z.core.$strip>>;
181
+ description: z.ZodOptional<z.ZodString>;
182
+ by: z.ZodOptional<z.ZodObject<{
183
+ model: z.ZodString;
184
+ at: z.ZodString;
185
+ }, z.core.$strip>>;
186
+ }, z.core.$strip>>;
106
187
  printSettings: z.ZodObject<{
107
188
  pageSize: z.ZodObject<{
108
189
  widthPt: z.ZodNumber;
@@ -145,6 +226,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
145
226
  }, z.core.$strip>>;
146
227
  }, z.core.$strip>;
147
228
  cells: z.ZodArray<z.ZodObject<{
229
+ origin: z.ZodOptional<z.ZodEnum<{
230
+ chart: "chart";
231
+ diagram: "diagram";
232
+ table: "table";
233
+ image: "image";
234
+ notes: "notes";
235
+ body: "body";
236
+ }>>;
237
+ interpretation: z.ZodOptional<z.ZodObject<{
238
+ transcript: z.ZodOptional<z.ZodObject<{
239
+ text: z.ZodString;
240
+ confidence: z.ZodEnum<{
241
+ high: "high";
242
+ medium: "medium";
243
+ low: "low";
244
+ }>;
245
+ mechanism: z.ZodEnum<{
246
+ deterministic: "deterministic";
247
+ model: "model";
248
+ }>;
249
+ }, z.core.$strip>>;
250
+ description: z.ZodOptional<z.ZodString>;
251
+ by: z.ZodOptional<z.ZodObject<{
252
+ model: z.ZodString;
253
+ at: z.ZodString;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>>;
148
256
  row: z.ZodNumber;
149
257
  column: z.ZodNumber;
150
258
  value: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -198,6 +306,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
198
306
  }, z.core.$strip>>;
199
307
  }, z.core.$strip>>;
200
308
  runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
+ origin: z.ZodOptional<z.ZodEnum<{
310
+ chart: "chart";
311
+ diagram: "diagram";
312
+ table: "table";
313
+ image: "image";
314
+ notes: "notes";
315
+ body: "body";
316
+ }>>;
317
+ interpretation: z.ZodOptional<z.ZodObject<{
318
+ transcript: z.ZodOptional<z.ZodObject<{
319
+ text: z.ZodString;
320
+ confidence: z.ZodEnum<{
321
+ high: "high";
322
+ medium: "medium";
323
+ low: "low";
324
+ }>;
325
+ mechanism: z.ZodEnum<{
326
+ deterministic: "deterministic";
327
+ model: "model";
328
+ }>;
329
+ }, z.core.$strip>>;
330
+ description: z.ZodOptional<z.ZodString>;
331
+ by: z.ZodOptional<z.ZodObject<{
332
+ model: z.ZodString;
333
+ at: z.ZodString;
334
+ }, z.core.$strip>>;
335
+ }, z.core.$strip>>;
201
336
  hyperlink: z.ZodOptional<z.ZodString>;
202
337
  verticalAlign: z.ZodOptional<z.ZodEnum<{
203
338
  superscript: "superscript";
@@ -412,8 +547,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
412
547
  }, z.core.$strip>>;
413
548
  alignment: z.ZodOptional<z.ZodEnum<{
414
549
  left: "left";
415
- center: "center";
416
550
  right: "right";
551
+ center: "center";
417
552
  justify: "justify";
418
553
  }>>;
419
554
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -1123,6 +1258,33 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1123
1258
  }>;
1124
1259
  xml: z.ZodString;
1125
1260
  }, z.core.$strict>>;
1261
+ origin: z.ZodOptional<z.ZodEnum<{
1262
+ chart: "chart";
1263
+ diagram: "diagram";
1264
+ table: "table";
1265
+ image: "image";
1266
+ notes: "notes";
1267
+ body: "body";
1268
+ }>>;
1269
+ interpretation: z.ZodOptional<z.ZodObject<{
1270
+ transcript: z.ZodOptional<z.ZodObject<{
1271
+ text: z.ZodString;
1272
+ confidence: z.ZodEnum<{
1273
+ high: "high";
1274
+ medium: "medium";
1275
+ low: "low";
1276
+ }>;
1277
+ mechanism: z.ZodEnum<{
1278
+ deterministic: "deterministic";
1279
+ model: "model";
1280
+ }>;
1281
+ }, z.core.$strip>>;
1282
+ description: z.ZodOptional<z.ZodString>;
1283
+ by: z.ZodOptional<z.ZodObject<{
1284
+ model: z.ZodString;
1285
+ at: z.ZodString;
1286
+ }, z.core.$strip>>;
1287
+ }, z.core.$strip>>;
1126
1288
  size: z.ZodObject<{
1127
1289
  widthPt: z.ZodNumber;
1128
1290
  heightPt: z.ZodNumber;
@@ -1160,6 +1322,33 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1160
1322
  widthPt: z.ZodNumber;
1161
1323
  heightPt: z.ZodNumber;
1162
1324
  }, z.core.$strip>>>;
1325
+ origin: z.ZodOptional<z.ZodEnum<{
1326
+ chart: "chart";
1327
+ diagram: "diagram";
1328
+ table: "table";
1329
+ image: "image";
1330
+ notes: "notes";
1331
+ body: "body";
1332
+ }>>;
1333
+ interpretation: z.ZodOptional<z.ZodObject<{
1334
+ transcript: z.ZodOptional<z.ZodObject<{
1335
+ text: z.ZodString;
1336
+ confidence: z.ZodEnum<{
1337
+ high: "high";
1338
+ medium: "medium";
1339
+ low: "low";
1340
+ }>;
1341
+ mechanism: z.ZodEnum<{
1342
+ deterministic: "deterministic";
1343
+ model: "model";
1344
+ }>;
1345
+ }, z.core.$strip>>;
1346
+ description: z.ZodOptional<z.ZodString>;
1347
+ by: z.ZodOptional<z.ZodObject<{
1348
+ model: z.ZodString;
1349
+ at: z.ZodString;
1350
+ }, z.core.$strip>>;
1351
+ }, z.core.$strip>>;
1163
1352
  frame: z.ZodObject<{
1164
1353
  xPt: z.ZodNumber;
1165
1354
  yPt: z.ZodNumber;
@@ -1177,8 +1366,62 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1177
1366
  }, z.core.$strict>;
1178
1367
  type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
1179
1368
  declare const HeadingParagraphSchema: z.ZodObject<{
1369
+ origin: z.ZodOptional<z.ZodEnum<{
1370
+ chart: "chart";
1371
+ diagram: "diagram";
1372
+ table: "table";
1373
+ image: "image";
1374
+ notes: "notes";
1375
+ body: "body";
1376
+ }>>;
1377
+ interpretation: z.ZodOptional<z.ZodObject<{
1378
+ transcript: z.ZodOptional<z.ZodObject<{
1379
+ text: z.ZodString;
1380
+ confidence: z.ZodEnum<{
1381
+ high: "high";
1382
+ medium: "medium";
1383
+ low: "low";
1384
+ }>;
1385
+ mechanism: z.ZodEnum<{
1386
+ deterministic: "deterministic";
1387
+ model: "model";
1388
+ }>;
1389
+ }, z.core.$strip>>;
1390
+ description: z.ZodOptional<z.ZodString>;
1391
+ by: z.ZodOptional<z.ZodObject<{
1392
+ model: z.ZodString;
1393
+ at: z.ZodString;
1394
+ }, z.core.$strip>>;
1395
+ }, z.core.$strip>>;
1180
1396
  kind: z.ZodLiteral<"paragraph">;
1181
1397
  runs: z.ZodArray<z.ZodObject<{
1398
+ origin: z.ZodOptional<z.ZodEnum<{
1399
+ chart: "chart";
1400
+ diagram: "diagram";
1401
+ table: "table";
1402
+ image: "image";
1403
+ notes: "notes";
1404
+ body: "body";
1405
+ }>>;
1406
+ interpretation: z.ZodOptional<z.ZodObject<{
1407
+ transcript: z.ZodOptional<z.ZodObject<{
1408
+ text: z.ZodString;
1409
+ confidence: z.ZodEnum<{
1410
+ high: "high";
1411
+ medium: "medium";
1412
+ low: "low";
1413
+ }>;
1414
+ mechanism: z.ZodEnum<{
1415
+ deterministic: "deterministic";
1416
+ model: "model";
1417
+ }>;
1418
+ }, z.core.$strip>>;
1419
+ description: z.ZodOptional<z.ZodString>;
1420
+ by: z.ZodOptional<z.ZodObject<{
1421
+ model: z.ZodString;
1422
+ at: z.ZodString;
1423
+ }, z.core.$strip>>;
1424
+ }, z.core.$strip>>;
1182
1425
  hyperlink: z.ZodOptional<z.ZodString>;
1183
1426
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1184
1427
  superscript: "superscript";
@@ -1428,8 +1671,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1428
1671
  preformatted: z.ZodOptional<z.ZodBoolean>;
1429
1672
  alignment: z.ZodOptional<z.ZodEnum<{
1430
1673
  left: "left";
1431
- center: "center";
1432
1674
  right: "right";
1675
+ center: "center";
1433
1676
  justify: "justify";
1434
1677
  }>>;
1435
1678
  list: z.ZodOptional<z.ZodObject<{
@@ -1548,8 +1791,62 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1548
1791
  }, z.core.$strip>;
1549
1792
  type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
1550
1793
  declare const ListParagraphSchema: z.ZodObject<{
1794
+ origin: z.ZodOptional<z.ZodEnum<{
1795
+ chart: "chart";
1796
+ diagram: "diagram";
1797
+ table: "table";
1798
+ image: "image";
1799
+ notes: "notes";
1800
+ body: "body";
1801
+ }>>;
1802
+ interpretation: z.ZodOptional<z.ZodObject<{
1803
+ transcript: z.ZodOptional<z.ZodObject<{
1804
+ text: z.ZodString;
1805
+ confidence: z.ZodEnum<{
1806
+ high: "high";
1807
+ medium: "medium";
1808
+ low: "low";
1809
+ }>;
1810
+ mechanism: z.ZodEnum<{
1811
+ deterministic: "deterministic";
1812
+ model: "model";
1813
+ }>;
1814
+ }, z.core.$strip>>;
1815
+ description: z.ZodOptional<z.ZodString>;
1816
+ by: z.ZodOptional<z.ZodObject<{
1817
+ model: z.ZodString;
1818
+ at: z.ZodString;
1819
+ }, z.core.$strip>>;
1820
+ }, z.core.$strip>>;
1551
1821
  kind: z.ZodLiteral<"paragraph">;
1552
1822
  runs: z.ZodArray<z.ZodObject<{
1823
+ origin: z.ZodOptional<z.ZodEnum<{
1824
+ chart: "chart";
1825
+ diagram: "diagram";
1826
+ table: "table";
1827
+ image: "image";
1828
+ notes: "notes";
1829
+ body: "body";
1830
+ }>>;
1831
+ interpretation: z.ZodOptional<z.ZodObject<{
1832
+ transcript: z.ZodOptional<z.ZodObject<{
1833
+ text: z.ZodString;
1834
+ confidence: z.ZodEnum<{
1835
+ high: "high";
1836
+ medium: "medium";
1837
+ low: "low";
1838
+ }>;
1839
+ mechanism: z.ZodEnum<{
1840
+ deterministic: "deterministic";
1841
+ model: "model";
1842
+ }>;
1843
+ }, z.core.$strip>>;
1844
+ description: z.ZodOptional<z.ZodString>;
1845
+ by: z.ZodOptional<z.ZodObject<{
1846
+ model: z.ZodString;
1847
+ at: z.ZodString;
1848
+ }, z.core.$strip>>;
1849
+ }, z.core.$strip>>;
1553
1850
  hyperlink: z.ZodOptional<z.ZodString>;
1554
1851
  verticalAlign: z.ZodOptional<z.ZodEnum<{
1555
1852
  superscript: "superscript";
@@ -1800,8 +2097,8 @@ declare const ListParagraphSchema: z.ZodObject<{
1800
2097
  headingLevel: z.ZodOptional<z.ZodNumber>;
1801
2098
  alignment: z.ZodOptional<z.ZodEnum<{
1802
2099
  left: "left";
1803
- center: "center";
1804
2100
  right: "right";
2101
+ center: "center";
1805
2102
  justify: "justify";
1806
2103
  }>>;
1807
2104
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-Btm9VsaX.cjs";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-BWHA7o_U.cjs";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DPm8hWYt.js";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-F0sdAYc9.js";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
2
2
  import { p as MathExpression } from "./math-BScHxedi.cjs";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-Btm9VsaX.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-BWHA7o_U.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
13
  paragraph: z.ZodOptional<z.ZodObject<{
14
14
  alignment: z.ZodOptional<z.ZodEnum<{
15
15
  left: "left";
16
- center: "center";
17
16
  right: "right";
17
+ center: "center";
18
18
  justify: "justify";
19
19
  }>>;
20
20
  list: z.ZodOptional<z.ZodObject<{
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
162
162
  paragraph: z.ZodOptional<z.ZodObject<{
163
163
  alignment: z.ZodOptional<z.ZodEnum<{
164
164
  left: "left";
165
- center: "center";
166
165
  right: "right";
166
+ center: "center";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
316
316
  paragraph: z.ZodOptional<z.ZodObject<{
317
317
  alignment: z.ZodOptional<z.ZodEnum<{
318
318
  left: "left";
319
- center: "center";
320
319
  right: "right";
320
+ center: "center";
321
321
  justify: "justify";
322
322
  }>>;
323
323
  list: z.ZodOptional<z.ZodObject<{
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
465
  paragraph: z.ZodOptional<z.ZodObject<{
466
466
  alignment: z.ZodOptional<z.ZodEnum<{
467
467
  left: "left";
468
- center: "center";
469
468
  right: "right";
469
+ center: "center";
470
470
  justify: "justify";
471
471
  }>>;
472
472
  list: z.ZodOptional<z.ZodObject<{
@@ -606,6 +606,33 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
606
606
  kind: z.ZodLiteral<"drawing">;
607
607
  }, z.core.$strip>, z.ZodObject<{
608
608
  children: z.ZodArray<z.ZodObject<{
609
+ origin: z.ZodOptional<z.ZodEnum<{
610
+ chart: "chart";
611
+ diagram: "diagram";
612
+ table: "table";
613
+ image: "image";
614
+ notes: "notes";
615
+ body: "body";
616
+ }>>;
617
+ interpretation: z.ZodOptional<z.ZodObject<{
618
+ transcript: z.ZodOptional<z.ZodObject<{
619
+ text: z.ZodString;
620
+ confidence: z.ZodEnum<{
621
+ high: "high";
622
+ medium: "medium";
623
+ low: "low";
624
+ }>;
625
+ mechanism: z.ZodEnum<{
626
+ deterministic: "deterministic";
627
+ model: "model";
628
+ }>;
629
+ }, z.core.$strip>>;
630
+ description: z.ZodOptional<z.ZodString>;
631
+ by: z.ZodOptional<z.ZodObject<{
632
+ model: z.ZodString;
633
+ at: z.ZodString;
634
+ }, z.core.$strip>>;
635
+ }, z.core.$strip>>;
609
636
  mathml: z.ZodArray<z.ZodType<MathMlNode, MathMlNode, z.core.$ZodTypeInternals<MathMlNode, MathMlNode>>>;
610
637
  starMath: z.ZodOptional<z.ZodString>;
611
638
  presentation: z.ZodOptional<z.ZodObject<{
@@ -646,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
646
673
  paragraph: z.ZodOptional<z.ZodObject<{
647
674
  alignment: z.ZodOptional<z.ZodEnum<{
648
675
  left: "left";
649
- center: "center";
650
676
  right: "right";
677
+ center: "center";
651
678
  justify: "justify";
652
679
  }>>;
653
680
  list: z.ZodOptional<z.ZodObject<{
package/dist/package.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
2
2
  import { p as MathExpression } from "./math-BScHxedi.js";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DPm8hWYt.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-F0sdAYc9.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -13,8 +13,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
13
  paragraph: z.ZodOptional<z.ZodObject<{
14
14
  alignment: z.ZodOptional<z.ZodEnum<{
15
15
  left: "left";
16
- center: "center";
17
16
  right: "right";
17
+ center: "center";
18
18
  justify: "justify";
19
19
  }>>;
20
20
  list: z.ZodOptional<z.ZodObject<{
@@ -162,8 +162,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
162
162
  paragraph: z.ZodOptional<z.ZodObject<{
163
163
  alignment: z.ZodOptional<z.ZodEnum<{
164
164
  left: "left";
165
- center: "center";
166
165
  right: "right";
166
+ center: "center";
167
167
  justify: "justify";
168
168
  }>>;
169
169
  list: z.ZodOptional<z.ZodObject<{
@@ -316,8 +316,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
316
316
  paragraph: z.ZodOptional<z.ZodObject<{
317
317
  alignment: z.ZodOptional<z.ZodEnum<{
318
318
  left: "left";
319
- center: "center";
320
319
  right: "right";
320
+ center: "center";
321
321
  justify: "justify";
322
322
  }>>;
323
323
  list: z.ZodOptional<z.ZodObject<{
@@ -465,8 +465,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
465
  paragraph: z.ZodOptional<z.ZodObject<{
466
466
  alignment: z.ZodOptional<z.ZodEnum<{
467
467
  left: "left";
468
- center: "center";
469
468
  right: "right";
469
+ center: "center";
470
470
  justify: "justify";
471
471
  }>>;
472
472
  list: z.ZodOptional<z.ZodObject<{
@@ -606,6 +606,33 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
606
606
  kind: z.ZodLiteral<"drawing">;
607
607
  }, z.core.$strip>, z.ZodObject<{
608
608
  children: z.ZodArray<z.ZodObject<{
609
+ origin: z.ZodOptional<z.ZodEnum<{
610
+ chart: "chart";
611
+ diagram: "diagram";
612
+ table: "table";
613
+ image: "image";
614
+ notes: "notes";
615
+ body: "body";
616
+ }>>;
617
+ interpretation: z.ZodOptional<z.ZodObject<{
618
+ transcript: z.ZodOptional<z.ZodObject<{
619
+ text: z.ZodString;
620
+ confidence: z.ZodEnum<{
621
+ high: "high";
622
+ medium: "medium";
623
+ low: "low";
624
+ }>;
625
+ mechanism: z.ZodEnum<{
626
+ deterministic: "deterministic";
627
+ model: "model";
628
+ }>;
629
+ }, z.core.$strip>>;
630
+ description: z.ZodOptional<z.ZodString>;
631
+ by: z.ZodOptional<z.ZodObject<{
632
+ model: z.ZodString;
633
+ at: z.ZodString;
634
+ }, z.core.$strip>>;
635
+ }, z.core.$strip>>;
609
636
  mathml: z.ZodArray<z.ZodType<MathMlNode, MathMlNode, z.core.$ZodTypeInternals<MathMlNode, MathMlNode>>>;
610
637
  starMath: z.ZodOptional<z.ZodString>;
611
638
  presentation: z.ZodOptional<z.ZodObject<{
@@ -646,8 +673,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
646
673
  paragraph: z.ZodOptional<z.ZodObject<{
647
674
  alignment: z.ZodOptional<z.ZodEnum<{
648
675
  left: "left";
649
- center: "center";
650
676
  right: "right";
677
+ center: "center";
651
678
  justify: "justify";
652
679
  }>>;
653
680
  list: z.ZodOptional<z.ZodObject<{
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
7
7
  ContentDocument: "content-document.schema.json"
8
8
  };
9
9
  function schemaUriFor(kind) {
10
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
11
11
  }
12
12
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
13
13
  function parseSchemaUri(uri) {
@@ -102,7 +102,7 @@ function documentFromJson(value) {
102
102
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
103
103
  const kind = kindForFileStem(parts.stem);
104
104
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
105
- if (majorVersionOf(parts.version) !== majorVersionOf("7.7.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.7.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { S as ContentDocument } from "./content-BlTHCDvF.cjs";
1
+ import { C as ContentDocument } from "./content-CBkzO-uB.cjs";
2
2
  import { DocumentTree } from "./package.cjs";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
@@ -1,4 +1,4 @@
1
- import { S as ContentDocument } from "./content-BqSMRlSK.js";
1
+ import { C as ContentDocument } from "./content-xlX3HwY8.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
package/dist/schema-io.js CHANGED
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
6
6
  ContentDocument: "content-document.schema.json"
7
7
  };
8
8
  function schemaUriFor(kind) {
9
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.7.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.8.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
10
  }
11
11
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
12
12
  function parseSchemaUri(uri) {
@@ -101,7 +101,7 @@ function documentFromJson(value) {
101
101
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
102
102
  const kind = kindForFileStem(parts.stem);
103
103
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
104
- if (majorVersionOf(parts.version) !== majorVersionOf("7.7.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.7.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.8.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.8.0");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;