@segnavia/format 0.40.0 → 0.40.1
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/book-section.d.ts +3 -3
- package/dist/book.d.ts +14 -14
- package/dist/cover.d.ts +17 -17
- package/dist/deck-from-slides.d.ts +1 -1
- package/dist/deck.d.ts +3 -3
- package/dist/imposition-schema.d.ts +6 -6
- package/dist/json-schemas.d.ts +42 -42
- package/dist/page.d.ts +9 -9
- package/dist/paper.d.ts +4 -4
- package/dist/placement.d.ts +1 -1
- package/dist/print.d.ts +1 -1
- package/package.json +1 -1
package/dist/book-section.d.ts
CHANGED
|
@@ -165,9 +165,9 @@ export declare const PlacedSection: z.ZodObject<{
|
|
|
165
165
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
166
166
|
box: z.ZodOptional<z.ZodEnum<{
|
|
167
167
|
media: "media";
|
|
168
|
+
bleed: "bleed";
|
|
168
169
|
crop: "crop";
|
|
169
170
|
trim: "trim";
|
|
170
|
-
bleed: "bleed";
|
|
171
171
|
art: "art";
|
|
172
172
|
}>>;
|
|
173
173
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -278,9 +278,9 @@ export declare const BookFrontMatterEntry: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
278
278
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
279
279
|
box: z.ZodOptional<z.ZodEnum<{
|
|
280
280
|
media: "media";
|
|
281
|
+
bleed: "bleed";
|
|
281
282
|
crop: "crop";
|
|
282
283
|
trim: "trim";
|
|
283
|
-
bleed: "bleed";
|
|
284
284
|
art: "art";
|
|
285
285
|
}>>;
|
|
286
286
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -411,9 +411,9 @@ export declare const BookChapterEntry: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
411
411
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
412
412
|
box: z.ZodOptional<z.ZodEnum<{
|
|
413
413
|
media: "media";
|
|
414
|
+
bleed: "bleed";
|
|
414
415
|
crop: "crop";
|
|
415
416
|
trim: "trim";
|
|
416
|
-
bleed: "bleed";
|
|
417
417
|
art: "art";
|
|
418
418
|
}>>;
|
|
419
419
|
crop: z.ZodOptional<z.ZodObject<{
|
package/dist/book.d.ts
CHANGED
|
@@ -40,8 +40,8 @@ export declare const BookPage: z.ZodObject<{
|
|
|
40
40
|
width: z.ZodNumber;
|
|
41
41
|
height: z.ZodNumber;
|
|
42
42
|
unit: z.ZodEnum<{
|
|
43
|
-
in: "in";
|
|
44
43
|
mm: "mm";
|
|
44
|
+
in: "in";
|
|
45
45
|
pt: "pt";
|
|
46
46
|
}>;
|
|
47
47
|
}, z.core.$strip>]>;
|
|
@@ -130,8 +130,8 @@ export declare const BookShape: z.ZodObject<{
|
|
|
130
130
|
width: z.ZodNumber;
|
|
131
131
|
height: z.ZodNumber;
|
|
132
132
|
unit: z.ZodEnum<{
|
|
133
|
-
in: "in";
|
|
134
133
|
mm: "mm";
|
|
134
|
+
in: "in";
|
|
135
135
|
pt: "pt";
|
|
136
136
|
}>;
|
|
137
137
|
}, z.core.$strip>]>;
|
|
@@ -229,9 +229,9 @@ export declare const BookShape: z.ZodObject<{
|
|
|
229
229
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
230
230
|
box: z.ZodOptional<z.ZodEnum<{
|
|
231
231
|
media: "media";
|
|
232
|
+
bleed: "bleed";
|
|
232
233
|
crop: "crop";
|
|
233
234
|
trim: "trim";
|
|
234
|
-
bleed: "bleed";
|
|
235
235
|
art: "art";
|
|
236
236
|
}>>;
|
|
237
237
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -505,16 +505,16 @@ export declare const BookViewPagination: z.ZodObject<{
|
|
|
505
505
|
}, z.core.$strip>;
|
|
506
506
|
export type BookViewPagination = z.infer<typeof BookViewPagination>;
|
|
507
507
|
export declare const BookView: z.ZodObject<{
|
|
508
|
+
scripts: z.ZodDefault<z.ZodEnum<{
|
|
509
|
+
refuse: "refuse";
|
|
510
|
+
sandboxed: "sandboxed";
|
|
511
|
+
}>>;
|
|
508
512
|
dir: z.ZodOptional<z.ZodEnum<{
|
|
509
513
|
auto: "auto";
|
|
510
514
|
ltr: "ltr";
|
|
511
515
|
rtl: "rtl";
|
|
512
516
|
}>>;
|
|
513
517
|
lang: z.ZodOptional<z.ZodString>;
|
|
514
|
-
scripts: z.ZodDefault<z.ZodEnum<{
|
|
515
|
-
refuse: "refuse";
|
|
516
|
-
sandboxed: "sandboxed";
|
|
517
|
-
}>>;
|
|
518
518
|
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
519
519
|
app: z.ZodString;
|
|
520
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -643,8 +643,8 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
643
643
|
width: z.ZodNumber;
|
|
644
644
|
height: z.ZodNumber;
|
|
645
645
|
unit: z.ZodEnum<{
|
|
646
|
-
in: "in";
|
|
647
646
|
mm: "mm";
|
|
647
|
+
in: "in";
|
|
648
648
|
pt: "pt";
|
|
649
649
|
}>;
|
|
650
650
|
}, z.core.$strip>]>;
|
|
@@ -742,9 +742,9 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
742
742
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
743
743
|
box: z.ZodOptional<z.ZodEnum<{
|
|
744
744
|
media: "media";
|
|
745
|
+
bleed: "bleed";
|
|
745
746
|
crop: "crop";
|
|
746
747
|
trim: "trim";
|
|
747
|
-
bleed: "bleed";
|
|
748
748
|
art: "art";
|
|
749
749
|
}>>;
|
|
750
750
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -1013,7 +1013,7 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
1013
1013
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1014
1014
|
width: number;
|
|
1015
1015
|
height: number;
|
|
1016
|
-
unit: "
|
|
1016
|
+
unit: "mm" | "in" | "pt";
|
|
1017
1017
|
};
|
|
1018
1018
|
orientation: "portrait" | "landscape";
|
|
1019
1019
|
margin: {
|
|
@@ -1118,7 +1118,7 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
1118
1118
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1119
1119
|
width: number;
|
|
1120
1120
|
height: number;
|
|
1121
|
-
unit: "
|
|
1121
|
+
unit: "mm" | "in" | "pt";
|
|
1122
1122
|
};
|
|
1123
1123
|
orientation: "portrait" | "landscape";
|
|
1124
1124
|
margin: {
|
|
@@ -1171,7 +1171,7 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
1171
1171
|
kind: "deck" | "page" | "paper" | "book" | "media" | "shot";
|
|
1172
1172
|
address: string;
|
|
1173
1173
|
page?: string | number | undefined;
|
|
1174
|
-
box?: "media" | "
|
|
1174
|
+
box?: "media" | "bleed" | "crop" | "trim" | "art" | undefined;
|
|
1175
1175
|
crop?: {
|
|
1176
1176
|
top?: string | undefined;
|
|
1177
1177
|
right?: string | undefined;
|
|
@@ -1295,7 +1295,7 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
1295
1295
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1296
1296
|
width: number;
|
|
1297
1297
|
height: number;
|
|
1298
|
-
unit: "
|
|
1298
|
+
unit: "mm" | "in" | "pt";
|
|
1299
1299
|
};
|
|
1300
1300
|
orientation: "portrait" | "landscape";
|
|
1301
1301
|
margin: {
|
|
@@ -1396,7 +1396,7 @@ export declare const Book: z.ZodPipe<z.ZodPreprocess<z.ZodPipe<z.ZodObject<{
|
|
|
1396
1396
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1397
1397
|
width: number;
|
|
1398
1398
|
height: number;
|
|
1399
|
-
unit: "
|
|
1399
|
+
unit: "mm" | "in" | "pt";
|
|
1400
1400
|
};
|
|
1401
1401
|
orientation: "portrait" | "landscape";
|
|
1402
1402
|
margin: {
|
package/dist/cover.d.ts
CHANGED
|
@@ -70,8 +70,8 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
70
70
|
width: z.ZodNumber;
|
|
71
71
|
height: z.ZodNumber;
|
|
72
72
|
unit: z.ZodEnum<{
|
|
73
|
-
in: "in";
|
|
74
73
|
mm: "mm";
|
|
74
|
+
in: "in";
|
|
75
75
|
pt: "pt";
|
|
76
76
|
}>;
|
|
77
77
|
}, z.core.$strip>]>;
|
|
@@ -179,11 +179,11 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
179
179
|
}, z.core.$strip>, z.ZodTransform<{
|
|
180
180
|
body: PageBody;
|
|
181
181
|
size: {
|
|
182
|
-
width: number;
|
|
183
|
-
height: number;
|
|
184
|
-
} | {
|
|
185
182
|
readonly width: "full";
|
|
186
183
|
readonly height: "auto";
|
|
184
|
+
} | {
|
|
185
|
+
width: number;
|
|
186
|
+
height: number;
|
|
187
187
|
} | {
|
|
188
188
|
width: number | "full" | "standard" | "wide";
|
|
189
189
|
height: "auto";
|
|
@@ -196,7 +196,7 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
196
196
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
197
197
|
width: number;
|
|
198
198
|
height: number;
|
|
199
|
-
unit: "
|
|
199
|
+
unit: "mm" | "in" | "pt";
|
|
200
200
|
};
|
|
201
201
|
orientation: "portrait" | "landscape";
|
|
202
202
|
bleed: number;
|
|
@@ -249,11 +249,11 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
249
249
|
})[] | undefined;
|
|
250
250
|
}, {
|
|
251
251
|
size: {
|
|
252
|
-
width: number;
|
|
253
|
-
height: number;
|
|
254
|
-
} | {
|
|
255
252
|
readonly width: "full";
|
|
256
253
|
readonly height: "auto";
|
|
254
|
+
} | {
|
|
255
|
+
width: number;
|
|
256
|
+
height: number;
|
|
257
257
|
} | {
|
|
258
258
|
width: number | "full" | "standard" | "wide";
|
|
259
259
|
height: "auto";
|
|
@@ -273,7 +273,7 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
273
273
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
274
274
|
width: number;
|
|
275
275
|
height: number;
|
|
276
|
-
unit: "
|
|
276
|
+
unit: "mm" | "in" | "pt";
|
|
277
277
|
};
|
|
278
278
|
orientation: "portrait" | "landscape";
|
|
279
279
|
bleed: number;
|
|
@@ -333,7 +333,7 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
333
333
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
334
334
|
width: number;
|
|
335
335
|
height: number;
|
|
336
|
-
unit: "
|
|
336
|
+
unit: "mm" | "in" | "pt";
|
|
337
337
|
};
|
|
338
338
|
orientation: "portrait" | "landscape";
|
|
339
339
|
bleed: number;
|
|
@@ -349,11 +349,11 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
349
349
|
};
|
|
350
350
|
body: PageBody;
|
|
351
351
|
size: {
|
|
352
|
-
width: number;
|
|
353
|
-
height: number;
|
|
354
|
-
} | {
|
|
355
352
|
readonly width: "full";
|
|
356
353
|
readonly height: "auto";
|
|
354
|
+
} | {
|
|
355
|
+
width: number;
|
|
356
|
+
height: number;
|
|
357
357
|
} | {
|
|
358
358
|
width: number | "full" | "standard" | "wide";
|
|
359
359
|
height: "auto";
|
|
@@ -406,11 +406,11 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
406
406
|
page: {
|
|
407
407
|
body: PageBody;
|
|
408
408
|
size: {
|
|
409
|
-
width: number;
|
|
410
|
-
height: number;
|
|
411
|
-
} | {
|
|
412
409
|
readonly width: "full";
|
|
413
410
|
readonly height: "auto";
|
|
411
|
+
} | {
|
|
412
|
+
width: number;
|
|
413
|
+
height: number;
|
|
414
414
|
} | {
|
|
415
415
|
width: number | "full" | "standard" | "wide";
|
|
416
416
|
height: "auto";
|
|
@@ -423,7 +423,7 @@ export declare const Cover: z.ZodPipe<z.ZodObject<{
|
|
|
423
423
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
424
424
|
width: number;
|
|
425
425
|
height: number;
|
|
426
|
-
unit: "
|
|
426
|
+
unit: "mm" | "in" | "pt";
|
|
427
427
|
};
|
|
428
428
|
orientation: "portrait" | "landscape";
|
|
429
429
|
bleed: number;
|
|
@@ -93,7 +93,7 @@ export declare function deckFromSlides(rows: SlideRow[], options: DeckFromSlides
|
|
|
93
93
|
kind: "deck" | "page" | "paper" | "book" | "media" | "shot";
|
|
94
94
|
address: string;
|
|
95
95
|
page?: string | number | undefined;
|
|
96
|
-
box?: "media" | "
|
|
96
|
+
box?: "media" | "bleed" | "crop" | "trim" | "art" | undefined;
|
|
97
97
|
crop?: {
|
|
98
98
|
top?: string | undefined;
|
|
99
99
|
right?: string | undefined;
|
package/dist/deck.d.ts
CHANGED
|
@@ -257,9 +257,9 @@ export declare const SlideContent: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
|
|
|
257
257
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
258
258
|
box: z.ZodOptional<z.ZodEnum<{
|
|
259
259
|
media: "media";
|
|
260
|
+
bleed: "bleed";
|
|
260
261
|
crop: "crop";
|
|
261
262
|
trim: "trim";
|
|
262
|
-
bleed: "bleed";
|
|
263
263
|
art: "art";
|
|
264
264
|
}>>;
|
|
265
265
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -384,9 +384,9 @@ export declare const Slide: z.ZodObject<{
|
|
|
384
384
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
385
385
|
box: z.ZodOptional<z.ZodEnum<{
|
|
386
386
|
media: "media";
|
|
387
|
+
bleed: "bleed";
|
|
387
388
|
crop: "crop";
|
|
388
389
|
trim: "trim";
|
|
389
|
-
bleed: "bleed";
|
|
390
390
|
art: "art";
|
|
391
391
|
}>>;
|
|
392
392
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -633,9 +633,9 @@ export declare const Deck: z.ZodObject<{
|
|
|
633
633
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
634
634
|
box: z.ZodOptional<z.ZodEnum<{
|
|
635
635
|
media: "media";
|
|
636
|
+
bleed: "bleed";
|
|
636
637
|
crop: "crop";
|
|
637
638
|
trim: "trim";
|
|
638
|
-
bleed: "bleed";
|
|
639
639
|
art: "art";
|
|
640
640
|
}>>;
|
|
641
641
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -34,8 +34,8 @@ export declare const Imposition: z.ZodPipe<z.ZodObject<{
|
|
|
34
34
|
width: z.ZodNumber;
|
|
35
35
|
height: z.ZodNumber;
|
|
36
36
|
unit: z.ZodEnum<{
|
|
37
|
-
in: "in";
|
|
38
37
|
mm: "mm";
|
|
38
|
+
in: "in";
|
|
39
39
|
pt: "pt";
|
|
40
40
|
}>;
|
|
41
41
|
}, z.core.$strip>]>;
|
|
@@ -44,8 +44,8 @@ export declare const Imposition: z.ZodPipe<z.ZodObject<{
|
|
|
44
44
|
landscape: "landscape";
|
|
45
45
|
}>>;
|
|
46
46
|
unit: z.ZodDefault<z.ZodEnum<{
|
|
47
|
-
in: "in";
|
|
48
47
|
mm: "mm";
|
|
48
|
+
in: "in";
|
|
49
49
|
pt: "pt";
|
|
50
50
|
}>>;
|
|
51
51
|
margin: z.ZodDefault<z.ZodObject<{
|
|
@@ -105,10 +105,10 @@ export declare const Imposition: z.ZodPipe<z.ZodObject<{
|
|
|
105
105
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
106
106
|
width: number;
|
|
107
107
|
height: number;
|
|
108
|
-
unit: "
|
|
108
|
+
unit: "mm" | "in" | "pt";
|
|
109
109
|
};
|
|
110
110
|
orientation: "portrait" | "landscape";
|
|
111
|
-
unit: "
|
|
111
|
+
unit: "mm" | "in" | "pt";
|
|
112
112
|
margin: {
|
|
113
113
|
top: number;
|
|
114
114
|
right: number;
|
|
@@ -146,10 +146,10 @@ export declare const Imposition: z.ZodPipe<z.ZodObject<{
|
|
|
146
146
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
147
147
|
width: number;
|
|
148
148
|
height: number;
|
|
149
|
-
unit: "
|
|
149
|
+
unit: "mm" | "in" | "pt";
|
|
150
150
|
};
|
|
151
151
|
orientation: "portrait" | "landscape";
|
|
152
|
-
unit: "
|
|
152
|
+
unit: "mm" | "in" | "pt";
|
|
153
153
|
margin: {
|
|
154
154
|
top: number;
|
|
155
155
|
right: number;
|
package/dist/json-schemas.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare function jsonSchemas(): {
|
|
|
44
44
|
width: z.ZodNumber;
|
|
45
45
|
height: z.ZodNumber;
|
|
46
46
|
unit: z.ZodEnum<{
|
|
47
|
-
in: "in";
|
|
48
47
|
mm: "mm";
|
|
48
|
+
in: "in";
|
|
49
49
|
pt: "pt";
|
|
50
50
|
}>;
|
|
51
51
|
}, z.core.$strip>]>;
|
|
@@ -143,9 +143,9 @@ export declare function jsonSchemas(): {
|
|
|
143
143
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
144
144
|
box: z.ZodOptional<z.ZodEnum<{
|
|
145
145
|
media: "media";
|
|
146
|
+
bleed: "bleed";
|
|
146
147
|
crop: "crop";
|
|
147
148
|
trim: "trim";
|
|
148
|
-
bleed: "bleed";
|
|
149
149
|
art: "art";
|
|
150
150
|
}>>;
|
|
151
151
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -344,16 +344,16 @@ export declare function jsonSchemas(): {
|
|
|
344
344
|
}, z.core.$strip>>;
|
|
345
345
|
}, z.core.$strip>>;
|
|
346
346
|
bookView: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
347
|
+
scripts: z.ZodDefault<z.ZodEnum<{
|
|
348
|
+
refuse: "refuse";
|
|
349
|
+
sandboxed: "sandboxed";
|
|
350
|
+
}>>;
|
|
347
351
|
dir: z.ZodOptional<z.ZodEnum<{
|
|
348
352
|
auto: "auto";
|
|
349
353
|
ltr: "ltr";
|
|
350
354
|
rtl: "rtl";
|
|
351
355
|
}>>;
|
|
352
356
|
lang: z.ZodOptional<z.ZodString>;
|
|
353
|
-
scripts: z.ZodDefault<z.ZodEnum<{
|
|
354
|
-
refuse: "refuse";
|
|
355
|
-
sandboxed: "sandboxed";
|
|
356
|
-
}>>;
|
|
357
357
|
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
358
358
|
app: z.ZodString;
|
|
359
359
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -501,8 +501,8 @@ export declare function jsonSchemas(): {
|
|
|
501
501
|
width: z.ZodNumber;
|
|
502
502
|
height: z.ZodNumber;
|
|
503
503
|
unit: z.ZodEnum<{
|
|
504
|
-
in: "in";
|
|
505
504
|
mm: "mm";
|
|
505
|
+
in: "in";
|
|
506
506
|
pt: "pt";
|
|
507
507
|
}>;
|
|
508
508
|
}, z.core.$strip>]>;
|
|
@@ -610,11 +610,11 @@ export declare function jsonSchemas(): {
|
|
|
610
610
|
}, z.core.$strip>, z.ZodTransform<{
|
|
611
611
|
body: PageBody;
|
|
612
612
|
size: {
|
|
613
|
-
width: number;
|
|
614
|
-
height: number;
|
|
615
|
-
} | {
|
|
616
613
|
readonly width: "full";
|
|
617
614
|
readonly height: "auto";
|
|
615
|
+
} | {
|
|
616
|
+
width: number;
|
|
617
|
+
height: number;
|
|
618
618
|
} | {
|
|
619
619
|
width: number | "full" | "standard" | "wide";
|
|
620
620
|
height: "auto";
|
|
@@ -627,7 +627,7 @@ export declare function jsonSchemas(): {
|
|
|
627
627
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
628
628
|
width: number;
|
|
629
629
|
height: number;
|
|
630
|
-
unit: "
|
|
630
|
+
unit: "mm" | "in" | "pt";
|
|
631
631
|
};
|
|
632
632
|
orientation: "portrait" | "landscape";
|
|
633
633
|
bleed: number;
|
|
@@ -680,11 +680,11 @@ export declare function jsonSchemas(): {
|
|
|
680
680
|
})[] | undefined;
|
|
681
681
|
}, {
|
|
682
682
|
size: {
|
|
683
|
-
width: number;
|
|
684
|
-
height: number;
|
|
685
|
-
} | {
|
|
686
683
|
readonly width: "full";
|
|
687
684
|
readonly height: "auto";
|
|
685
|
+
} | {
|
|
686
|
+
width: number;
|
|
687
|
+
height: number;
|
|
688
688
|
} | {
|
|
689
689
|
width: number | "full" | "standard" | "wide";
|
|
690
690
|
height: "auto";
|
|
@@ -704,7 +704,7 @@ export declare function jsonSchemas(): {
|
|
|
704
704
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
705
705
|
width: number;
|
|
706
706
|
height: number;
|
|
707
|
-
unit: "
|
|
707
|
+
unit: "mm" | "in" | "pt";
|
|
708
708
|
};
|
|
709
709
|
orientation: "portrait" | "landscape";
|
|
710
710
|
bleed: number;
|
|
@@ -796,8 +796,8 @@ export declare function jsonSchemas(): {
|
|
|
796
796
|
width: z.ZodNumber;
|
|
797
797
|
height: z.ZodNumber;
|
|
798
798
|
unit: z.ZodEnum<{
|
|
799
|
-
in: "in";
|
|
800
799
|
mm: "mm";
|
|
800
|
+
in: "in";
|
|
801
801
|
pt: "pt";
|
|
802
802
|
}>;
|
|
803
803
|
}, z.core.$strip>]>;
|
|
@@ -806,8 +806,8 @@ export declare function jsonSchemas(): {
|
|
|
806
806
|
landscape: "landscape";
|
|
807
807
|
}>>;
|
|
808
808
|
unit: z.ZodDefault<z.ZodEnum<{
|
|
809
|
-
in: "in";
|
|
810
809
|
mm: "mm";
|
|
810
|
+
in: "in";
|
|
811
811
|
pt: "pt";
|
|
812
812
|
}>>;
|
|
813
813
|
margin: z.ZodDefault<z.ZodObject<{
|
|
@@ -867,10 +867,10 @@ export declare function jsonSchemas(): {
|
|
|
867
867
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
868
868
|
width: number;
|
|
869
869
|
height: number;
|
|
870
|
-
unit: "
|
|
870
|
+
unit: "mm" | "in" | "pt";
|
|
871
871
|
};
|
|
872
872
|
orientation: "portrait" | "landscape";
|
|
873
|
-
unit: "
|
|
873
|
+
unit: "mm" | "in" | "pt";
|
|
874
874
|
margin: {
|
|
875
875
|
top: number;
|
|
876
876
|
right: number;
|
|
@@ -908,10 +908,10 @@ export declare function jsonSchemas(): {
|
|
|
908
908
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
909
909
|
width: number;
|
|
910
910
|
height: number;
|
|
911
|
-
unit: "
|
|
911
|
+
unit: "mm" | "in" | "pt";
|
|
912
912
|
};
|
|
913
913
|
orientation: "portrait" | "landscape";
|
|
914
|
-
unit: "
|
|
914
|
+
unit: "mm" | "in" | "pt";
|
|
915
915
|
margin: {
|
|
916
916
|
top: number;
|
|
917
917
|
right: number;
|
|
@@ -1121,9 +1121,9 @@ export declare function jsonSchemas(): {
|
|
|
1121
1121
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1122
1122
|
box: z.ZodOptional<z.ZodEnum<{
|
|
1123
1123
|
media: "media";
|
|
1124
|
+
bleed: "bleed";
|
|
1124
1125
|
crop: "crop";
|
|
1125
1126
|
trim: "trim";
|
|
1126
|
-
bleed: "bleed";
|
|
1127
1127
|
art: "art";
|
|
1128
1128
|
}>>;
|
|
1129
1129
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -1356,8 +1356,8 @@ export declare function jsonSchemas(): {
|
|
|
1356
1356
|
width: z.ZodNumber;
|
|
1357
1357
|
height: z.ZodNumber;
|
|
1358
1358
|
unit: z.ZodEnum<{
|
|
1359
|
-
in: "in";
|
|
1360
1359
|
mm: "mm";
|
|
1360
|
+
in: "in";
|
|
1361
1361
|
pt: "pt";
|
|
1362
1362
|
}>;
|
|
1363
1363
|
}, z.core.$strip>]>;
|
|
@@ -1399,8 +1399,8 @@ export declare function jsonSchemas(): {
|
|
|
1399
1399
|
width: z.ZodNumber;
|
|
1400
1400
|
height: z.ZodNumber;
|
|
1401
1401
|
unit: z.ZodEnum<{
|
|
1402
|
-
in: "in";
|
|
1403
1402
|
mm: "mm";
|
|
1403
|
+
in: "in";
|
|
1404
1404
|
pt: "pt";
|
|
1405
1405
|
}>;
|
|
1406
1406
|
}, z.core.$strip>]>;
|
|
@@ -1679,9 +1679,9 @@ export declare function jsonSchemas(): {
|
|
|
1679
1679
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1680
1680
|
box: z.ZodOptional<z.ZodEnum<{
|
|
1681
1681
|
media: "media";
|
|
1682
|
+
bleed: "bleed";
|
|
1682
1683
|
crop: "crop";
|
|
1683
1684
|
trim: "trim";
|
|
1684
|
-
bleed: "bleed";
|
|
1685
1685
|
art: "art";
|
|
1686
1686
|
}>>;
|
|
1687
1687
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -1769,8 +1769,8 @@ export declare function jsonSchemas(): {
|
|
|
1769
1769
|
width: z.ZodNumber;
|
|
1770
1770
|
height: z.ZodNumber;
|
|
1771
1771
|
unit: z.ZodEnum<{
|
|
1772
|
-
in: "in";
|
|
1773
1772
|
mm: "mm";
|
|
1773
|
+
in: "in";
|
|
1774
1774
|
pt: "pt";
|
|
1775
1775
|
}>;
|
|
1776
1776
|
}, z.core.$strip>]>;
|
|
@@ -1878,11 +1878,11 @@ export declare function jsonSchemas(): {
|
|
|
1878
1878
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1879
1879
|
body: PageBody;
|
|
1880
1880
|
size: {
|
|
1881
|
-
width: number;
|
|
1882
|
-
height: number;
|
|
1883
|
-
} | {
|
|
1884
1881
|
readonly width: "full";
|
|
1885
1882
|
readonly height: "auto";
|
|
1883
|
+
} | {
|
|
1884
|
+
width: number;
|
|
1885
|
+
height: number;
|
|
1886
1886
|
} | {
|
|
1887
1887
|
width: number | "full" | "standard" | "wide";
|
|
1888
1888
|
height: "auto";
|
|
@@ -1895,7 +1895,7 @@ export declare function jsonSchemas(): {
|
|
|
1895
1895
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1896
1896
|
width: number;
|
|
1897
1897
|
height: number;
|
|
1898
|
-
unit: "
|
|
1898
|
+
unit: "mm" | "in" | "pt";
|
|
1899
1899
|
};
|
|
1900
1900
|
orientation: "portrait" | "landscape";
|
|
1901
1901
|
bleed: number;
|
|
@@ -1948,11 +1948,11 @@ export declare function jsonSchemas(): {
|
|
|
1948
1948
|
})[] | undefined;
|
|
1949
1949
|
}, {
|
|
1950
1950
|
size: {
|
|
1951
|
-
width: number;
|
|
1952
|
-
height: number;
|
|
1953
|
-
} | {
|
|
1954
1951
|
readonly width: "full";
|
|
1955
1952
|
readonly height: "auto";
|
|
1953
|
+
} | {
|
|
1954
|
+
width: number;
|
|
1955
|
+
height: number;
|
|
1956
1956
|
} | {
|
|
1957
1957
|
width: number | "full" | "standard" | "wide";
|
|
1958
1958
|
height: "auto";
|
|
@@ -1972,7 +1972,7 @@ export declare function jsonSchemas(): {
|
|
|
1972
1972
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
1973
1973
|
width: number;
|
|
1974
1974
|
height: number;
|
|
1975
|
-
unit: "
|
|
1975
|
+
unit: "mm" | "in" | "pt";
|
|
1976
1976
|
};
|
|
1977
1977
|
orientation: "portrait" | "landscape";
|
|
1978
1978
|
bleed: number;
|
|
@@ -2032,7 +2032,7 @@ export declare function jsonSchemas(): {
|
|
|
2032
2032
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
2033
2033
|
width: number;
|
|
2034
2034
|
height: number;
|
|
2035
|
-
unit: "
|
|
2035
|
+
unit: "mm" | "in" | "pt";
|
|
2036
2036
|
};
|
|
2037
2037
|
orientation: "portrait" | "landscape";
|
|
2038
2038
|
bleed: number;
|
|
@@ -2048,11 +2048,11 @@ export declare function jsonSchemas(): {
|
|
|
2048
2048
|
};
|
|
2049
2049
|
body: PageBody;
|
|
2050
2050
|
size: {
|
|
2051
|
-
width: number;
|
|
2052
|
-
height: number;
|
|
2053
|
-
} | {
|
|
2054
2051
|
readonly width: "full";
|
|
2055
2052
|
readonly height: "auto";
|
|
2053
|
+
} | {
|
|
2054
|
+
width: number;
|
|
2055
|
+
height: number;
|
|
2056
2056
|
} | {
|
|
2057
2057
|
width: number | "full" | "standard" | "wide";
|
|
2058
2058
|
height: "auto";
|
|
@@ -2105,11 +2105,11 @@ export declare function jsonSchemas(): {
|
|
|
2105
2105
|
page: {
|
|
2106
2106
|
body: PageBody;
|
|
2107
2107
|
size: {
|
|
2108
|
-
width: number;
|
|
2109
|
-
height: number;
|
|
2110
|
-
} | {
|
|
2111
2108
|
readonly width: "full";
|
|
2112
2109
|
readonly height: "auto";
|
|
2110
|
+
} | {
|
|
2111
|
+
width: number;
|
|
2112
|
+
height: number;
|
|
2113
2113
|
} | {
|
|
2114
2114
|
width: number | "full" | "standard" | "wide";
|
|
2115
2115
|
height: "auto";
|
|
@@ -2122,7 +2122,7 @@ export declare function jsonSchemas(): {
|
|
|
2122
2122
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
2123
2123
|
width: number;
|
|
2124
2124
|
height: number;
|
|
2125
|
-
unit: "
|
|
2125
|
+
unit: "mm" | "in" | "pt";
|
|
2126
2126
|
};
|
|
2127
2127
|
orientation: "portrait" | "landscape";
|
|
2128
2128
|
bleed: number;
|
package/dist/page.d.ts
CHANGED
|
@@ -99,8 +99,8 @@ export declare const Page: z.ZodPipe<z.ZodObject<{
|
|
|
99
99
|
width: z.ZodNumber;
|
|
100
100
|
height: z.ZodNumber;
|
|
101
101
|
unit: z.ZodEnum<{
|
|
102
|
-
in: "in";
|
|
103
102
|
mm: "mm";
|
|
103
|
+
in: "in";
|
|
104
104
|
pt: "pt";
|
|
105
105
|
}>;
|
|
106
106
|
}, z.core.$strip>]>;
|
|
@@ -208,11 +208,11 @@ export declare const Page: z.ZodPipe<z.ZodObject<{
|
|
|
208
208
|
}, z.core.$strip>, z.ZodTransform<{
|
|
209
209
|
body: PageBody;
|
|
210
210
|
size: {
|
|
211
|
-
width: number;
|
|
212
|
-
height: number;
|
|
213
|
-
} | {
|
|
214
211
|
readonly width: "full";
|
|
215
212
|
readonly height: "auto";
|
|
213
|
+
} | {
|
|
214
|
+
width: number;
|
|
215
|
+
height: number;
|
|
216
216
|
} | {
|
|
217
217
|
width: number | "full" | "standard" | "wide";
|
|
218
218
|
height: "auto";
|
|
@@ -225,7 +225,7 @@ export declare const Page: z.ZodPipe<z.ZodObject<{
|
|
|
225
225
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
226
226
|
width: number;
|
|
227
227
|
height: number;
|
|
228
|
-
unit: "
|
|
228
|
+
unit: "mm" | "in" | "pt";
|
|
229
229
|
};
|
|
230
230
|
orientation: "portrait" | "landscape";
|
|
231
231
|
bleed: number;
|
|
@@ -278,11 +278,11 @@ export declare const Page: z.ZodPipe<z.ZodObject<{
|
|
|
278
278
|
})[] | undefined;
|
|
279
279
|
}, {
|
|
280
280
|
size: {
|
|
281
|
-
width: number;
|
|
282
|
-
height: number;
|
|
283
|
-
} | {
|
|
284
281
|
readonly width: "full";
|
|
285
282
|
readonly height: "auto";
|
|
283
|
+
} | {
|
|
284
|
+
width: number;
|
|
285
|
+
height: number;
|
|
286
286
|
} | {
|
|
287
287
|
width: number | "full" | "standard" | "wide";
|
|
288
288
|
height: "auto";
|
|
@@ -302,7 +302,7 @@ export declare const Page: z.ZodPipe<z.ZodObject<{
|
|
|
302
302
|
paper: "letter" | "legal" | "tabloid" | "a3" | "a4" | "a5" | "business-card-us" | "business-card-eu" | "business-card-square-us" | "business-card-slim-us" | "postcard-4x6" | "postcard-5x7" | "postcard-6x9" | "postcard-6x11" | "card-square-4in" | "half-letter" | "a6" | "dl" | "rack-card-4x9" | "rack-card-3.5x8.5" | "poster-12x18" | "poster-16x20" | "poster-18x24" | "poster-24x36" | "a2" | "a1" | "a0" | {
|
|
303
303
|
width: number;
|
|
304
304
|
height: number;
|
|
305
|
-
unit: "
|
|
305
|
+
unit: "mm" | "in" | "pt";
|
|
306
306
|
};
|
|
307
307
|
orientation: "portrait" | "landscape";
|
|
308
308
|
bleed: number;
|
package/dist/paper.d.ts
CHANGED
|
@@ -151,8 +151,8 @@ export declare const CUSTOM_PAPER_MIN_MM = 10;
|
|
|
151
151
|
export declare const CUSTOM_PAPER_MAX_MM = 2000;
|
|
152
152
|
export declare const PAPER_UNITS: readonly ["mm", "in", "pt"];
|
|
153
153
|
export declare const PaperUnit: z.ZodEnum<{
|
|
154
|
-
in: "in";
|
|
155
154
|
mm: "mm";
|
|
155
|
+
in: "in";
|
|
156
156
|
pt: "pt";
|
|
157
157
|
}>;
|
|
158
158
|
export type PaperUnit = z.infer<typeof PaperUnit>;
|
|
@@ -194,8 +194,8 @@ export declare const Paper: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
194
194
|
width: z.ZodNumber;
|
|
195
195
|
height: z.ZodNumber;
|
|
196
196
|
unit: z.ZodEnum<{
|
|
197
|
-
in: "in";
|
|
198
197
|
mm: "mm";
|
|
198
|
+
in: "in";
|
|
199
199
|
pt: "pt";
|
|
200
200
|
}>;
|
|
201
201
|
}, z.core.$strip>]>;
|
|
@@ -233,8 +233,8 @@ export declare const PrintSetting: z.ZodObject<{
|
|
|
233
233
|
width: z.ZodNumber;
|
|
234
234
|
height: z.ZodNumber;
|
|
235
235
|
unit: z.ZodEnum<{
|
|
236
|
-
in: "in";
|
|
237
236
|
mm: "mm";
|
|
237
|
+
in: "in";
|
|
238
238
|
pt: "pt";
|
|
239
239
|
}>;
|
|
240
240
|
}, z.core.$strip>]>;
|
|
@@ -277,8 +277,8 @@ export declare const PrintSettingInput: z.ZodObject<{
|
|
|
277
277
|
width: z.ZodNumber;
|
|
278
278
|
height: z.ZodNumber;
|
|
279
279
|
unit: z.ZodEnum<{
|
|
280
|
-
in: "in";
|
|
281
280
|
mm: "mm";
|
|
281
|
+
in: "in";
|
|
282
282
|
pt: "pt";
|
|
283
283
|
}>;
|
|
284
284
|
}, z.core.$strip>]>;
|
package/dist/placement.d.ts
CHANGED
|
@@ -40,9 +40,9 @@ export declare const PlacementShape: z.ZodObject<{
|
|
|
40
40
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
41
41
|
box: z.ZodOptional<z.ZodEnum<{
|
|
42
42
|
media: "media";
|
|
43
|
+
bleed: "bleed";
|
|
43
44
|
crop: "crop";
|
|
44
45
|
trim: "trim";
|
|
45
|
-
bleed: "bleed";
|
|
46
46
|
art: "art";
|
|
47
47
|
}>>;
|
|
48
48
|
crop: z.ZodOptional<z.ZodObject<{
|
package/dist/print.d.ts
CHANGED