document-content-model 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-C4XiF8OW.d.cts} +6 -6
- package/dist/{construct-C9cYkjnd.d.ts → construct-C4XiF8OW.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-BIM8bWWt.d.ts → content-C1hJ6olW.d.ts} +1753 -47
- package/dist/{content-DpsxyPMw.d.cts → content-DN5CqH6Y.d.cts} +1753 -47
- 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-B8LBrCCD.d.ts → package-node-B9aFWtrZ.d.ts} +311 -14
- package/dist/{package-node-CENJl5PH.d.cts → package-node-DktLHAKG.d.cts} +311 -14
- 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-BGMcYrD2.d.cts → style-D06NwxAJ.d.cts} +1 -1
- package/dist/{style-BGMcYrD2.d.ts → style-D06NwxAJ.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-C1hJ6olW.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C4XiF8OW.js";
|
|
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;
|
|
@@ -73,15 +100,43 @@ 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>;
|
|
84
138
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
139
|
+
name: z.ZodString;
|
|
85
140
|
source: z.ZodOptional<z.ZodObject<{
|
|
86
141
|
format: z.ZodEnum<{
|
|
87
142
|
docx: "docx";
|
|
@@ -102,7 +157,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
102
157
|
}>;
|
|
103
158
|
xml: z.ZodString;
|
|
104
159
|
}, z.core.$strict>>;
|
|
105
|
-
|
|
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
|
-
right: "right";
|
|
416
550
|
center: "center";
|
|
551
|
+
right: "right";
|
|
417
552
|
justify: "justify";
|
|
418
553
|
}>>;
|
|
419
554
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -477,10 +612,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
477
612
|
endColumn: z.ZodNumber;
|
|
478
613
|
}, z.core.$strip>>;
|
|
479
614
|
type: z.ZodEnum<{
|
|
480
|
-
date: "date";
|
|
481
|
-
custom: "custom";
|
|
482
615
|
decimal: "decimal";
|
|
483
616
|
list: "list";
|
|
617
|
+
date: "date";
|
|
618
|
+
custom: "custom";
|
|
484
619
|
time: "time";
|
|
485
620
|
whole: "whole";
|
|
486
621
|
textLength: "textLength";
|
|
@@ -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
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1134
1297
|
source: z.ZodOptional<z.ZodObject<{
|
|
1135
1298
|
format: z.ZodEnum<{
|
|
1136
1299
|
docx: "docx";
|
|
@@ -1151,7 +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
1317
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1156
1318
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1157
1319
|
pageIndex: 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";
|
|
@@ -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";
|
|
@@ -1302,10 +1545,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1302
1545
|
}, z.core.$strict>, z.ZodObject<{
|
|
1303
1546
|
kind: z.ZodLiteral<"anchor">;
|
|
1304
1547
|
anchorType: z.ZodEnum<{
|
|
1548
|
+
comment: "comment";
|
|
1305
1549
|
bookmark: "bookmark";
|
|
1306
1550
|
footnote: "footnote";
|
|
1307
1551
|
endnote: "endnote";
|
|
1308
|
-
comment: "comment";
|
|
1309
1552
|
}>;
|
|
1310
1553
|
name: z.ZodString;
|
|
1311
1554
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
-
right: "right";
|
|
1432
1674
|
center: "center";
|
|
1675
|
+
right: "right";
|
|
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";
|
|
@@ -1673,10 +1970,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1673
1970
|
}, z.core.$strict>, z.ZodObject<{
|
|
1674
1971
|
kind: z.ZodLiteral<"anchor">;
|
|
1675
1972
|
anchorType: z.ZodEnum<{
|
|
1973
|
+
comment: "comment";
|
|
1676
1974
|
bookmark: "bookmark";
|
|
1677
1975
|
footnote: "footnote";
|
|
1678
1976
|
endnote: "endnote";
|
|
1679
|
-
comment: "comment";
|
|
1680
1977
|
}>;
|
|
1681
1978
|
name: z.ZodString;
|
|
1682
1979
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
-
right: "right";
|
|
1804
2100
|
center: "center";
|
|
2101
|
+
right: "right";
|
|
1805
2102
|
justify: "justify";
|
|
1806
2103
|
}>>;
|
|
1807
2104
|
spacingBeforePt: z.ZodOptional<z.ZodNumber>;
|