document-model.js 2.7.17 → 3.1.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 +12 -4
- package/dist/content-json-schema-defs.cjs +67 -6
- package/dist/content-json-schema-defs.js +67 -6
- package/dist/content.cjs +45 -17
- package/dist/content.d.cts +298 -8
- package/dist/content.d.ts +298 -8
- package/dist/content.js +45 -19
- package/dist/{geometry-rj_ACBLD.d.cts → geometry-CvcjSwnA.d.cts} +9 -1
- package/dist/{geometry-rj_ACBLD.d.ts → geometry-CvcjSwnA.d.ts} +9 -1
- package/dist/geometry.cjs +8 -0
- package/dist/geometry.d.cts +2 -2
- package/dist/geometry.d.ts +2 -2
- package/dist/geometry.js +8 -1
- package/dist/index.cjs +3 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/package.cjs +4 -4
- package/dist/package.d.cts +83 -181
- package/dist/package.d.ts +83 -181
- package/dist/package.js +4 -4
- package/dist/schema-io.cjs +1 -1
- package/dist/schema-io.js +1 -1
- package/package.json +1 -1
- package/schemas/content-document.schema.json +438 -8
- package/schemas/document-package.schema.json +23 -5
- package/schemas/layout-document.schema.json +1 -1
package/dist/package.d.cts
CHANGED
|
@@ -2,12 +2,12 @@ import { d as MathMlNode } from "./mathml-B1oTCtzc.cjs";
|
|
|
2
2
|
import { ContentBlock, ContentEmbeddedObject } from "./content.cjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/package.d.ts
|
|
5
|
-
declare const DOCUMENT_PACKAGE_FORMAT_VERSION =
|
|
5
|
+
declare const DOCUMENT_PACKAGE_FORMAT_VERSION = 2;
|
|
6
6
|
declare const DocumentPackageSchema: z.ZodObject<{
|
|
7
|
-
formatVersion: z.ZodLiteral<
|
|
7
|
+
formatVersion: z.ZodLiteral<2>;
|
|
8
8
|
content: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9
9
|
kind: z.ZodLiteral<"wordprocessing">;
|
|
10
|
-
formatVersion: z.ZodLiteral<
|
|
10
|
+
formatVersion: z.ZodLiteral<3>;
|
|
11
11
|
metadata: z.ZodObject<{
|
|
12
12
|
title: z.ZodOptional<z.ZodString>;
|
|
13
13
|
author: z.ZodOptional<z.ZodString>;
|
|
@@ -33,7 +33,7 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
33
33
|
}, z.core.$strip>>;
|
|
34
34
|
}, z.core.$strip>, z.ZodObject<{
|
|
35
35
|
kind: z.ZodLiteral<"presentation">;
|
|
36
|
-
formatVersion: z.ZodLiteral<
|
|
36
|
+
formatVersion: z.ZodLiteral<3>;
|
|
37
37
|
metadata: z.ZodObject<{
|
|
38
38
|
title: z.ZodOptional<z.ZodString>;
|
|
39
39
|
author: z.ZodOptional<z.ZodString>;
|
|
@@ -66,13 +66,20 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
66
66
|
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
67
67
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
68
68
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
69
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
70
|
+
pageIndex: z.ZodNumber;
|
|
71
|
+
xPt: z.ZodNumber;
|
|
72
|
+
yPt: z.ZodNumber;
|
|
73
|
+
widthPt: z.ZodNumber;
|
|
74
|
+
heightPt: z.ZodNumber;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
69
76
|
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
70
77
|
}, z.core.$strip>>;
|
|
71
78
|
notes: z.ZodString;
|
|
72
79
|
}, z.core.$strip>>;
|
|
73
80
|
}, z.core.$strip>, z.ZodObject<{
|
|
74
81
|
kind: z.ZodLiteral<"spreadsheet">;
|
|
75
|
-
formatVersion: z.ZodLiteral<
|
|
82
|
+
formatVersion: z.ZodLiteral<3>;
|
|
76
83
|
metadata: z.ZodObject<{
|
|
77
84
|
title: z.ZodOptional<z.ZodString>;
|
|
78
85
|
author: z.ZodOptional<z.ZodString>;
|
|
@@ -139,6 +146,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
139
146
|
}, z.core.$strip>>;
|
|
140
147
|
hyperlink: z.ZodOptional<z.ZodString>;
|
|
141
148
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
149
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
+
pageIndex: z.ZodNumber;
|
|
151
|
+
xPt: z.ZodNumber;
|
|
152
|
+
yPt: z.ZodNumber;
|
|
153
|
+
widthPt: z.ZodNumber;
|
|
154
|
+
heightPt: z.ZodNumber;
|
|
155
|
+
}, z.core.$strip>>>;
|
|
142
156
|
}, z.core.$strip>>>;
|
|
143
157
|
colSpan: z.ZodOptional<z.ZodNumber>;
|
|
144
158
|
rowSpan: z.ZodOptional<z.ZodNumber>;
|
|
@@ -216,7 +230,23 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
216
230
|
bottom: "bottom";
|
|
217
231
|
middle: "middle";
|
|
218
232
|
}>>;
|
|
233
|
+
comment: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
text: z.ZodString;
|
|
235
|
+
author: z.ZodOptional<z.ZodString>;
|
|
236
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
237
|
+
replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
|
+
text: z.ZodString;
|
|
239
|
+
author: z.ZodOptional<z.ZodString>;
|
|
240
|
+
}, z.core.$strip>>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
219
242
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
243
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
244
|
+
pageIndex: z.ZodNumber;
|
|
245
|
+
xPt: z.ZodNumber;
|
|
246
|
+
yPt: z.ZodNumber;
|
|
247
|
+
widthPt: z.ZodNumber;
|
|
248
|
+
heightPt: z.ZodNumber;
|
|
249
|
+
}, z.core.$strip>>>;
|
|
220
250
|
}, z.core.$strip>>;
|
|
221
251
|
columns: z.ZodArray<z.ZodObject<{
|
|
222
252
|
index: z.ZodNumber;
|
|
@@ -239,6 +269,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
239
269
|
heightPt: z.ZodNumber;
|
|
240
270
|
altText: z.ZodOptional<z.ZodString>;
|
|
241
271
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
272
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
|
+
pageIndex: z.ZodNumber;
|
|
274
|
+
xPt: z.ZodNumber;
|
|
275
|
+
yPt: z.ZodNumber;
|
|
276
|
+
widthPt: z.ZodNumber;
|
|
277
|
+
heightPt: z.ZodNumber;
|
|
278
|
+
}, z.core.$strip>>>;
|
|
242
279
|
anchorRow: z.ZodNumber;
|
|
243
280
|
anchorColumn: z.ZodNumber;
|
|
244
281
|
offsetXPt: z.ZodNumber;
|
|
@@ -289,7 +326,7 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
289
326
|
}, z.core.$strip>>;
|
|
290
327
|
}, z.core.$strip>, z.ZodObject<{
|
|
291
328
|
kind: z.ZodLiteral<"drawing">;
|
|
292
|
-
formatVersion: z.ZodLiteral<
|
|
329
|
+
formatVersion: z.ZodLiteral<3>;
|
|
293
330
|
metadata: z.ZodObject<{
|
|
294
331
|
title: z.ZodOptional<z.ZodString>;
|
|
295
332
|
author: z.ZodOptional<z.ZodString>;
|
|
@@ -322,6 +359,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
322
359
|
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
323
360
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
324
361
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
362
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
363
|
+
pageIndex: z.ZodNumber;
|
|
364
|
+
xPt: z.ZodNumber;
|
|
365
|
+
yPt: z.ZodNumber;
|
|
366
|
+
widthPt: z.ZodNumber;
|
|
367
|
+
heightPt: z.ZodNumber;
|
|
368
|
+
}, z.core.$strip>>>;
|
|
325
369
|
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
326
370
|
}, z.core.$strip>>;
|
|
327
371
|
vectors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -354,6 +398,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
354
398
|
}, z.core.$strip>>;
|
|
355
399
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
356
400
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
401
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
402
|
+
pageIndex: z.ZodNumber;
|
|
403
|
+
xPt: z.ZodNumber;
|
|
404
|
+
yPt: z.ZodNumber;
|
|
405
|
+
widthPt: z.ZodNumber;
|
|
406
|
+
heightPt: z.ZodNumber;
|
|
407
|
+
}, z.core.$strip>>>;
|
|
357
408
|
}, z.core.$strip>, z.ZodObject<{
|
|
358
409
|
kind: z.ZodLiteral<"ellipse">;
|
|
359
410
|
frame: z.ZodObject<{
|
|
@@ -384,6 +435,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
384
435
|
}, z.core.$strip>>;
|
|
385
436
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
386
437
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
438
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
439
|
+
pageIndex: z.ZodNumber;
|
|
440
|
+
xPt: z.ZodNumber;
|
|
441
|
+
yPt: z.ZodNumber;
|
|
442
|
+
widthPt: z.ZodNumber;
|
|
443
|
+
heightPt: z.ZodNumber;
|
|
444
|
+
}, z.core.$strip>>>;
|
|
387
445
|
}, z.core.$strip>, z.ZodObject<{
|
|
388
446
|
kind: z.ZodLiteral<"line">;
|
|
389
447
|
from: z.ZodObject<{
|
|
@@ -410,6 +468,13 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
410
468
|
}, z.core.$strip>;
|
|
411
469
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
412
470
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
471
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
+
pageIndex: z.ZodNumber;
|
|
473
|
+
xPt: z.ZodNumber;
|
|
474
|
+
yPt: z.ZodNumber;
|
|
475
|
+
widthPt: z.ZodNumber;
|
|
476
|
+
heightPt: z.ZodNumber;
|
|
477
|
+
}, z.core.$strip>>>;
|
|
413
478
|
}, z.core.$strip>, z.ZodObject<{
|
|
414
479
|
kind: z.ZodLiteral<"path">;
|
|
415
480
|
frame: z.ZodObject<{
|
|
@@ -472,11 +537,18 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
472
537
|
}, z.core.$strip>>;
|
|
473
538
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
474
539
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
540
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
pageIndex: z.ZodNumber;
|
|
542
|
+
xPt: z.ZodNumber;
|
|
543
|
+
yPt: z.ZodNumber;
|
|
544
|
+
widthPt: z.ZodNumber;
|
|
545
|
+
heightPt: z.ZodNumber;
|
|
546
|
+
}, z.core.$strip>>>;
|
|
475
547
|
}, z.core.$strip>], "kind">>;
|
|
476
548
|
}, z.core.$strip>>;
|
|
477
549
|
}, z.core.$strip>, z.ZodObject<{
|
|
478
550
|
kind: z.ZodLiteral<"formula">;
|
|
479
|
-
formatVersion: z.ZodLiteral<
|
|
551
|
+
formatVersion: z.ZodLiteral<3>;
|
|
480
552
|
metadata: z.ZodObject<{
|
|
481
553
|
title: z.ZodOptional<z.ZodString>;
|
|
482
554
|
author: z.ZodOptional<z.ZodString>;
|
|
@@ -492,180 +564,10 @@ declare const DocumentPackageSchema: z.ZodObject<{
|
|
|
492
564
|
starMath: z.ZodOptional<z.ZodString>;
|
|
493
565
|
}, z.core.$strip>;
|
|
494
566
|
}, z.core.$strip>], "kind">;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
author: z.ZodOptional<z.ZodString>;
|
|
500
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
501
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
502
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
503
|
-
producer: z.ZodOptional<z.ZodString>;
|
|
504
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
505
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
506
|
-
}, z.core.$strip>;
|
|
507
|
-
pages: z.ZodArray<z.ZodObject<{
|
|
508
|
-
widthPt: z.ZodNumber;
|
|
509
|
-
heightPt: z.ZodNumber;
|
|
510
|
-
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
511
|
-
kind: z.ZodLiteral<"text">;
|
|
512
|
-
text: z.ZodString;
|
|
513
|
-
xPt: z.ZodNumber;
|
|
514
|
-
yPt: z.ZodNumber;
|
|
515
|
-
font: z.ZodObject<{
|
|
516
|
-
family: z.ZodString;
|
|
517
|
-
weight: z.ZodEnum<{
|
|
518
|
-
bold: "bold";
|
|
519
|
-
normal: "normal";
|
|
520
|
-
}>;
|
|
521
|
-
style: z.ZodEnum<{
|
|
522
|
-
italic: "italic";
|
|
523
|
-
normal: "normal";
|
|
524
|
-
}>;
|
|
525
|
-
}, z.core.$strip>;
|
|
526
|
-
sizePt: z.ZodNumber;
|
|
527
|
-
color: z.ZodObject<{
|
|
528
|
-
r: z.ZodNumber;
|
|
529
|
-
g: z.ZodNumber;
|
|
530
|
-
b: z.ZodNumber;
|
|
531
|
-
}, z.core.$strip>;
|
|
532
|
-
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
533
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
534
|
-
underline: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
536
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
537
|
-
kind: z.ZodLiteral<"image">;
|
|
538
|
-
imageId: z.ZodString;
|
|
539
|
-
xPt: z.ZodNumber;
|
|
540
|
-
yPt: z.ZodNumber;
|
|
541
|
-
widthPt: z.ZodNumber;
|
|
542
|
-
heightPt: z.ZodNumber;
|
|
543
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
544
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
545
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
546
|
-
kind: z.ZodLiteral<"rect">;
|
|
547
|
-
xPt: z.ZodNumber;
|
|
548
|
-
yPt: z.ZodNumber;
|
|
549
|
-
widthPt: z.ZodNumber;
|
|
550
|
-
heightPt: z.ZodNumber;
|
|
551
|
-
fill: z.ZodOptional<z.ZodObject<{
|
|
552
|
-
r: z.ZodNumber;
|
|
553
|
-
g: z.ZodNumber;
|
|
554
|
-
b: z.ZodNumber;
|
|
555
|
-
}, z.core.$strip>>;
|
|
556
|
-
stroke: z.ZodOptional<z.ZodObject<{
|
|
557
|
-
color: z.ZodObject<{
|
|
558
|
-
r: z.ZodNumber;
|
|
559
|
-
g: z.ZodNumber;
|
|
560
|
-
b: z.ZodNumber;
|
|
561
|
-
}, z.core.$strip>;
|
|
562
|
-
widthPt: z.ZodNumber;
|
|
563
|
-
}, z.core.$strip>>;
|
|
564
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
565
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
566
|
-
kind: z.ZodLiteral<"line">;
|
|
567
|
-
x1Pt: z.ZodNumber;
|
|
568
|
-
y1Pt: z.ZodNumber;
|
|
569
|
-
x2Pt: z.ZodNumber;
|
|
570
|
-
y2Pt: z.ZodNumber;
|
|
571
|
-
color: z.ZodObject<{
|
|
572
|
-
r: z.ZodNumber;
|
|
573
|
-
g: z.ZodNumber;
|
|
574
|
-
b: z.ZodNumber;
|
|
575
|
-
}, z.core.$strip>;
|
|
576
|
-
widthPt: z.ZodNumber;
|
|
577
|
-
style: z.ZodOptional<z.ZodEnum<{
|
|
578
|
-
solid: "solid";
|
|
579
|
-
dashed: "dashed";
|
|
580
|
-
dotted: "dotted";
|
|
581
|
-
double: "double";
|
|
582
|
-
}>>;
|
|
583
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
584
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
-
kind: z.ZodLiteral<"ellipse">;
|
|
586
|
-
xPt: z.ZodNumber;
|
|
587
|
-
yPt: z.ZodNumber;
|
|
588
|
-
widthPt: z.ZodNumber;
|
|
589
|
-
heightPt: z.ZodNumber;
|
|
590
|
-
fill: z.ZodOptional<z.ZodObject<{
|
|
591
|
-
r: z.ZodNumber;
|
|
592
|
-
g: z.ZodNumber;
|
|
593
|
-
b: z.ZodNumber;
|
|
594
|
-
}, z.core.$strip>>;
|
|
595
|
-
stroke: z.ZodOptional<z.ZodObject<{
|
|
596
|
-
color: z.ZodObject<{
|
|
597
|
-
r: z.ZodNumber;
|
|
598
|
-
g: z.ZodNumber;
|
|
599
|
-
b: z.ZodNumber;
|
|
600
|
-
}, z.core.$strip>;
|
|
601
|
-
widthPt: z.ZodNumber;
|
|
602
|
-
}, z.core.$strip>>;
|
|
603
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
604
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
605
|
-
kind: z.ZodLiteral<"path">;
|
|
606
|
-
subpaths: z.ZodArray<z.ZodObject<{
|
|
607
|
-
startXPt: z.ZodNumber;
|
|
608
|
-
startYPt: z.ZodNumber;
|
|
609
|
-
segments: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
610
|
-
kind: z.ZodLiteral<"line">;
|
|
611
|
-
xPt: z.ZodNumber;
|
|
612
|
-
yPt: z.ZodNumber;
|
|
613
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
614
|
-
kind: z.ZodLiteral<"cubic">;
|
|
615
|
-
c1xPt: z.ZodNumber;
|
|
616
|
-
c1yPt: z.ZodNumber;
|
|
617
|
-
c2xPt: z.ZodNumber;
|
|
618
|
-
c2yPt: z.ZodNumber;
|
|
619
|
-
xPt: z.ZodNumber;
|
|
620
|
-
yPt: z.ZodNumber;
|
|
621
|
-
}, z.core.$strip>], "kind">>;
|
|
622
|
-
closed: z.ZodBoolean;
|
|
623
|
-
}, z.core.$strip>>;
|
|
624
|
-
fill: z.ZodOptional<z.ZodObject<{
|
|
625
|
-
r: z.ZodNumber;
|
|
626
|
-
g: z.ZodNumber;
|
|
627
|
-
b: z.ZodNumber;
|
|
628
|
-
}, z.core.$strip>>;
|
|
629
|
-
fillRule: z.ZodOptional<z.ZodEnum<{
|
|
630
|
-
nonzero: "nonzero";
|
|
631
|
-
evenodd: "evenodd";
|
|
632
|
-
}>>;
|
|
633
|
-
stroke: z.ZodOptional<z.ZodObject<{
|
|
634
|
-
color: z.ZodObject<{
|
|
635
|
-
r: z.ZodNumber;
|
|
636
|
-
g: z.ZodNumber;
|
|
637
|
-
b: z.ZodNumber;
|
|
638
|
-
}, z.core.$strip>;
|
|
639
|
-
widthPt: z.ZodNumber;
|
|
640
|
-
}, z.core.$strip>>;
|
|
641
|
-
style: z.ZodOptional<z.ZodEnum<{
|
|
642
|
-
solid: "solid";
|
|
643
|
-
dashed: "dashed";
|
|
644
|
-
dotted: "dotted";
|
|
645
|
-
double: "double";
|
|
646
|
-
}>>;
|
|
647
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
648
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
-
kind: z.ZodLiteral<"link">;
|
|
650
|
-
uri: z.ZodString;
|
|
651
|
-
xPt: z.ZodNumber;
|
|
652
|
-
yPt: z.ZodNumber;
|
|
653
|
-
widthPt: z.ZodNumber;
|
|
654
|
-
heightPt: z.ZodNumber;
|
|
655
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
656
|
-
}, z.core.$strip>], "kind">>;
|
|
657
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
658
|
-
}, z.core.$strip>>;
|
|
659
|
-
images: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
660
|
-
format: z.ZodEnum<{
|
|
661
|
-
png: "png";
|
|
662
|
-
jpeg: "jpeg";
|
|
663
|
-
}>;
|
|
664
|
-
base64: z.ZodString;
|
|
665
|
-
widthPx: z.ZodNumber;
|
|
666
|
-
heightPx: z.ZodNumber;
|
|
667
|
-
}, z.core.$strip>>;
|
|
668
|
-
}, z.core.$strip>>;
|
|
567
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
568
|
+
widthPt: z.ZodNumber;
|
|
569
|
+
heightPt: z.ZodNumber;
|
|
570
|
+
}, z.core.$strip>>>;
|
|
669
571
|
}, z.core.$strip>;
|
|
670
572
|
type DocumentPackage = z.infer<typeof DocumentPackageSchema>;
|
|
671
573
|
//#endregion
|