document-schema 7.12.0 → 7.14.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/README.md +6 -0
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{construct-C4XiF8OW.d.cts → construct-C9cYkjnd.d.cts} +6 -6
- package/dist/{construct-C4XiF8OW.d.ts → construct-C9cYkjnd.d.ts} +6 -6
- package/dist/construct.d.cts +1 -1
- package/dist/construct.d.ts +1 -1
- package/dist/{content-DnNAXdH_.d.cts → content-BNUhgRbB.d.cts} +129 -126
- package/dist/{content-vx3Mbnjy.d.ts → content-CYPkduUB.d.ts} +129 -126
- package/dist/content-json-schema-defs.cjs +2 -1
- package/dist/content-json-schema-defs.js +2 -1
- package/dist/content.cjs +3 -2
- package/dist/content.d.cts +1 -1
- package/dist/content.d.ts +1 -1
- package/dist/content.js +3 -2
- package/dist/decompose.d.cts +2 -2
- package/dist/decompose.d.ts +2 -2
- package/dist/definitions.d.cts +1 -1
- package/dist/definitions.d.ts +1 -1
- 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 +2 -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-DMS4Zrfi.d.cts → package-node-C1HxQdNK.d.cts} +47 -47
- package/dist/{package-node-CjEahULr.d.ts → package-node-DdotoNEU.d.ts} +47 -47
- package/dist/package-node.d.cts +1 -1
- package/dist/package-node.d.ts +1 -1
- package/dist/package.d.cts +2 -2
- package/dist/package.d.ts +2 -2
- 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/table-grid.cjs +85 -0
- package/dist/table-grid.d.cts +50 -2
- package/dist/table-grid.d.ts +50 -2
- package/dist/table-grid.js +84 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +19 -16
- package/schemas/document-tree.schema.json +6 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
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-BNUhgRbB.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -23,23 +23,13 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
xml: z.ZodString;
|
|
25
25
|
}, z.core.$strict>>;
|
|
26
|
-
pageSize: z.ZodObject<{
|
|
27
|
-
widthPt: z.ZodNumber;
|
|
28
|
-
heightPt: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
margins: z.ZodObject<{
|
|
31
|
-
topPt: z.ZodNumber;
|
|
32
|
-
rightPt: z.ZodNumber;
|
|
33
|
-
bottomPt: z.ZodNumber;
|
|
34
|
-
leftPt: z.ZodNumber;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
26
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
body: "body";
|
|
38
27
|
chart: "chart";
|
|
39
28
|
diagram: "diagram";
|
|
40
29
|
table: "table";
|
|
41
30
|
image: "image";
|
|
42
31
|
notes: "notes";
|
|
32
|
+
body: "body";
|
|
43
33
|
}>>;
|
|
44
34
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
45
35
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -60,6 +50,16 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
60
50
|
at: z.ZodString;
|
|
61
51
|
}, z.core.$strip>>;
|
|
62
52
|
}, z.core.$strip>>;
|
|
53
|
+
pageSize: z.ZodObject<{
|
|
54
|
+
widthPt: z.ZodNumber;
|
|
55
|
+
heightPt: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
margins: z.ZodObject<{
|
|
58
|
+
topPt: z.ZodNumber;
|
|
59
|
+
rightPt: z.ZodNumber;
|
|
60
|
+
bottomPt: z.ZodNumber;
|
|
61
|
+
leftPt: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
63
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
nextPage: "nextPage";
|
|
65
65
|
continuous: "continuous";
|
|
@@ -107,12 +107,12 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strict>>;
|
|
108
108
|
notes: z.ZodString;
|
|
109
109
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
110
|
-
body: "body";
|
|
111
110
|
chart: "chart";
|
|
112
111
|
diagram: "diagram";
|
|
113
112
|
table: "table";
|
|
114
113
|
image: "image";
|
|
115
114
|
notes: "notes";
|
|
115
|
+
body: "body";
|
|
116
116
|
}>>;
|
|
117
117
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
118
118
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,7 +141,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
-
name: z.ZodString;
|
|
145
144
|
source: z.ZodOptional<z.ZodObject<{
|
|
146
145
|
format: z.ZodEnum<{
|
|
147
146
|
docx: "docx";
|
|
@@ -162,18 +161,14 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
162
161
|
}>;
|
|
163
162
|
xml: z.ZodString;
|
|
164
163
|
}, z.core.$strict>>;
|
|
165
|
-
|
|
166
|
-
index: z.ZodNumber;
|
|
167
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
168
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
164
|
+
name: z.ZodString;
|
|
170
165
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
body: "body";
|
|
172
166
|
chart: "chart";
|
|
173
167
|
diagram: "diagram";
|
|
174
168
|
table: "table";
|
|
175
169
|
image: "image";
|
|
176
170
|
notes: "notes";
|
|
171
|
+
body: "body";
|
|
177
172
|
}>>;
|
|
178
173
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
179
174
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -237,12 +232,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
237
232
|
}, z.core.$strip>;
|
|
238
233
|
cells: z.ZodArray<z.ZodObject<{
|
|
239
234
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
240
|
-
body: "body";
|
|
241
235
|
chart: "chart";
|
|
242
236
|
diagram: "diagram";
|
|
243
237
|
table: "table";
|
|
244
238
|
image: "image";
|
|
245
239
|
notes: "notes";
|
|
240
|
+
body: "body";
|
|
246
241
|
}>>;
|
|
247
242
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
248
243
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -317,12 +312,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
317
312
|
}, z.core.$strip>>;
|
|
318
313
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
314
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
320
|
-
body: "body";
|
|
321
315
|
chart: "chart";
|
|
322
316
|
diagram: "diagram";
|
|
323
317
|
table: "table";
|
|
324
318
|
image: "image";
|
|
325
319
|
notes: "notes";
|
|
320
|
+
body: "body";
|
|
326
321
|
}>>;
|
|
327
322
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
328
323
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -609,6 +604,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
609
604
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
610
605
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
606
|
}, z.core.$strip>>;
|
|
607
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
+
index: z.ZodNumber;
|
|
609
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
}, z.core.$strip>>;
|
|
612
612
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
613
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
614
|
startRow: z.ZodNumber;
|
|
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
617
617
|
endColumn: z.ZodNumber;
|
|
618
618
|
}, z.core.$strip>>;
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
|
-
time: "time";
|
|
621
620
|
date: "date";
|
|
622
621
|
custom: "custom";
|
|
623
622
|
decimal: "decimal";
|
|
624
623
|
list: "list";
|
|
624
|
+
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1092,11 +1092,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1092
1092
|
stops: z.ZodArray<z.ZodObject<{
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
|
-
num: "num";
|
|
1096
|
-
min: "min";
|
|
1097
|
-
max: "max";
|
|
1098
1095
|
formula: "formula";
|
|
1099
1096
|
percent: "percent";
|
|
1097
|
+
num: "num";
|
|
1098
|
+
max: "max";
|
|
1099
|
+
min: "min";
|
|
1100
1100
|
percentile: "percentile";
|
|
1101
1101
|
}>;
|
|
1102
1102
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,22 +1139,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1139
1139
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
|
-
num: "num";
|
|
1143
|
-
min: "min";
|
|
1144
|
-
max: "max";
|
|
1145
1142
|
formula: "formula";
|
|
1146
1143
|
percent: "percent";
|
|
1144
|
+
num: "num";
|
|
1145
|
+
max: "max";
|
|
1146
|
+
min: "min";
|
|
1147
1147
|
percentile: "percentile";
|
|
1148
1148
|
}>;
|
|
1149
1149
|
value: z.ZodOptional<z.ZodString>;
|
|
1150
1150
|
}, z.core.$strip>;
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
|
-
num: "num";
|
|
1154
|
-
min: "min";
|
|
1155
|
-
max: "max";
|
|
1156
1153
|
formula: "formula";
|
|
1157
1154
|
percent: "percent";
|
|
1155
|
+
num: "num";
|
|
1156
|
+
max: "max";
|
|
1157
|
+
min: "min";
|
|
1158
1158
|
percentile: "percentile";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1198,11 +1198,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1198
1198
|
iconSetType: z.ZodString;
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
|
-
num: "num";
|
|
1202
|
-
min: "min";
|
|
1203
|
-
max: "max";
|
|
1204
1201
|
formula: "formula";
|
|
1205
1202
|
percent: "percent";
|
|
1203
|
+
num: "num";
|
|
1204
|
+
max: "max";
|
|
1205
|
+
min: "min";
|
|
1206
1206
|
percentile: "percentile";
|
|
1207
1207
|
}>;
|
|
1208
1208
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1264,12 +1264,12 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1264
1264
|
xml: z.ZodString;
|
|
1265
1265
|
}, z.core.$strict>>;
|
|
1266
1266
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
-
body: "body";
|
|
1268
1267
|
chart: "chart";
|
|
1269
1268
|
diagram: "diagram";
|
|
1270
1269
|
table: "table";
|
|
1271
1270
|
image: "image";
|
|
1272
1271
|
notes: "notes";
|
|
1272
|
+
body: "body";
|
|
1273
1273
|
}>>;
|
|
1274
1274
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1275
1275
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1298,7 +1298,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1302
1301
|
source: z.ZodOptional<z.ZodObject<{
|
|
1303
1302
|
format: z.ZodEnum<{
|
|
1304
1303
|
docx: "docx";
|
|
@@ -1319,6 +1318,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1318
|
}>;
|
|
1320
1319
|
xml: z.ZodString;
|
|
1321
1320
|
}, z.core.$strict>>;
|
|
1321
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1322
1322
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1324
|
pageIndex: z.ZodNumber;
|
|
@@ -1328,12 +1328,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1328
1328
|
heightPt: z.ZodNumber;
|
|
1329
1329
|
}, z.core.$strip>>>;
|
|
1330
1330
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
|
-
body: "body";
|
|
1332
1331
|
chart: "chart";
|
|
1333
1332
|
diagram: "diagram";
|
|
1334
1333
|
table: "table";
|
|
1335
1334
|
image: "image";
|
|
1336
1335
|
notes: "notes";
|
|
1336
|
+
body: "body";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1339
1339
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1373,12 +1373,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1373
1373
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1374
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
1375
1375
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1376
|
-
body: "body";
|
|
1377
1376
|
chart: "chart";
|
|
1378
1377
|
diagram: "diagram";
|
|
1379
1378
|
table: "table";
|
|
1380
1379
|
image: "image";
|
|
1381
1380
|
notes: "notes";
|
|
1381
|
+
body: "body";
|
|
1382
1382
|
}>>;
|
|
1383
1383
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1384
1384
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1402,12 +1402,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1402
1402
|
kind: z.ZodLiteral<"paragraph">;
|
|
1403
1403
|
runs: z.ZodArray<z.ZodObject<{
|
|
1404
1404
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
-
body: "body";
|
|
1406
1405
|
chart: "chart";
|
|
1407
1406
|
diagram: "diagram";
|
|
1408
1407
|
table: "table";
|
|
1409
1408
|
image: "image";
|
|
1410
1409
|
notes: "notes";
|
|
1410
|
+
body: "body";
|
|
1411
1411
|
}>>;
|
|
1412
1412
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1413
1413
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
-
date: "date";
|
|
1486
1485
|
richText: "richText";
|
|
1487
1486
|
plainText: "plainText";
|
|
1488
1487
|
checkbox: "checkbox";
|
|
1489
1488
|
dropDown: "dropDown";
|
|
1490
1489
|
comboBox: "comboBox";
|
|
1490
|
+
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
-
comment: "comment";
|
|
1555
1554
|
bookmark: "bookmark";
|
|
1556
1555
|
footnote: "footnote";
|
|
1557
1556
|
endnote: "endnote";
|
|
1557
|
+
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1798,12 +1798,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1798
1798
|
type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
|
|
1799
1799
|
declare const ListParagraphSchema: z.ZodObject<{
|
|
1800
1800
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
-
body: "body";
|
|
1802
1801
|
chart: "chart";
|
|
1803
1802
|
diagram: "diagram";
|
|
1804
1803
|
table: "table";
|
|
1805
1804
|
image: "image";
|
|
1806
1805
|
notes: "notes";
|
|
1806
|
+
body: "body";
|
|
1807
1807
|
}>>;
|
|
1808
1808
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1827,12 +1827,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1827
1827
|
kind: z.ZodLiteral<"paragraph">;
|
|
1828
1828
|
runs: z.ZodArray<z.ZodObject<{
|
|
1829
1829
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1830
|
-
body: "body";
|
|
1831
1830
|
chart: "chart";
|
|
1832
1831
|
diagram: "diagram";
|
|
1833
1832
|
table: "table";
|
|
1834
1833
|
image: "image";
|
|
1835
1834
|
notes: "notes";
|
|
1835
|
+
body: "body";
|
|
1836
1836
|
}>>;
|
|
1837
1837
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1838
1838
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
-
date: "date";
|
|
1911
1910
|
richText: "richText";
|
|
1912
1911
|
plainText: "plainText";
|
|
1913
1912
|
checkbox: "checkbox";
|
|
1914
1913
|
dropDown: "dropDown";
|
|
1915
1914
|
comboBox: "comboBox";
|
|
1915
|
+
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
-
comment: "comment";
|
|
1980
1979
|
bookmark: "bookmark";
|
|
1981
1980
|
footnote: "footnote";
|
|
1982
1981
|
endnote: "endnote";
|
|
1982
|
+
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as ContentEmbeddedObject, Gt as ContentSheetImage, Sn as ContentVector, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, y as ContentConstructStart } from "./content-
|
|
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-CYPkduUB.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-C9cYkjnd.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package-node.d.ts
|
|
5
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -23,23 +23,13 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
23
23
|
}>;
|
|
24
24
|
xml: z.ZodString;
|
|
25
25
|
}, z.core.$strict>>;
|
|
26
|
-
pageSize: z.ZodObject<{
|
|
27
|
-
widthPt: z.ZodNumber;
|
|
28
|
-
heightPt: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
margins: z.ZodObject<{
|
|
31
|
-
topPt: z.ZodNumber;
|
|
32
|
-
rightPt: z.ZodNumber;
|
|
33
|
-
bottomPt: z.ZodNumber;
|
|
34
|
-
leftPt: z.ZodNumber;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
26
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
body: "body";
|
|
38
27
|
chart: "chart";
|
|
39
28
|
diagram: "diagram";
|
|
40
29
|
table: "table";
|
|
41
30
|
image: "image";
|
|
42
31
|
notes: "notes";
|
|
32
|
+
body: "body";
|
|
43
33
|
}>>;
|
|
44
34
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
45
35
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -60,6 +50,16 @@ declare const SectionDescriptorSchema: z.ZodObject<{
|
|
|
60
50
|
at: z.ZodString;
|
|
61
51
|
}, z.core.$strip>>;
|
|
62
52
|
}, z.core.$strip>>;
|
|
53
|
+
pageSize: z.ZodObject<{
|
|
54
|
+
widthPt: z.ZodNumber;
|
|
55
|
+
heightPt: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
margins: z.ZodObject<{
|
|
58
|
+
topPt: z.ZodNumber;
|
|
59
|
+
rightPt: z.ZodNumber;
|
|
60
|
+
bottomPt: z.ZodNumber;
|
|
61
|
+
leftPt: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
63
|
breakType: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
nextPage: "nextPage";
|
|
65
65
|
continuous: "continuous";
|
|
@@ -107,12 +107,12 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strict>>;
|
|
108
108
|
notes: z.ZodString;
|
|
109
109
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
110
|
-
body: "body";
|
|
111
110
|
chart: "chart";
|
|
112
111
|
diagram: "diagram";
|
|
113
112
|
table: "table";
|
|
114
113
|
image: "image";
|
|
115
114
|
notes: "notes";
|
|
115
|
+
body: "body";
|
|
116
116
|
}>>;
|
|
117
117
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
118
118
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -141,7 +141,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
143
143
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
144
|
-
name: z.ZodString;
|
|
145
144
|
source: z.ZodOptional<z.ZodObject<{
|
|
146
145
|
format: z.ZodEnum<{
|
|
147
146
|
docx: "docx";
|
|
@@ -162,18 +161,14 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
162
161
|
}>;
|
|
163
162
|
xml: z.ZodString;
|
|
164
163
|
}, z.core.$strict>>;
|
|
165
|
-
|
|
166
|
-
index: z.ZodNumber;
|
|
167
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
168
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
164
|
+
name: z.ZodString;
|
|
170
165
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
body: "body";
|
|
172
166
|
chart: "chart";
|
|
173
167
|
diagram: "diagram";
|
|
174
168
|
table: "table";
|
|
175
169
|
image: "image";
|
|
176
170
|
notes: "notes";
|
|
171
|
+
body: "body";
|
|
177
172
|
}>>;
|
|
178
173
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
179
174
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -237,12 +232,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
237
232
|
}, z.core.$strip>;
|
|
238
233
|
cells: z.ZodArray<z.ZodObject<{
|
|
239
234
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
240
|
-
body: "body";
|
|
241
235
|
chart: "chart";
|
|
242
236
|
diagram: "diagram";
|
|
243
237
|
table: "table";
|
|
244
238
|
image: "image";
|
|
245
239
|
notes: "notes";
|
|
240
|
+
body: "body";
|
|
246
241
|
}>>;
|
|
247
242
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
248
243
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -317,12 +312,12 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
317
312
|
}, z.core.$strip>>;
|
|
318
313
|
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
314
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
320
|
-
body: "body";
|
|
321
315
|
chart: "chart";
|
|
322
316
|
diagram: "diagram";
|
|
323
317
|
table: "table";
|
|
324
318
|
image: "image";
|
|
325
319
|
notes: "notes";
|
|
320
|
+
body: "body";
|
|
326
321
|
}>>;
|
|
327
322
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
328
323
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -609,6 +604,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
609
604
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
610
605
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
606
|
}, z.core.$strip>>;
|
|
607
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
608
|
+
index: z.ZodNumber;
|
|
609
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
}, z.core.$strip>>;
|
|
612
612
|
dataValidations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
613
|
ranges: z.ZodArray<z.ZodObject<{
|
|
614
614
|
startRow: z.ZodNumber;
|
|
@@ -617,11 +617,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
617
617
|
endColumn: z.ZodNumber;
|
|
618
618
|
}, z.core.$strip>>;
|
|
619
619
|
type: z.ZodEnum<{
|
|
620
|
-
time: "time";
|
|
621
620
|
date: "date";
|
|
622
621
|
custom: "custom";
|
|
623
622
|
decimal: "decimal";
|
|
624
623
|
list: "list";
|
|
624
|
+
time: "time";
|
|
625
625
|
whole: "whole";
|
|
626
626
|
textLength: "textLength";
|
|
627
627
|
}>;
|
|
@@ -1092,11 +1092,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1092
1092
|
stops: z.ZodArray<z.ZodObject<{
|
|
1093
1093
|
value: z.ZodObject<{
|
|
1094
1094
|
type: z.ZodEnum<{
|
|
1095
|
-
num: "num";
|
|
1096
|
-
min: "min";
|
|
1097
|
-
max: "max";
|
|
1098
1095
|
formula: "formula";
|
|
1099
1096
|
percent: "percent";
|
|
1097
|
+
num: "num";
|
|
1098
|
+
max: "max";
|
|
1099
|
+
min: "min";
|
|
1100
1100
|
percentile: "percentile";
|
|
1101
1101
|
}>;
|
|
1102
1102
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1139,22 +1139,22 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1139
1139
|
}, z.core.$strip>, z.ZodObject<{
|
|
1140
1140
|
min: z.ZodObject<{
|
|
1141
1141
|
type: z.ZodEnum<{
|
|
1142
|
-
num: "num";
|
|
1143
|
-
min: "min";
|
|
1144
|
-
max: "max";
|
|
1145
1142
|
formula: "formula";
|
|
1146
1143
|
percent: "percent";
|
|
1144
|
+
num: "num";
|
|
1145
|
+
max: "max";
|
|
1146
|
+
min: "min";
|
|
1147
1147
|
percentile: "percentile";
|
|
1148
1148
|
}>;
|
|
1149
1149
|
value: z.ZodOptional<z.ZodString>;
|
|
1150
1150
|
}, z.core.$strip>;
|
|
1151
1151
|
max: z.ZodObject<{
|
|
1152
1152
|
type: z.ZodEnum<{
|
|
1153
|
-
num: "num";
|
|
1154
|
-
min: "min";
|
|
1155
|
-
max: "max";
|
|
1156
1153
|
formula: "formula";
|
|
1157
1154
|
percent: "percent";
|
|
1155
|
+
num: "num";
|
|
1156
|
+
max: "max";
|
|
1157
|
+
min: "min";
|
|
1158
1158
|
percentile: "percentile";
|
|
1159
1159
|
}>;
|
|
1160
1160
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1198,11 +1198,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
1198
1198
|
iconSetType: z.ZodString;
|
|
1199
1199
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
1200
1200
|
type: z.ZodEnum<{
|
|
1201
|
-
num: "num";
|
|
1202
|
-
min: "min";
|
|
1203
|
-
max: "max";
|
|
1204
1201
|
formula: "formula";
|
|
1205
1202
|
percent: "percent";
|
|
1203
|
+
num: "num";
|
|
1204
|
+
max: "max";
|
|
1205
|
+
min: "min";
|
|
1206
1206
|
percentile: "percentile";
|
|
1207
1207
|
}>;
|
|
1208
1208
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -1264,12 +1264,12 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1264
1264
|
xml: z.ZodString;
|
|
1265
1265
|
}, z.core.$strict>>;
|
|
1266
1266
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1267
|
-
body: "body";
|
|
1268
1267
|
chart: "chart";
|
|
1269
1268
|
diagram: "diagram";
|
|
1270
1269
|
table: "table";
|
|
1271
1270
|
image: "image";
|
|
1272
1271
|
notes: "notes";
|
|
1272
|
+
body: "body";
|
|
1273
1273
|
}>>;
|
|
1274
1274
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1275
1275
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1298,7 +1298,6 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
|
|
|
1298
1298
|
}, z.core.$strict>;
|
|
1299
1299
|
type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
|
|
1300
1300
|
declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
1301
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1302
1301
|
source: z.ZodOptional<z.ZodObject<{
|
|
1303
1302
|
format: z.ZodEnum<{
|
|
1304
1303
|
docx: "docx";
|
|
@@ -1319,6 +1318,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1319
1318
|
}>;
|
|
1320
1319
|
xml: z.ZodString;
|
|
1321
1320
|
}, z.core.$strict>>;
|
|
1321
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1322
1322
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1323
1323
|
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1324
1324
|
pageIndex: z.ZodNumber;
|
|
@@ -1328,12 +1328,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1328
1328
|
heightPt: z.ZodNumber;
|
|
1329
1329
|
}, z.core.$strip>>>;
|
|
1330
1330
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1331
|
-
body: "body";
|
|
1332
1331
|
chart: "chart";
|
|
1333
1332
|
diagram: "diagram";
|
|
1334
1333
|
table: "table";
|
|
1335
1334
|
image: "image";
|
|
1336
1335
|
notes: "notes";
|
|
1336
|
+
body: "body";
|
|
1337
1337
|
}>>;
|
|
1338
1338
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1339
1339
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1373,12 +1373,12 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
|
|
|
1373
1373
|
type ShapeDescriptor = z.infer<typeof ShapeDescriptorSchema>;
|
|
1374
1374
|
declare const HeadingParagraphSchema: z.ZodObject<{
|
|
1375
1375
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1376
|
-
body: "body";
|
|
1377
1376
|
chart: "chart";
|
|
1378
1377
|
diagram: "diagram";
|
|
1379
1378
|
table: "table";
|
|
1380
1379
|
image: "image";
|
|
1381
1380
|
notes: "notes";
|
|
1381
|
+
body: "body";
|
|
1382
1382
|
}>>;
|
|
1383
1383
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1384
1384
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1402,12 +1402,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1402
1402
|
kind: z.ZodLiteral<"paragraph">;
|
|
1403
1403
|
runs: z.ZodArray<z.ZodObject<{
|
|
1404
1404
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
-
body: "body";
|
|
1406
1405
|
chart: "chart";
|
|
1407
1406
|
diagram: "diagram";
|
|
1408
1407
|
table: "table";
|
|
1409
1408
|
image: "image";
|
|
1410
1409
|
notes: "notes";
|
|
1410
|
+
body: "body";
|
|
1411
1411
|
}>>;
|
|
1412
1412
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1413
1413
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1482,12 +1482,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1482
1482
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1483
1483
|
kind: z.ZodLiteral<"contentControl">;
|
|
1484
1484
|
controlType: z.ZodEnum<{
|
|
1485
|
-
date: "date";
|
|
1486
1485
|
richText: "richText";
|
|
1487
1486
|
plainText: "plainText";
|
|
1488
1487
|
checkbox: "checkbox";
|
|
1489
1488
|
dropDown: "dropDown";
|
|
1490
1489
|
comboBox: "comboBox";
|
|
1490
|
+
date: "date";
|
|
1491
1491
|
picture: "picture";
|
|
1492
1492
|
repeatingSection: "repeatingSection";
|
|
1493
1493
|
button: "button";
|
|
@@ -1551,10 +1551,10 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1551
1551
|
}, z.core.$strict>, z.ZodObject<{
|
|
1552
1552
|
kind: z.ZodLiteral<"anchor">;
|
|
1553
1553
|
anchorType: z.ZodEnum<{
|
|
1554
|
-
comment: "comment";
|
|
1555
1554
|
bookmark: "bookmark";
|
|
1556
1555
|
footnote: "footnote";
|
|
1557
1556
|
endnote: "endnote";
|
|
1557
|
+
comment: "comment";
|
|
1558
1558
|
}>;
|
|
1559
1559
|
name: z.ZodString;
|
|
1560
1560
|
definition: z.ZodOptional<z.ZodString>;
|
|
@@ -1798,12 +1798,12 @@ declare const HeadingParagraphSchema: z.ZodObject<{
|
|
|
1798
1798
|
type HeadingParagraph = z.infer<typeof HeadingParagraphSchema>;
|
|
1799
1799
|
declare const ListParagraphSchema: z.ZodObject<{
|
|
1800
1800
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1801
|
-
body: "body";
|
|
1802
1801
|
chart: "chart";
|
|
1803
1802
|
diagram: "diagram";
|
|
1804
1803
|
table: "table";
|
|
1805
1804
|
image: "image";
|
|
1806
1805
|
notes: "notes";
|
|
1806
|
+
body: "body";
|
|
1807
1807
|
}>>;
|
|
1808
1808
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1809
1809
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1827,12 +1827,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1827
1827
|
kind: z.ZodLiteral<"paragraph">;
|
|
1828
1828
|
runs: z.ZodArray<z.ZodObject<{
|
|
1829
1829
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1830
|
-
body: "body";
|
|
1831
1830
|
chart: "chart";
|
|
1832
1831
|
diagram: "diagram";
|
|
1833
1832
|
table: "table";
|
|
1834
1833
|
image: "image";
|
|
1835
1834
|
notes: "notes";
|
|
1835
|
+
body: "body";
|
|
1836
1836
|
}>>;
|
|
1837
1837
|
interpretation: z.ZodOptional<z.ZodObject<{
|
|
1838
1838
|
transcript: z.ZodOptional<z.ZodObject<{
|
|
@@ -1907,12 +1907,12 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1907
1907
|
descriptor: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1908
1908
|
kind: z.ZodLiteral<"contentControl">;
|
|
1909
1909
|
controlType: z.ZodEnum<{
|
|
1910
|
-
date: "date";
|
|
1911
1910
|
richText: "richText";
|
|
1912
1911
|
plainText: "plainText";
|
|
1913
1912
|
checkbox: "checkbox";
|
|
1914
1913
|
dropDown: "dropDown";
|
|
1915
1914
|
comboBox: "comboBox";
|
|
1915
|
+
date: "date";
|
|
1916
1916
|
picture: "picture";
|
|
1917
1917
|
repeatingSection: "repeatingSection";
|
|
1918
1918
|
button: "button";
|
|
@@ -1976,10 +1976,10 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
1976
1976
|
}, z.core.$strict>, z.ZodObject<{
|
|
1977
1977
|
kind: z.ZodLiteral<"anchor">;
|
|
1978
1978
|
anchorType: z.ZodEnum<{
|
|
1979
|
-
comment: "comment";
|
|
1980
1979
|
bookmark: "bookmark";
|
|
1981
1980
|
footnote: "footnote";
|
|
1982
1981
|
endnote: "endnote";
|
|
1982
|
+
comment: "comment";
|
|
1983
1983
|
}>;
|
|
1984
1984
|
name: z.ZodString;
|
|
1985
1985
|
definition: z.ZodOptional<z.ZodString>;
|