document-schema 7.7.0 → 7.9.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.
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C9cYkjnd.d.cts → construct-GVdTKrE7.d.cts} +3 -3
- package/dist/{construct-C9cYkjnd.d.ts → construct-GVdTKrE7.d.ts} +3 -3
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-BqSMRlSK.d.ts → content-BrxuIVTc.d.ts} +1741 -35
- package/dist/{content-BlTHCDvF.d.cts → content-CWkiQCeb.d.cts} +1741 -35
- package/dist/content-json-schema-defs.cjs +128 -15
- package/dist/content-json-schema-defs.js +128 -15
- package/dist/content.cjs +71 -17
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +68 -18
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +4 -4
- package/dist/definitions.d.ts +4 -4
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/{package-node-DPm8hWYt.d.ts → package-node-BYGq6LRL.d.ts} +307 -10
- package/dist/{package-node-Btm9VsaX.d.cts → package-node-_inncvUd.d.cts} +307 -10
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +33 -6
- package/dist/package.d.ts +33 -6
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.d.cts +1 -1
- package/dist/schema-io.d.ts +1 -1
- package/dist/schema-io.js +2 -2
- package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
- package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
- package/dist/style.d.cts +1 -1
- package/dist/style.d.ts +1 -1
- package/dist/text-layout.d.cts +1 -1
- package/dist/text-layout.d.ts +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +1147 -13
- package/schemas/document-tree.schema.json +214 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ConstructDescriptor } from "./construct-
|
|
1
|
+
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-CWkiQCeb.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-GVdTKrE7.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -53,6 +80,7 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
53
80
|
}, z.core.$strict>;
|
|
54
81
|
type SectionDescriptor = z.infer<typeof SectionDescriptorSchema>;
|
|
55
82
|
declare const SlideDescriptorSchema: z.ZodObject<{
|
|
83
|
+
notes: z.ZodString;
|
|
56
84
|
source: z.ZodOptional<z.ZodObject<{
|
|
57
85
|
format: z.ZodEnum<{
|
|
58
86
|
docx: "docx";
|
|
@@ -73,11 +101,37 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
73
101
|
}>;
|
|
74
102
|
xml: z.ZodString;
|
|
75
103
|
}, z.core.$strict>>;
|
|
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>;
|
|
@@ -102,6 +156,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
102
156
|
}>;
|
|
103
157
|
xml: z.ZodString;
|
|
104
158
|
}, z.core.$strict>>;
|
|
159
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
chart: "chart";
|
|
161
|
+
diagram: "diagram";
|
|
162
|
+
table: "table";
|
|
163
|
+
image: "image";
|
|
164
|
+
notes: "notes";
|
|
165
|
+
body: "body";
|
|
166
|
+
}>>;
|
|
167
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
text: z.ZodString;
|
|
170
|
+
confidence: z.ZodEnum<{
|
|
171
|
+
high: "high";
|
|
172
|
+
medium: "medium";
|
|
173
|
+
low: "low";
|
|
174
|
+
}>;
|
|
175
|
+
mechanism: z.ZodEnum<{
|
|
176
|
+
deterministic: "deterministic";
|
|
177
|
+
model: "model";
|
|
178
|
+
}>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
description: z.ZodOptional<z.ZodString>;
|
|
181
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
182
|
+
model: z.ZodString;
|
|
183
|
+
at: z.ZodString;
|
|
184
|
+
}, z.core.$strip>>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
105
186
|
name: z.ZodString;
|
|
106
187
|
printSettings: z.ZodObject<{
|
|
107
188
|
pageSize: z.ZodObject<{
|
|
@@ -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;
|
|
@@ -1131,6 +1293,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1131
1293
|
}, z.core.$strict>;
|
|
1132
1294
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1133
1295
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1296
|
+
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1134
1297
|
source: z.ZodOptional<z.ZodObject<{
|
|
1135
1298
|
format: z.ZodEnum<{
|
|
1136
1299
|
docx: "docx";
|
|
@@ -1151,8 +1314,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1151
1314
|
}>;
|
|
1152
1315
|
xml: z.ZodString;
|
|
1153
1316
|
}, z.core.$strict>>;
|
|
1154
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1156
1317
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1157
1318
|
pageIndex: z.ZodNumber;
|
|
1158
1319
|
xPt: z.ZodNumber;
|
|
@@ -1160,6 +1321,34 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1160
1321
|
widthPt: z.ZodNumber;
|
|
1161
1322
|
heightPt: z.ZodNumber;
|
|
1162
1323
|
}, z.core.$strip>>>;
|
|
1324
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1325
|
+
chart: "chart";
|
|
1326
|
+
diagram: "diagram";
|
|
1327
|
+
table: "table";
|
|
1328
|
+
image: "image";
|
|
1329
|
+
notes: "notes";
|
|
1330
|
+
body: "body";
|
|
1331
|
+
}>>;
|
|
1332
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1333
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
1334
|
+
text: z.ZodString;
|
|
1335
|
+
confidence: z.ZodEnum<{
|
|
1336
|
+
high: "high";
|
|
1337
|
+
medium: "medium";
|
|
1338
|
+
low: "low";
|
|
1339
|
+
}>;
|
|
1340
|
+
mechanism: z.ZodEnum<{
|
|
1341
|
+
deterministic: "deterministic";
|
|
1342
|
+
model: "model";
|
|
1343
|
+
}>;
|
|
1344
|
+
}, z.core.$strip>>;
|
|
1345
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
model: z.ZodString;
|
|
1348
|
+
at: z.ZodString;
|
|
1349
|
+
}, z.core.$strip>>;
|
|
1350
|
+
}, z.core.$strip>>;
|
|
1351
|
+
name: z.ZodOptional<z.ZodString>;
|
|
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";
|
|
@@ -1233,12 +1476,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1233
1476
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1234
1477
|
kind: z.ZodLiteral<"contentControl">;
|
|
1235
1478
|
controlType: z.ZodEnum<{
|
|
1479
|
+
date: "date";
|
|
1236
1480
|
richText: "richText";
|
|
1237
1481
|
plainText: "plainText";
|
|
1238
1482
|
checkbox: "checkbox";
|
|
1239
1483
|
dropDown: "dropDown";
|
|
1240
1484
|
comboBox: "comboBox";
|
|
1241
|
-
date: "date";
|
|
1242
1485
|
picture: "picture";
|
|
1243
1486
|
repeatingSection: "repeatingSection";
|
|
1244
1487
|
button: "button";
|
|
@@ -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";
|
|
@@ -1604,12 +1901,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1604
1901
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1605
1902
|
kind: z.ZodLiteral<"contentControl">;
|
|
1606
1903
|
controlType: z.ZodEnum<{
|
|
1904
|
+
date: "date";
|
|
1607
1905
|
richText: "richText";
|
|
1608
1906
|
plainText: "plainText";
|
|
1609
1907
|
checkbox: "checkbox";
|
|
1610
1908
|
dropDown: "dropDown";
|
|
1611
1909
|
comboBox: "comboBox";
|
|
1612
|
-
date: "date";
|
|
1613
1910
|
picture: "picture";
|
|
1614
1911
|
repeatingSection: "repeatingSection";
|
|
1615
1912
|
button: "button";
|
|
@@ -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>;
|
package/dist/package-node.d.cts
CHANGED
|
@@ -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-
|
|
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-_inncvUd.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 };
|
package/dist/package-node.d.ts
CHANGED
|
@@ -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-
|
|
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-BYGq6LRL.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 };
|
package/dist/package.d.cts
CHANGED
|
@@ -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-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-_inncvUd.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-
|
|
3
|
+
import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-BYGq6LRL.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<{
|
package/dist/schema-io.cjs
CHANGED
|
@@ -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.
|
|
10
|
+
return `https://cdn.jsdelivr.net/npm/document-schema.js@7.9.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.
|
|
105
|
+
if (majorVersionOf(parts.version) !== majorVersionOf("7.9.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.9.0");
|
|
106
106
|
switch (kind) {
|
|
107
107
|
case "DocumentTree": return {
|
|
108
108
|
kind,
|
package/dist/schema-io.d.cts
CHANGED