document-content-model 7.6.1 → 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.
- 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-PPcQWl8e.d.ts → content-DAc4O272.d.ts} +1934 -87
- package/dist/{content-JIKLIrji.d.cts → content-SgKmas45.d.cts} +1934 -87
- package/dist/content-json-schema-defs.cjs +158 -15
- package/dist/content-json-schema-defs.js +158 -15
- package/dist/content.cjs +106 -27
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +98 -28
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.cjs +1 -10
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- package/dist/definitions.js +2 -11
- package/dist/factor-styles.cjs +1 -0
- package/dist/factor-styles.d.cts +1 -1
- package/dist/factor-styles.d.ts +1 -1
- package/dist/factor-styles.js +1 -0
- package/dist/flatten.cjs +1 -0
- package/dist/flatten.d.cts +1 -1
- package/dist/flatten.d.ts +1 -1
- package/dist/flatten.js +1 -0
- package/dist/index.cjs +9 -0
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{package-node-B4CHgiVQ.d.ts → package-node-BnFUnaa0.d.ts} +359 -49
- package/dist/{package-node-duDMdOvH.d.cts → package-node-DnUyGT61.d.cts} +359 -49
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.cjs +1 -0
- package/dist/package.d.cts +33 -1
- package/dist/package.d.ts +33 -1
- package/dist/package.js +2 -1
- 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/package.json +1 -1
- package/schemas/content-document.schema.json +1296 -13
- package/schemas/document-tree.schema.json +292 -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-DAc4O272.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-GVdTKrE7.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
|
+
body: "body";
|
|
28
|
+
chart: "chart";
|
|
29
|
+
diagram: "diagram";
|
|
30
|
+
table: "table";
|
|
31
|
+
image: "image";
|
|
32
|
+
notes: "notes";
|
|
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
|
+
body: "body";
|
|
106
|
+
chart: "chart";
|
|
107
|
+
diagram: "diagram";
|
|
108
|
+
table: "table";
|
|
109
|
+
image: "image";
|
|
110
|
+
notes: "notes";
|
|
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,38 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
102
157
|
}>;
|
|
103
158
|
xml: z.ZodString;
|
|
104
159
|
}, z.core.$strict>>;
|
|
105
|
-
|
|
160
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
161
|
+
index: z.ZodNumber;
|
|
162
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
166
|
+
body: "body";
|
|
167
|
+
chart: "chart";
|
|
168
|
+
diagram: "diagram";
|
|
169
|
+
table: "table";
|
|
170
|
+
image: "image";
|
|
171
|
+
notes: "notes";
|
|
172
|
+
}>>;
|
|
173
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
text: z.ZodString;
|
|
176
|
+
confidence: z.ZodEnum<{
|
|
177
|
+
high: "high";
|
|
178
|
+
medium: "medium";
|
|
179
|
+
low: "low";
|
|
180
|
+
}>;
|
|
181
|
+
mechanism: z.ZodEnum<{
|
|
182
|
+
deterministic: "deterministic";
|
|
183
|
+
model: "model";
|
|
184
|
+
}>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
description: z.ZodOptional<z.ZodString>;
|
|
187
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
188
|
+
model: z.ZodString;
|
|
189
|
+
at: z.ZodString;
|
|
190
|
+
}, z.core.$strip>>;
|
|
191
|
+
}, z.core.$strip>>;
|
|
106
192
|
printSettings: z.ZodObject<{
|
|
107
193
|
pageSize: z.ZodObject<{
|
|
108
194
|
widthPt: z.ZodNumber;
|
|
@@ -145,6 +231,33 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
145
231
|
}, z.core.$strip>>;
|
|
146
232
|
}, z.core.$strip>;
|
|
147
233
|
cells: z.ZodArray<z.ZodObject<{
|
|
234
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
body: "body";
|
|
236
|
+
chart: "chart";
|
|
237
|
+
diagram: "diagram";
|
|
238
|
+
table: "table";
|
|
239
|
+
image: "image";
|
|
240
|
+
notes: "notes";
|
|
241
|
+
}>>;
|
|
242
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
text: z.ZodString;
|
|
245
|
+
confidence: z.ZodEnum<{
|
|
246
|
+
high: "high";
|
|
247
|
+
medium: "medium";
|
|
248
|
+
low: "low";
|
|
249
|
+
}>;
|
|
250
|
+
mechanism: z.ZodEnum<{
|
|
251
|
+
deterministic: "deterministic";
|
|
252
|
+
model: "model";
|
|
253
|
+
}>;
|
|
254
|
+
}, z.core.$strip>>;
|
|
255
|
+
description: z.ZodOptional<z.ZodString>;
|
|
256
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
model: z.ZodString;
|
|
258
|
+
at: z.ZodString;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
148
261
|
row: z.ZodNumber;
|
|
149
262
|
column: z.ZodNumber;
|
|
150
263
|
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -184,8 +297,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
184
297
|
formula: z.ZodOptional<z.ZodString>;
|
|
185
298
|
displayText: z.ZodString;
|
|
186
299
|
numberFormatCode: z.ZodOptional<z.ZodString>;
|
|
187
|
-
|
|
188
|
-
text: z.ZodString;
|
|
300
|
+
font: z.ZodOptional<z.ZodObject<{
|
|
189
301
|
bold: z.ZodOptional<z.ZodBoolean>;
|
|
190
302
|
italic: z.ZodOptional<z.ZodBoolean>;
|
|
191
303
|
underline: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -197,6 +309,35 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
197
309
|
g: z.ZodNumber;
|
|
198
310
|
b: z.ZodNumber;
|
|
199
311
|
}, z.core.$strip>>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
315
|
+
body: "body";
|
|
316
|
+
chart: "chart";
|
|
317
|
+
diagram: "diagram";
|
|
318
|
+
table: "table";
|
|
319
|
+
image: "image";
|
|
320
|
+
notes: "notes";
|
|
321
|
+
}>>;
|
|
322
|
+
interpretation: z.ZodOptional<z.ZodObject<{
|
|
323
|
+
transcript: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
text: z.ZodString;
|
|
325
|
+
confidence: z.ZodEnum<{
|
|
326
|
+
high: "high";
|
|
327
|
+
medium: "medium";
|
|
328
|
+
low: "low";
|
|
329
|
+
}>;
|
|
330
|
+
mechanism: z.ZodEnum<{
|
|
331
|
+
deterministic: "deterministic";
|
|
332
|
+
model: "model";
|
|
333
|
+
}>;
|
|
334
|
+
}, z.core.$strip>>;
|
|
335
|
+
description: z.ZodOptional<z.ZodString>;
|
|
336
|
+
by: z.ZodOptional<z.ZodObject<{
|
|
337
|
+
model: z.ZodString;
|
|
338
|
+
at: z.ZodString;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
}, z.core.$strip>>;
|
|
200
341
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
201
342
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
202
343
|
superscript: "superscript";
|
|
@@ -234,6 +375,18 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
234
375
|
widthPt: z.ZodNumber;
|
|
235
376
|
heightPt: z.ZodNumber;
|
|
236
377
|
}, z.core.$strip>>>;
|
|
378
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
379
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
381
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
383
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
385
|
+
r: z.ZodNumber;
|
|
386
|
+
g: z.ZodNumber;
|
|
387
|
+
b: z.ZodNumber;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
text: z.ZodString;
|
|
237
390
|
}, z.core.$strip>>>;
|
|
238
391
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
239
392
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -451,11 +604,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
451
604
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
452
605
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
453
606
|
}, z.core.$strip>>;
|
|
454
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
455
|
-
index: z.ZodNumber;
|
|
456
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
457
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
-
}, z.core.$strip>>;
|
|
459
607
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
460
608
|
ranges: z.ZodArray<z.ZodObject<{
|
|
461
609
|
startRow: z.ZodNumber;
|
|
@@ -466,9 +614,9 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
466
614
|
type: z.ZodEnum<{
|
|
467
615
|
date: "date";
|
|
468
616
|
custom: "custom";
|
|
617
|
+
time: "time";
|
|
469
618
|
decimal: "decimal";
|
|
470
619
|
list: "list";
|
|
471
|
-
time: "time";
|
|
472
620
|
whole: "whole";
|
|
473
621
|
textLength: "textLength";
|
|
474
622
|
}>;
|
|
@@ -939,11 +1087,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
939
1087
|
stops: z.ZodArray<z.ZodObject<{
|
|
940
1088
|
value: z.ZodObject<{
|
|
941
1089
|
type: z.ZodEnum<{
|
|
942
|
-
formula: "formula";
|
|
943
|
-
percent: "percent";
|
|
944
1090
|
num: "num";
|
|
945
|
-
max: "max";
|
|
946
1091
|
min: "min";
|
|
1092
|
+
max: "max";
|
|
1093
|
+
formula: "formula";
|
|
1094
|
+
percent: "percent";
|
|
947
1095
|
percentile: "percentile";
|
|
948
1096
|
}>;
|
|
949
1097
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -986,22 +1134,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
986
1134
|
}, z.core.$strip>, z.ZodObject<{
|
|
987
1135
|
min: z.ZodObject<{
|
|
988
1136
|
type: z.ZodEnum<{
|
|
989
|
-
formula: "formula";
|
|
990
|
-
percent: "percent";
|
|
991
1137
|
num: "num";
|
|
992
|
-
max: "max";
|
|
993
1138
|
min: "min";
|
|
1139
|
+
max: "max";
|
|
1140
|
+
formula: "formula";
|
|
1141
|
+
percent: "percent";
|
|
994
1142
|
percentile: "percentile";
|
|
995
1143
|
}>;
|
|
996
1144
|
value: z.ZodOptional<z.ZodString>;
|
|
997
1145
|
}, z.core.$strip>;
|
|
998
1146
|
max: z.ZodObject<{
|
|
999
1147
|
type: z.ZodEnum<{
|
|
1000
|
-
formula: "formula";
|
|
1001
|
-
percent: "percent";
|
|
1002
1148
|
num: "num";
|
|
1003
|
-
max: "max";
|
|
1004
1149
|
min: "min";
|
|
1150
|
+
max: "max";
|
|
1151
|
+
formula: "formula";
|
|
1152
|
+
percent: "percent";
|
|
1005
1153
|
percentile: "percentile";
|
|
1006
1154
|
}>;
|
|
1007
1155
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1045,11 +1193,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1045
1193
|
iconSetType: z.ZodString;
|
|
1046
1194
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1047
1195
|
type: z.ZodEnum<{
|
|
1048
|
-
formula: "formula";
|
|
1049
|
-
percent: "percent";
|
|
1050
1196
|
num: "num";
|
|
1051
|
-
max: "max";
|
|
1052
1197
|
min: "min";
|
|
1198
|
+
max: "max";
|
|
1199
|
+
formula: "formula";
|
|
1200
|
+
percent: "percent";
|
|
1053
1201
|
percentile: "percentile";
|
|
1054
1202
|
}>;
|
|
1055
1203
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1110,6 +1258,33 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1110
1258
|
}>;
|
|
1111
1259
|
xml: z.ZodString;
|
|
1112
1260
|
}, z.core.$strict>>;
|
|
1261
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1262
|
+
body: "body";
|
|
1263
|
+
chart: "chart";
|
|
1264
|
+
diagram: "diagram";
|
|
1265
|
+
table: "table";
|
|
1266
|
+
image: "image";
|
|
1267
|
+
notes: "notes";
|
|
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>>;
|
|
1113
1288
|
size: z.ZodObject<{
|
|
1114
1289
|
widthPt: z.ZodNumber;
|
|
1115
1290
|
heightPt: z.ZodNumber;
|
|
@@ -1118,6 +1293,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1118
1293
|
}, z.core.$strict>;
|
|
1119
1294
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1120
1295
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1296
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1121
1297
|
source: z.ZodOptional<z.ZodObject<{
|
|
1122
1298
|
format: z.ZodEnum<{
|
|
1123
1299
|
docx: "docx";
|
|
@@ -1138,7 +1314,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1138
1314
|
}>;
|
|
1139
1315
|
xml: z.ZodString;
|
|
1140
1316
|
}, z.core.$strict>>;
|
|
1141
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1142
1317
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1143
1318
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1144
1319
|
pageIndex: z.ZodNumber;
|
|
@@ -1147,6 +1322,33 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1147
1322
|
widthPt: z.ZodNumber;
|
|
1148
1323
|
heightPt: z.ZodNumber;
|
|
1149
1324
|
}, z.core.$strip>>>;
|
|
1325
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1326
|
+
body: "body";
|
|
1327
|
+
chart: "chart";
|
|
1328
|
+
diagram: "diagram";
|
|
1329
|
+
table: "table";
|
|
1330
|
+
image: "image";
|
|
1331
|
+
notes: "notes";
|
|
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>>;
|
|
1150
1352
|
frame: z.ZodObject<{
|
|
1151
1353
|
xPt: z.ZodNumber;
|
|
1152
1354
|
yPt: z.ZodNumber;
|
|
@@ -1164,19 +1366,61 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1164
1366
|
}, z.core.$strict>;
|
|
1165
1367
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1166
1368
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
1369
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1370
|
+
body: "body";
|
|
1371
|
+
chart: "chart";
|
|
1372
|
+
diagram: "diagram";
|
|
1373
|
+
table: "table";
|
|
1374
|
+
image: "image";
|
|
1375
|
+
notes: "notes";
|
|
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>>;
|
|
1167
1396
|
kind: z.ZodLiteral<"paragraph">;
|
|
1168
1397
|
runs: z.ZodArray<z.ZodObject<{
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1398
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1399
|
+
body: "body";
|
|
1400
|
+
chart: "chart";
|
|
1401
|
+
diagram: "diagram";
|
|
1402
|
+
table: "table";
|
|
1403
|
+
image: "image";
|
|
1404
|
+
notes: "notes";
|
|
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>>;
|
|
1180
1424
|
}, z.core.$strip>>;
|
|
1181
1425
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1182
1426
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1215,17 +1459,29 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1215
1459
|
widthPt: z.ZodNumber;
|
|
1216
1460
|
heightPt: z.ZodNumber;
|
|
1217
1461
|
}, z.core.$strip>>>;
|
|
1462
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1463
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1464
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1465
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1466
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1467
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1468
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1469
|
+
r: z.ZodNumber;
|
|
1470
|
+
g: z.ZodNumber;
|
|
1471
|
+
b: z.ZodNumber;
|
|
1472
|
+
}, z.core.$strip>>;
|
|
1473
|
+
text: z.ZodString;
|
|
1218
1474
|
}, z.core.$strip>>;
|
|
1219
1475
|
constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1220
1476
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1221
1477
|
kind: z.ZodLiteral<"contentControl">;
|
|
1222
1478
|
controlType: z.ZodEnum<{
|
|
1479
|
+
date: "date";
|
|
1223
1480
|
richText: "richText";
|
|
1224
1481
|
plainText: "plainText";
|
|
1225
1482
|
checkbox: "checkbox";
|
|
1226
1483
|
dropDown: "dropDown";
|
|
1227
1484
|
comboBox: "comboBox";
|
|
1228
|
-
date: "date";
|
|
1229
1485
|
picture: "picture";
|
|
1230
1486
|
repeatingSection: "repeatingSection";
|
|
1231
1487
|
button: "button";
|
|
@@ -1535,19 +1791,61 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1535
1791
|
}, z.core.$strip>;
|
|
1536
1792
|
type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
|
|
1537
1793
|
declare const ListParagraphSchema: z.ZodObject<{
|
|
1794
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1795
|
+
body: "body";
|
|
1796
|
+
chart: "chart";
|
|
1797
|
+
diagram: "diagram";
|
|
1798
|
+
table: "table";
|
|
1799
|
+
image: "image";
|
|
1800
|
+
notes: "notes";
|
|
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>>;
|
|
1538
1821
|
kind: z.ZodLiteral<"paragraph">;
|
|
1539
1822
|
runs: z.ZodArray<z.ZodObject<{
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1823
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1824
|
+
body: "body";
|
|
1825
|
+
chart: "chart";
|
|
1826
|
+
diagram: "diagram";
|
|
1827
|
+
table: "table";
|
|
1828
|
+
image: "image";
|
|
1829
|
+
notes: "notes";
|
|
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>>;
|
|
1551
1849
|
}, z.core.$strip>>;
|
|
1552
1850
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
1553
1851
|
verticalAlign: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1586,17 +1884,29 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1586
1884
|
widthPt: z.ZodNumber;
|
|
1587
1885
|
heightPt: z.ZodNumber;
|
|
1588
1886
|
}, z.core.$strip>>>;
|
|
1887
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
1888
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
1889
|
+
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1890
|
+
strike: z.ZodOptional<z.ZodBoolean>;
|
|
1891
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
1892
|
+
sizePt: z.ZodOptional<z.ZodNumber>;
|
|
1893
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
1894
|
+
r: z.ZodNumber;
|
|
1895
|
+
g: z.ZodNumber;
|
|
1896
|
+
b: z.ZodNumber;
|
|
1897
|
+
}, z.core.$strip>>;
|
|
1898
|
+
text: z.ZodString;
|
|
1589
1899
|
}, z.core.$strip>>;
|
|
1590
1900
|
constructs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1591
1901
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1592
1902
|
kind: z.ZodLiteral<"contentControl">;
|
|
1593
1903
|
controlType: z.ZodEnum<{
|
|
1904
|
+
date: "date";
|
|
1594
1905
|
richText: "richText";
|
|
1595
1906
|
plainText: "plainText";
|
|
1596
1907
|
checkbox: "checkbox";
|
|
1597
1908
|
dropDown: "dropDown";
|
|
1598
1909
|
comboBox: "comboBox";
|
|
1599
|
-
date: "date";
|
|
1600
1910
|
picture: "picture";
|
|
1601
1911
|
repeatingSection: "repeatingSection";
|
|
1602
1912
|
button: "button";
|