@segnavia/format 0.39.0 → 0.40.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/book-section.d.ts +3 -3
- package/dist/book.d.ts +14 -14
- package/dist/cover.d.ts +178 -15
- 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/imposition.d.ts +2 -2
- package/dist/imposition.js +53 -42
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/json-schemas.d.ts +357 -36
- package/dist/page.d.ts +194 -9
- package/dist/page.js +83 -10
- 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/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ import { BOOK_PARENT_NAMES, FlowingParentNames, PRINTED_PAGE_LIMIT, PRINTED_PAGE
|
|
|
14
14
|
import { BookChapterEntry, BookContents, BookDivision, BookDivisions, BookFrontMatterEntry, BookItem, BookOpens, BookSection, BookSectionEntry, BookSectionParents, BookTemplate, Chapter, DesignedPage, DesignedSection, MAX_PART_DEPTH, Part, PlacedSection, REGION_NAME, TemplatedPage, TemplatedSection, bookSections, isBookContents, isChapter, isDesignedSection, isPart, isPlacedSection, isTemplatedSection } from "./book-section.js";
|
|
15
15
|
import { Book, BookInput, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookView, BookViewInput, BookViewPagination, resolveBookPagination } from "./book.js";
|
|
16
16
|
import "./book-exports.js";
|
|
17
|
+
import { FULL_PAGE_SIZE, FlowingWidth, PAGE_WIDTHS, Page, PageBody, PageInput, PageSize, PageWidths, ResolvedPageWidth, resolvePageWidth } from "./page.js";
|
|
17
18
|
import { BOOK_FURNITURE, BookFurniture, LIBRARY_MOTIF_PREFIX, MOTIF_ATTRIBUTE, Motif, MotifField, MotifFieldInput, MotifInput, MotifPlacement, MotifSource, MotifVersion, MotifVersionChoice, MotifVersionInput, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, chooseMotifVersion, motifFieldAttribute } from "./motif.js";
|
|
18
|
-
import { FLUID_WIDTH, Page, PageInput, PageSize } from "./page.js";
|
|
19
19
|
import { COVER_DRAWING_VERSION, COVER_SHEET, Cover, CoverDigestMaterial, CoverInput, coverDigest, digestCoverMaterial } from "./cover.js";
|
|
20
20
|
import { DeckFromSlidesOptions, SlideRow, deckFromSlides } from "./deck-from-slides.js";
|
|
21
21
|
import { DependencyDecision, dependencyDecision, dependencyOriginSet, originSet } from "./dependency-policy.js";
|
|
@@ -45,4 +45,4 @@ import { ShotUse, shotsUsed } from "./shots-used.js";
|
|
|
45
45
|
import { Fill, FillValues, SLOT_TYPES, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotReport, SlotSource, SlotState, SlotType, SlotValue, Slots, SlotsInput, SlotsOptions, mergeSlotDeclarations } from "./slots.js";
|
|
46
46
|
import { MAX_SLIDE_TIMING_MS } from "./timing.js";
|
|
47
47
|
import { DEFAULT_TRANSITION_DURATION_MS, MAX_TRANSITION_DURATION_MS, MIN_TRANSITION_DURATION_MS, Transition, TransitionInput } from "./transition.js";
|
|
48
|
-
export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, type AppFont, type ArrangeOptions, AssetKind, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, type BoardInput, BoardItem, type BoardItemAnchor, BoardLabel, type BoardListingGroup, BoardSection, type BoardShapes, type BoardView, Book, BookChapterEntry, BookContents, type BookDivision, type BookDivisions, BookFrontMatterEntry, BookFurniture, type BookInput, BookItem, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, type BookSectionEntry, BookSectionParents, BookTemplate, BookView, type BookViewInput, BookViewPagination, Box, COLLECTION_TAG, COVER_DRAWING_VERSION, COVER_SHEET, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cover, type CoverDigestMaterial, type CoverInput, CropEdge, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, type DeckFromSlidesOptions, type DeckInput, type DeckLimits, type DependencyDecision, DesignedPage, DesignedSection, Direction, type ExtractedFontFace,
|
|
48
|
+
export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, type AppFont, type ArrangeOptions, AssetKind, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, type BoardInput, BoardItem, type BoardItemAnchor, BoardLabel, type BoardListingGroup, BoardSection, type BoardShapes, type BoardView, Book, BookChapterEntry, BookContents, type BookDivision, type BookDivisions, BookFrontMatterEntry, BookFurniture, type BookInput, BookItem, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, type BookSectionEntry, BookSectionParents, BookTemplate, BookView, type BookViewInput, BookViewPagination, Box, COLLECTION_TAG, COVER_DRAWING_VERSION, COVER_SHEET, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cover, type CoverDigestMaterial, type CoverInput, CropEdge, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, type DeckFromSlidesOptions, type DeckInput, type DeckLimits, type DependencyDecision, DesignedPage, DesignedSection, Direction, type ExtractedFontFace, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FONT_FORMATS, FONT_GENERICS, FULL_PAGE_SIZE, Fill, FillValues, FlowingParentNames, FlowingWidth, type FoldKind, type FontFace, FontFaceRefusedError, type FontFormat, type FontGeneric, FontReference, FontReferenceInput, type FontSource, GridCell, type GridDropTarget, ImageFit, type Imposed, Imposition, type ImpositionInput, type ImpositionMarkEdge, type ImpositionPlacement, type ImpositionSideMarks, LIBRARY_MOTIF_PREFIX, LOCAL_FONT_LIMITS, Lexicon, LocalFaceTransport, type LocalFacesInput, LocalFacesTransport, type LocalFontLimitFace, type LocalFontLimits, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, MAX_IMPOSITION_CELLS, MAX_PART_DEPTH, MAX_SLIDE_TIMING_MS, MAX_TRANSITION_DURATION_MS, MEDIA_FORMATS, MIN_BOARD_ITEM_WIDTH, MIN_BOARD_ZOOM, MIN_MARK_LENGTH_MM, MIN_TRANSITION_DURATION_MS, MM_PER_PT, MOTIF_ATTRIBUTE, Manifest, Margin, MarkColor, type MarkSegment, Media, MediaFormat, type MediaInput, MediaPage, MediaText, type MillimeterEdges, Motif, MotifField, MotifFieldInput, MotifInput, MotifPlacement, MotifSource, MotifVersion, MotifVersionChoice, MotifVersionInput, NAMED_PAPERS, type NamedPaper, type NamedPaperMetadata, Narration, NoteMarker, NoteNumbering, NotePlacement, NoteSeries, type NoteSeriesInput, NumberSystem, ORIENTATIONS, type OmittedImpositionMark, Orientation, PAGE_WIDTHS, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLACEMENT_ACCEPTS, PLAYBACK_MODES, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_LIMIT, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_ROLES, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, PX_PER_MM, PX_PER_PT, Page, PageBody, type PageFit, type PageInput, type PagePlacementKind, type PagePlacementLayout, PageSelector, PageSize, PageWidths, Paper, type PaperBox, type PaperGroup, PaperUnit, ParentPage, ParentPageMargin, Part, PlacedSection, Placement, type PlacementContainer, PlacementCrop, type PlacementGraph, type PlacementInput, PlacementRefusedError, Playback, type PlaybackMode, Point, Print, type PrintInput, PrintSetting, PrintSettingInput, PrintedPageRole, PrintedPageRules, PrintedPages, PronunciationEntry, PublishedShot, REGION_NAME, type ResolvedFontFace, type ResolvedNoteSeries, type ResolvedPageWidth, ResolvedParentPage, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, type ShotUse, Size, Slide, SlideContent, type SlideRow, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotReport, SlotSource, SlotState, SlotType, SlotValue, Slots, SlotsInput, SlotsOptions, TemplatedPage, TemplatedSection, TextArea, TextDirection, Transition, TransitionInput, Word, type ZoomBounds, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, bookParentPages, bookSections, checkPlacementCycles, chooseMotifVersion, classifyFont, collectionFaces, coverDigest, deckFromSlides, defaultPageNumbering, dependencyDecision, dependencyOriginSet, deriveSectionCells, digestCoverMaterial, exceedsLimits, extractFace, findPlacementCycle, firstStrongDirection, fitPage, fitSection, fitTouchedSections, flowingParentNames, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isChapter, isDesignedSection, isHebrew, isPart, isPlacedSection, isPrintedPageIdentityImposition, isTemplatedSection, itemAt, itemHeight, jsonSchemas, languageDirection, layoutSection, lexiconVersion, localFontLimitRefusal, localFontReferences, makeRoom, mediaTextDirection, mergeSlotDeclarations, mirrorPlacement, motifFieldAttribute, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, originSet, pagePlacementLayout, pagePrintedPagesIssues, paperPixels, parentListIssues, parsePlayback, printBoxes, printPadding, printProperties, printedPagesIssues, removeFromGrid, removeItems, resizeItem, resolveBookPagination, resolveDirection, resolveFontFace, resolveNoteSeries, resolvePageWidth, resolveParentPages, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, textArea, textDirection, toMillimeters, visibleItems, zoomAt, zoomToFit };
|
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import { NoteNumbering, NotePlacement, NoteSeries, noteMarkerIssues, resolveNote
|
|
|
25
25
|
import { CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, MARK_GAP_MM, MARK_LENGTH_MM, MM_PER_PT, NAMED_PAPERS, ORIENTATIONS, Orientation, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PX_PER_MM, PX_PER_PT, Paper, PaperUnit, PrintSetting, PrintSettingInput, fromMillimeters, paperPixels, printBoxes, printPadding, printProperties, roundMillimeters, sheetMm, toMillimeters } from "./paper.js";
|
|
26
26
|
import { Book, BookMode, BookPage, BookRunningHead, BookRunningHeadSource, BookView, BookViewPagination, resolveBookPagination } from "./book.js";
|
|
27
27
|
import { Margin, MarkColor, Print } from "./print.js";
|
|
28
|
-
import {
|
|
28
|
+
import { FULL_PAGE_SIZE, FlowingWidth, PAGE_WIDTHS, Page, PageBody, PageSize, PageWidths, resolvePageWidth } from "./page.js";
|
|
29
29
|
import { COVER_DRAWING_VERSION, COVER_SHEET, Cover, coverDigest, digestCoverMaterial } from "./cover.js";
|
|
30
30
|
import { deckFromSlides } from "./deck-from-slides.js";
|
|
31
31
|
import { dependencyDecision, dependencyOriginSet, originSet } from "./dependency-policy.js";
|
|
@@ -44,4 +44,4 @@ import { LOCAL_FONT_LIMITS, localFontLimitRefusal } from "./local-font-limits.js
|
|
|
44
44
|
import { checkPlacementCycles, findPlacementCycle } from "./placement-cycle.js";
|
|
45
45
|
import { isPrintedPageIdentityImposition } from "./printed-page-imposition.js";
|
|
46
46
|
import { shotsUsed } from "./shots-used.js";
|
|
47
|
-
export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, AssetKind, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, BoardItem, BoardLabel, BoardSection, Book, BookChapterEntry, BookContents, BookFrontMatterEntry, BookItem, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, BookSectionParents, BookTemplate, BookView, BookViewPagination, Box, COLLECTION_TAG, COVER_DRAWING_VERSION, COVER_SHEET, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cover, CropEdge, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, DesignedPage, DesignedSection, Direction,
|
|
47
|
+
export { APP_FONT_NAME, APP_FONT_NAME_MESSAGE, Annotation, AssetKind, BOOK_FURNITURE, BOOK_PARENT_NAMES, Board, BoardItem, BoardLabel, BoardSection, Book, BookChapterEntry, BookContents, BookFrontMatterEntry, BookItem, BookMode, BookOpens, BookPage, BookRunningHead, BookRunningHeadSource, BookSection, BookSectionParents, BookTemplate, BookView, BookViewPagination, Box, COLLECTION_TAG, COVER_DRAWING_VERSION, COVER_SHEET, CUSTOM_PAPER_MAX_MM, CUSTOM_PAPER_MIN_MM, Chapter, Cover, CropEdge, Cue, DECK_SIZE, DEFAULT_TRANSITION_DURATION_MS, Deck, DesignedPage, DesignedSection, Direction, FOLD_DASH_OFF_MM, FOLD_DASH_ON_MM, FOLD_KINDS, FOLD_TUCK_IN_MM, FONT_FORMATS, FONT_GENERICS, FULL_PAGE_SIZE, FillValues, FlowingWidth, FontFaceRefusedError, FontReference, FontReferenceInput, GridCell, ImageFit, Imposition, LIBRARY_MOTIF_PREFIX, LOCAL_FONT_LIMITS, Lexicon, LocalFaceTransport, LocalFacesTransport, MAKE_ROOM_LIMIT, MARK_GAP_MM, MARK_LENGTH_MM, MAX_BOARD_ZOOM, MAX_IMPOSITION_CELLS, MAX_PART_DEPTH, MAX_SLIDE_TIMING_MS, MAX_TRANSITION_DURATION_MS, MEDIA_FORMATS, MIN_BOARD_ITEM_WIDTH, MIN_BOARD_ZOOM, MIN_MARK_LENGTH_MM, MIN_TRANSITION_DURATION_MS, MM_PER_PT, MOTIF_ATTRIBUTE, Manifest, Margin, MarkColor, Media, MediaFormat, MediaPage, MediaText, Motif, MotifField, MotifFieldInput, MotifInput, MotifVersion, MotifVersionInput, NAMED_PAPERS, Narration, NoteMarker, NoteNumbering, NotePlacement, NoteSeries, NumberSystem, ORIENTATIONS, Orientation, PAGE_WIDTHS, PAPER_FIT_TOLERANCE_MM, PAPER_GROUPS, PAPER_METADATA, PAPER_MM, PAPER_UNITS, PLACEMENT_ACCEPTS, PLAYBACK_MODES, PRINTED_PAGE_CONTEXT, PRINTED_PAGE_FOLIO_PATH, PRINTED_PAGE_LIMIT, PRINTED_PAGE_NUMBER_PATH, PRINTED_PAGE_ROLES, PRINTED_PAGE_RUNNING_HEAD_PATH, PRINTED_PAGE_TOTAL_PATH, PX_PER_MM, PX_PER_PT, Page, PageBody, PageSelector, PageSize, PageWidths, Paper, PaperUnit, ParentPage, ParentPageMargin, Part, PlacedSection, Placement, PlacementCrop, PlacementRefusedError, Playback, Point, Print, PrintSetting, PrintSettingInput, PrintedPageRules, PrintedPages, PronunciationEntry, PublishedShot, REGION_NAME, SECTION_GAP, SECTION_MIN_SIZE, SECTION_PADDING, SECTION_TITLE_ROOM, SHOT_KEY, SLOT_TYPES, Scripts, Shot, Size, Slide, SlideContent, SlotDeclaration, SlotDeclarationInput, SlotKey, SlotType, SlotValue, Slots, SlotsInput, TemplatedPage, TemplatedSection, TextDirection, Transition, Word, addItem, annotationCueIssues, arrange, assignMembership, boardBounds, boardListing, boardListingIsEmpty, boardToScreen, bookParentPages, bookSections, checkPlacementCycles, chooseMotifVersion, classifyFont, collectionFaces, coverDigest, deckFromSlides, defaultPageNumbering, dependencyDecision, dependencyOriginSet, deriveSectionCells, digestCoverMaterial, exceedsLimits, extractFace, findPlacementCycle, firstStrongDirection, fitPage, fitSection, fitTouchedSections, flowingParentNames, foldCellPages, foldColumns, foldForSearch, foldPageCountMessage, foldPanelMap, formatNumber, fromMillimeters, gridDropMarkerBox, gridDropTarget, impose, impositionMarks, insertIntoGrid, isBookContents, isChapter, isDesignedSection, isHebrew, isPart, isPlacedSection, isPrintedPageIdentityImposition, isTemplatedSection, itemAt, itemHeight, jsonSchemas, languageDirection, layoutSection, lexiconVersion, localFontLimitRefusal, localFontReferences, makeRoom, mediaTextDirection, mergeSlotDeclarations, mirrorPlacement, motifFieldAttribute, moveItems, moveSection, nameMatches, noteMarker, noteMarkerIssues, originSet, pagePlacementLayout, pagePrintedPagesIssues, paperPixels, parentListIssues, parsePlayback, printBoxes, printPadding, printProperties, printedPagesIssues, removeFromGrid, removeItems, resizeItem, resolveBookPagination, resolveDirection, resolveFontFace, resolveNoteSeries, resolvePageWidth, resolveParentPages, revealView, roundMillimeters, screenToBoard, settleBoard, sheetMm, shotsUsed, textArea, textDirection, toMillimeters, visibleItems, zoomAt, zoomToFit };
|
package/dist/json-schemas.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BookItem } from "./book-section.js";
|
|
2
|
+
import { PageBody } from "./page.js";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
//#region src/json-schemas.d.ts
|
|
4
5
|
export declare function jsonSchemas(): {
|
|
@@ -43,8 +44,8 @@ export declare function jsonSchemas(): {
|
|
|
43
44
|
width: z.ZodNumber;
|
|
44
45
|
height: z.ZodNumber;
|
|
45
46
|
unit: z.ZodEnum<{
|
|
46
|
-
mm: "mm";
|
|
47
47
|
in: "in";
|
|
48
|
+
mm: "mm";
|
|
48
49
|
pt: "pt";
|
|
49
50
|
}>;
|
|
50
51
|
}, z.core.$strip>]>;
|
|
@@ -142,9 +143,9 @@ export declare function jsonSchemas(): {
|
|
|
142
143
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
143
144
|
box: z.ZodOptional<z.ZodEnum<{
|
|
144
145
|
media: "media";
|
|
145
|
-
bleed: "bleed";
|
|
146
146
|
crop: "crop";
|
|
147
147
|
trim: "trim";
|
|
148
|
+
bleed: "bleed";
|
|
148
149
|
art: "art";
|
|
149
150
|
}>>;
|
|
150
151
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -343,16 +344,16 @@ export declare function jsonSchemas(): {
|
|
|
343
344
|
}, z.core.$strip>>;
|
|
344
345
|
}, z.core.$strip>>;
|
|
345
346
|
bookView: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
346
|
-
scripts: z.ZodDefault<z.ZodEnum<{
|
|
347
|
-
refuse: "refuse";
|
|
348
|
-
sandboxed: "sandboxed";
|
|
349
|
-
}>>;
|
|
350
347
|
dir: z.ZodOptional<z.ZodEnum<{
|
|
351
348
|
auto: "auto";
|
|
352
349
|
ltr: "ltr";
|
|
353
350
|
rtl: "rtl";
|
|
354
351
|
}>>;
|
|
355
352
|
lang: z.ZodOptional<z.ZodString>;
|
|
353
|
+
scripts: z.ZodDefault<z.ZodEnum<{
|
|
354
|
+
refuse: "refuse";
|
|
355
|
+
sandboxed: "sandboxed";
|
|
356
|
+
}>>;
|
|
356
357
|
fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
357
358
|
app: z.ZodString;
|
|
358
359
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -438,14 +439,23 @@ export declare function jsonSchemas(): {
|
|
|
438
439
|
}, z.core.$strip>;
|
|
439
440
|
}, z.core.$strip>>;
|
|
440
441
|
}, z.core.$strip>>;
|
|
441
|
-
page: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
442
|
+
page: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
|
|
442
443
|
id: z.ZodOptional<z.ZodString>;
|
|
443
|
-
|
|
444
|
-
|
|
444
|
+
body: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
445
|
+
html: z.ZodString;
|
|
446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
447
|
+
markdown: z.ZodString;
|
|
448
|
+
}, z.core.$strict>]>>;
|
|
449
|
+
html: z.ZodOptional<z.ZodString>;
|
|
450
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
451
|
+
size: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"fluid">, z.ZodTransform<{
|
|
452
|
+
readonly width: "full";
|
|
453
|
+
readonly height: "auto";
|
|
454
|
+
}, "fluid">>, z.ZodObject<{
|
|
445
455
|
width: z.ZodNumber;
|
|
446
456
|
height: z.ZodNumber;
|
|
447
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
448
|
-
width: z.ZodNumber
|
|
458
|
+
width: z.ZodUnion<readonly [z.ZodLiteral<"full">, z.ZodLiteral<"standard">, z.ZodLiteral<"wide">, z.ZodNumber]>;
|
|
449
459
|
height: z.ZodLiteral<"auto">;
|
|
450
460
|
}, z.core.$strip>]>>;
|
|
451
461
|
scripts: z.ZodDefault<z.ZodEnum<{
|
|
@@ -491,8 +501,8 @@ export declare function jsonSchemas(): {
|
|
|
491
501
|
width: z.ZodNumber;
|
|
492
502
|
height: z.ZodNumber;
|
|
493
503
|
unit: z.ZodEnum<{
|
|
494
|
-
mm: "mm";
|
|
495
504
|
in: "in";
|
|
505
|
+
mm: "mm";
|
|
496
506
|
pt: "pt";
|
|
497
507
|
}>;
|
|
498
508
|
}, z.core.$strip>]>;
|
|
@@ -597,7 +607,155 @@ export declare function jsonSchemas(): {
|
|
|
597
607
|
local: z.ZodString;
|
|
598
608
|
fallback: z.ZodString;
|
|
599
609
|
}, z.core.$strip>]>>>;
|
|
600
|
-
}, z.core.$strip
|
|
610
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
611
|
+
body: PageBody;
|
|
612
|
+
size: {
|
|
613
|
+
width: number;
|
|
614
|
+
height: number;
|
|
615
|
+
} | {
|
|
616
|
+
readonly width: "full";
|
|
617
|
+
readonly height: "auto";
|
|
618
|
+
} | {
|
|
619
|
+
width: number | "full" | "standard" | "wide";
|
|
620
|
+
height: "auto";
|
|
621
|
+
};
|
|
622
|
+
scripts: "refuse" | "sandboxed";
|
|
623
|
+
id?: string | undefined;
|
|
624
|
+
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
625
|
+
lang?: string | undefined;
|
|
626
|
+
print?: {
|
|
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
|
+
width: number;
|
|
629
|
+
height: number;
|
|
630
|
+
unit: "in" | "mm" | "pt";
|
|
631
|
+
};
|
|
632
|
+
orientation: "portrait" | "landscape";
|
|
633
|
+
bleed: number;
|
|
634
|
+
safe: number;
|
|
635
|
+
marks: boolean;
|
|
636
|
+
markColor: "black" | "registration";
|
|
637
|
+
margin?: {
|
|
638
|
+
top: number;
|
|
639
|
+
right: number;
|
|
640
|
+
bottom: number;
|
|
641
|
+
left: number;
|
|
642
|
+
} | undefined;
|
|
643
|
+
} | undefined;
|
|
644
|
+
printedPages?: {
|
|
645
|
+
parents: {
|
|
646
|
+
name: string;
|
|
647
|
+
basedOn?: string | undefined;
|
|
648
|
+
margin?: {
|
|
649
|
+
top: number;
|
|
650
|
+
bottom: number;
|
|
651
|
+
inner: number;
|
|
652
|
+
outer: number;
|
|
653
|
+
} | undefined;
|
|
654
|
+
head?: string | undefined;
|
|
655
|
+
foot?: string | undefined;
|
|
656
|
+
}[];
|
|
657
|
+
rules: {
|
|
658
|
+
last?: string | undefined;
|
|
659
|
+
verso?: string | undefined;
|
|
660
|
+
recto?: string | undefined;
|
|
661
|
+
first?: string | undefined;
|
|
662
|
+
every: string;
|
|
663
|
+
};
|
|
664
|
+
numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
665
|
+
} | undefined;
|
|
666
|
+
slots?: {
|
|
667
|
+
key: string;
|
|
668
|
+
label: string;
|
|
669
|
+
type: "text" | "image" | "phone" | "email" | "link" | "qr";
|
|
670
|
+
required: boolean;
|
|
671
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
672
|
+
placeholder?: string | undefined;
|
|
673
|
+
minSize?: number | undefined;
|
|
674
|
+
}[] | undefined;
|
|
675
|
+
fonts?: ({
|
|
676
|
+
app: string;
|
|
677
|
+
} | {
|
|
678
|
+
local: string;
|
|
679
|
+
fallback: string;
|
|
680
|
+
})[] | undefined;
|
|
681
|
+
}, {
|
|
682
|
+
size: {
|
|
683
|
+
width: number;
|
|
684
|
+
height: number;
|
|
685
|
+
} | {
|
|
686
|
+
readonly width: "full";
|
|
687
|
+
readonly height: "auto";
|
|
688
|
+
} | {
|
|
689
|
+
width: number | "full" | "standard" | "wide";
|
|
690
|
+
height: "auto";
|
|
691
|
+
};
|
|
692
|
+
scripts: "refuse" | "sandboxed";
|
|
693
|
+
id?: string | undefined;
|
|
694
|
+
body?: {
|
|
695
|
+
html: string;
|
|
696
|
+
} | {
|
|
697
|
+
markdown: string;
|
|
698
|
+
} | undefined;
|
|
699
|
+
html?: string | undefined;
|
|
700
|
+
markdown?: string | undefined;
|
|
701
|
+
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
702
|
+
lang?: string | undefined;
|
|
703
|
+
print?: {
|
|
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
|
+
width: number;
|
|
706
|
+
height: number;
|
|
707
|
+
unit: "in" | "mm" | "pt";
|
|
708
|
+
};
|
|
709
|
+
orientation: "portrait" | "landscape";
|
|
710
|
+
bleed: number;
|
|
711
|
+
safe: number;
|
|
712
|
+
marks: boolean;
|
|
713
|
+
markColor: "black" | "registration";
|
|
714
|
+
margin?: {
|
|
715
|
+
top: number;
|
|
716
|
+
right: number;
|
|
717
|
+
bottom: number;
|
|
718
|
+
left: number;
|
|
719
|
+
} | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
printedPages?: {
|
|
722
|
+
parents: {
|
|
723
|
+
name: string;
|
|
724
|
+
basedOn?: string | undefined;
|
|
725
|
+
margin?: {
|
|
726
|
+
top: number;
|
|
727
|
+
bottom: number;
|
|
728
|
+
inner: number;
|
|
729
|
+
outer: number;
|
|
730
|
+
} | undefined;
|
|
731
|
+
head?: string | undefined;
|
|
732
|
+
foot?: string | undefined;
|
|
733
|
+
}[];
|
|
734
|
+
rules: {
|
|
735
|
+
last?: string | undefined;
|
|
736
|
+
verso?: string | undefined;
|
|
737
|
+
recto?: string | undefined;
|
|
738
|
+
first?: string | undefined;
|
|
739
|
+
every: string;
|
|
740
|
+
};
|
|
741
|
+
numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
742
|
+
} | undefined;
|
|
743
|
+
slots?: {
|
|
744
|
+
key: string;
|
|
745
|
+
label: string;
|
|
746
|
+
type: "text" | "image" | "phone" | "email" | "link" | "qr";
|
|
747
|
+
required: boolean;
|
|
748
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
749
|
+
placeholder?: string | undefined;
|
|
750
|
+
minSize?: number | undefined;
|
|
751
|
+
}[] | undefined;
|
|
752
|
+
fonts?: ({
|
|
753
|
+
app: string;
|
|
754
|
+
} | {
|
|
755
|
+
local: string;
|
|
756
|
+
fallback: string;
|
|
757
|
+
})[] | undefined;
|
|
758
|
+
}>>>;
|
|
601
759
|
lexicon: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
602
760
|
entries: z.ZodArray<z.ZodObject<{
|
|
603
761
|
term: z.ZodString;
|
|
@@ -638,8 +796,8 @@ export declare function jsonSchemas(): {
|
|
|
638
796
|
width: z.ZodNumber;
|
|
639
797
|
height: z.ZodNumber;
|
|
640
798
|
unit: z.ZodEnum<{
|
|
641
|
-
mm: "mm";
|
|
642
799
|
in: "in";
|
|
800
|
+
mm: "mm";
|
|
643
801
|
pt: "pt";
|
|
644
802
|
}>;
|
|
645
803
|
}, z.core.$strip>]>;
|
|
@@ -648,8 +806,8 @@ export declare function jsonSchemas(): {
|
|
|
648
806
|
landscape: "landscape";
|
|
649
807
|
}>>;
|
|
650
808
|
unit: z.ZodDefault<z.ZodEnum<{
|
|
651
|
-
mm: "mm";
|
|
652
809
|
in: "in";
|
|
810
|
+
mm: "mm";
|
|
653
811
|
pt: "pt";
|
|
654
812
|
}>>;
|
|
655
813
|
margin: z.ZodDefault<z.ZodObject<{
|
|
@@ -709,10 +867,10 @@ export declare function jsonSchemas(): {
|
|
|
709
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" | {
|
|
710
868
|
width: number;
|
|
711
869
|
height: number;
|
|
712
|
-
unit: "
|
|
870
|
+
unit: "in" | "mm" | "pt";
|
|
713
871
|
};
|
|
714
872
|
orientation: "portrait" | "landscape";
|
|
715
|
-
unit: "
|
|
873
|
+
unit: "in" | "mm" | "pt";
|
|
716
874
|
margin: {
|
|
717
875
|
top: number;
|
|
718
876
|
right: number;
|
|
@@ -750,10 +908,10 @@ export declare function jsonSchemas(): {
|
|
|
750
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" | {
|
|
751
909
|
width: number;
|
|
752
910
|
height: number;
|
|
753
|
-
unit: "
|
|
911
|
+
unit: "in" | "mm" | "pt";
|
|
754
912
|
};
|
|
755
913
|
orientation: "portrait" | "landscape";
|
|
756
|
-
unit: "
|
|
914
|
+
unit: "in" | "mm" | "pt";
|
|
757
915
|
margin: {
|
|
758
916
|
top: number;
|
|
759
917
|
right: number;
|
|
@@ -963,9 +1121,9 @@ export declare function jsonSchemas(): {
|
|
|
963
1121
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
964
1122
|
box: z.ZodOptional<z.ZodEnum<{
|
|
965
1123
|
media: "media";
|
|
966
|
-
bleed: "bleed";
|
|
967
1124
|
crop: "crop";
|
|
968
1125
|
trim: "trim";
|
|
1126
|
+
bleed: "bleed";
|
|
969
1127
|
art: "art";
|
|
970
1128
|
}>>;
|
|
971
1129
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -1198,8 +1356,8 @@ export declare function jsonSchemas(): {
|
|
|
1198
1356
|
width: z.ZodNumber;
|
|
1199
1357
|
height: z.ZodNumber;
|
|
1200
1358
|
unit: z.ZodEnum<{
|
|
1201
|
-
mm: "mm";
|
|
1202
1359
|
in: "in";
|
|
1360
|
+
mm: "mm";
|
|
1203
1361
|
pt: "pt";
|
|
1204
1362
|
}>;
|
|
1205
1363
|
}, z.core.$strip>]>;
|
|
@@ -1241,8 +1399,8 @@ export declare function jsonSchemas(): {
|
|
|
1241
1399
|
width: z.ZodNumber;
|
|
1242
1400
|
height: z.ZodNumber;
|
|
1243
1401
|
unit: z.ZodEnum<{
|
|
1244
|
-
mm: "mm";
|
|
1245
1402
|
in: "in";
|
|
1403
|
+
mm: "mm";
|
|
1246
1404
|
pt: "pt";
|
|
1247
1405
|
}>;
|
|
1248
1406
|
}, z.core.$strip>]>;
|
|
@@ -1521,9 +1679,9 @@ export declare function jsonSchemas(): {
|
|
|
1521
1679
|
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1522
1680
|
box: z.ZodOptional<z.ZodEnum<{
|
|
1523
1681
|
media: "media";
|
|
1524
|
-
bleed: "bleed";
|
|
1525
1682
|
crop: "crop";
|
|
1526
1683
|
trim: "trim";
|
|
1684
|
+
bleed: "bleed";
|
|
1527
1685
|
art: "art";
|
|
1528
1686
|
}>>;
|
|
1529
1687
|
crop: z.ZodOptional<z.ZodObject<{
|
|
@@ -1549,14 +1707,23 @@ export declare function jsonSchemas(): {
|
|
|
1549
1707
|
}, z.core.$strip>>;
|
|
1550
1708
|
}, z.core.$strip>>;
|
|
1551
1709
|
cover: z.core.ZodStandardJSONSchemaPayload<z.ZodPipe<z.ZodObject<{
|
|
1552
|
-
page: z.ZodObject<{
|
|
1710
|
+
page: z.ZodPipe<z.ZodObject<{
|
|
1553
1711
|
id: z.ZodOptional<z.ZodString>;
|
|
1554
|
-
|
|
1555
|
-
|
|
1712
|
+
body: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1713
|
+
html: z.ZodString;
|
|
1714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1715
|
+
markdown: z.ZodString;
|
|
1716
|
+
}, z.core.$strict>]>>;
|
|
1717
|
+
html: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
markdown: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
size: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodLiteral<"fluid">, z.ZodTransform<{
|
|
1720
|
+
readonly width: "full";
|
|
1721
|
+
readonly height: "auto";
|
|
1722
|
+
}, "fluid">>, z.ZodObject<{
|
|
1556
1723
|
width: z.ZodNumber;
|
|
1557
1724
|
height: z.ZodNumber;
|
|
1558
1725
|
}, z.core.$strip>, z.ZodObject<{
|
|
1559
|
-
width: z.ZodNumber
|
|
1726
|
+
width: z.ZodUnion<readonly [z.ZodLiteral<"full">, z.ZodLiteral<"standard">, z.ZodLiteral<"wide">, z.ZodNumber]>;
|
|
1560
1727
|
height: z.ZodLiteral<"auto">;
|
|
1561
1728
|
}, z.core.$strip>]>>;
|
|
1562
1729
|
scripts: z.ZodDefault<z.ZodEnum<{
|
|
@@ -1602,8 +1769,8 @@ export declare function jsonSchemas(): {
|
|
|
1602
1769
|
width: z.ZodNumber;
|
|
1603
1770
|
height: z.ZodNumber;
|
|
1604
1771
|
unit: z.ZodEnum<{
|
|
1605
|
-
mm: "mm";
|
|
1606
1772
|
in: "in";
|
|
1773
|
+
mm: "mm";
|
|
1607
1774
|
pt: "pt";
|
|
1608
1775
|
}>;
|
|
1609
1776
|
}, z.core.$strip>]>;
|
|
@@ -1708,7 +1875,155 @@ export declare function jsonSchemas(): {
|
|
|
1708
1875
|
local: z.ZodString;
|
|
1709
1876
|
fallback: z.ZodString;
|
|
1710
1877
|
}, z.core.$strip>]>>>;
|
|
1711
|
-
}, z.core.$strip
|
|
1878
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
1879
|
+
body: PageBody;
|
|
1880
|
+
size: {
|
|
1881
|
+
width: number;
|
|
1882
|
+
height: number;
|
|
1883
|
+
} | {
|
|
1884
|
+
readonly width: "full";
|
|
1885
|
+
readonly height: "auto";
|
|
1886
|
+
} | {
|
|
1887
|
+
width: number | "full" | "standard" | "wide";
|
|
1888
|
+
height: "auto";
|
|
1889
|
+
};
|
|
1890
|
+
scripts: "refuse" | "sandboxed";
|
|
1891
|
+
id?: string | undefined;
|
|
1892
|
+
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
1893
|
+
lang?: string | undefined;
|
|
1894
|
+
print?: {
|
|
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
|
+
width: number;
|
|
1897
|
+
height: number;
|
|
1898
|
+
unit: "in" | "mm" | "pt";
|
|
1899
|
+
};
|
|
1900
|
+
orientation: "portrait" | "landscape";
|
|
1901
|
+
bleed: number;
|
|
1902
|
+
safe: number;
|
|
1903
|
+
marks: boolean;
|
|
1904
|
+
markColor: "black" | "registration";
|
|
1905
|
+
margin?: {
|
|
1906
|
+
top: number;
|
|
1907
|
+
right: number;
|
|
1908
|
+
bottom: number;
|
|
1909
|
+
left: number;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
printedPages?: {
|
|
1913
|
+
parents: {
|
|
1914
|
+
name: string;
|
|
1915
|
+
basedOn?: string | undefined;
|
|
1916
|
+
margin?: {
|
|
1917
|
+
top: number;
|
|
1918
|
+
bottom: number;
|
|
1919
|
+
inner: number;
|
|
1920
|
+
outer: number;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
head?: string | undefined;
|
|
1923
|
+
foot?: string | undefined;
|
|
1924
|
+
}[];
|
|
1925
|
+
rules: {
|
|
1926
|
+
last?: string | undefined;
|
|
1927
|
+
verso?: string | undefined;
|
|
1928
|
+
recto?: string | undefined;
|
|
1929
|
+
first?: string | undefined;
|
|
1930
|
+
every: string;
|
|
1931
|
+
};
|
|
1932
|
+
numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
1933
|
+
} | undefined;
|
|
1934
|
+
slots?: {
|
|
1935
|
+
key: string;
|
|
1936
|
+
label: string;
|
|
1937
|
+
type: "text" | "image" | "phone" | "email" | "link" | "qr";
|
|
1938
|
+
required: boolean;
|
|
1939
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
1940
|
+
placeholder?: string | undefined;
|
|
1941
|
+
minSize?: number | undefined;
|
|
1942
|
+
}[] | undefined;
|
|
1943
|
+
fonts?: ({
|
|
1944
|
+
app: string;
|
|
1945
|
+
} | {
|
|
1946
|
+
local: string;
|
|
1947
|
+
fallback: string;
|
|
1948
|
+
})[] | undefined;
|
|
1949
|
+
}, {
|
|
1950
|
+
size: {
|
|
1951
|
+
width: number;
|
|
1952
|
+
height: number;
|
|
1953
|
+
} | {
|
|
1954
|
+
readonly width: "full";
|
|
1955
|
+
readonly height: "auto";
|
|
1956
|
+
} | {
|
|
1957
|
+
width: number | "full" | "standard" | "wide";
|
|
1958
|
+
height: "auto";
|
|
1959
|
+
};
|
|
1960
|
+
scripts: "refuse" | "sandboxed";
|
|
1961
|
+
id?: string | undefined;
|
|
1962
|
+
body?: {
|
|
1963
|
+
html: string;
|
|
1964
|
+
} | {
|
|
1965
|
+
markdown: string;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
html?: string | undefined;
|
|
1968
|
+
markdown?: string | undefined;
|
|
1969
|
+
dir?: "auto" | "ltr" | "rtl" | undefined;
|
|
1970
|
+
lang?: string | undefined;
|
|
1971
|
+
print?: {
|
|
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
|
+
width: number;
|
|
1974
|
+
height: number;
|
|
1975
|
+
unit: "in" | "mm" | "pt";
|
|
1976
|
+
};
|
|
1977
|
+
orientation: "portrait" | "landscape";
|
|
1978
|
+
bleed: number;
|
|
1979
|
+
safe: number;
|
|
1980
|
+
marks: boolean;
|
|
1981
|
+
markColor: "black" | "registration";
|
|
1982
|
+
margin?: {
|
|
1983
|
+
top: number;
|
|
1984
|
+
right: number;
|
|
1985
|
+
bottom: number;
|
|
1986
|
+
left: number;
|
|
1987
|
+
} | undefined;
|
|
1988
|
+
} | undefined;
|
|
1989
|
+
printedPages?: {
|
|
1990
|
+
parents: {
|
|
1991
|
+
name: string;
|
|
1992
|
+
basedOn?: string | undefined;
|
|
1993
|
+
margin?: {
|
|
1994
|
+
top: number;
|
|
1995
|
+
bottom: number;
|
|
1996
|
+
inner: number;
|
|
1997
|
+
outer: number;
|
|
1998
|
+
} | undefined;
|
|
1999
|
+
head?: string | undefined;
|
|
2000
|
+
foot?: string | undefined;
|
|
2001
|
+
}[];
|
|
2002
|
+
rules: {
|
|
2003
|
+
last?: string | undefined;
|
|
2004
|
+
verso?: string | undefined;
|
|
2005
|
+
recto?: string | undefined;
|
|
2006
|
+
first?: string | undefined;
|
|
2007
|
+
every: string;
|
|
2008
|
+
};
|
|
2009
|
+
numbering?: "arabic" | "roman-lower" | "roman-upper" | "hebrew" | undefined;
|
|
2010
|
+
} | undefined;
|
|
2011
|
+
slots?: {
|
|
2012
|
+
key: string;
|
|
2013
|
+
label: string;
|
|
2014
|
+
type: "text" | "image" | "phone" | "email" | "link" | "qr";
|
|
2015
|
+
required: boolean;
|
|
2016
|
+
overflow: "refuse" | "shrink" | "truncate" | "wrap";
|
|
2017
|
+
placeholder?: string | undefined;
|
|
2018
|
+
minSize?: number | undefined;
|
|
2019
|
+
}[] | undefined;
|
|
2020
|
+
fonts?: ({
|
|
2021
|
+
app: string;
|
|
2022
|
+
} | {
|
|
2023
|
+
local: string;
|
|
2024
|
+
fallback: string;
|
|
2025
|
+
})[] | undefined;
|
|
2026
|
+
}>>;
|
|
1712
2027
|
id: z.ZodOptional<z.ZodString>;
|
|
1713
2028
|
name: z.ZodOptional<z.ZodString>;
|
|
1714
2029
|
}, z.core.$strip>, z.ZodTransform<{
|
|
@@ -1717,7 +2032,7 @@ export declare function jsonSchemas(): {
|
|
|
1717
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" | {
|
|
1718
2033
|
width: number;
|
|
1719
2034
|
height: number;
|
|
1720
|
-
unit: "
|
|
2035
|
+
unit: "in" | "mm" | "pt";
|
|
1721
2036
|
};
|
|
1722
2037
|
orientation: "portrait" | "landscape";
|
|
1723
2038
|
bleed: number;
|
|
@@ -1731,12 +2046,15 @@ export declare function jsonSchemas(): {
|
|
|
1731
2046
|
left: number;
|
|
1732
2047
|
} | undefined;
|
|
1733
2048
|
};
|
|
1734
|
-
|
|
1735
|
-
size:
|
|
2049
|
+
body: PageBody;
|
|
2050
|
+
size: {
|
|
1736
2051
|
width: number;
|
|
1737
2052
|
height: number;
|
|
1738
2053
|
} | {
|
|
1739
|
-
width:
|
|
2054
|
+
readonly width: "full";
|
|
2055
|
+
readonly height: "auto";
|
|
2056
|
+
} | {
|
|
2057
|
+
width: number | "full" | "standard" | "wide";
|
|
1740
2058
|
height: "auto";
|
|
1741
2059
|
};
|
|
1742
2060
|
scripts: "refuse" | "sandboxed";
|
|
@@ -1785,12 +2103,15 @@ export declare function jsonSchemas(): {
|
|
|
1785
2103
|
name?: string | undefined;
|
|
1786
2104
|
}, {
|
|
1787
2105
|
page: {
|
|
1788
|
-
|
|
1789
|
-
size:
|
|
2106
|
+
body: PageBody;
|
|
2107
|
+
size: {
|
|
1790
2108
|
width: number;
|
|
1791
2109
|
height: number;
|
|
1792
2110
|
} | {
|
|
1793
|
-
width:
|
|
2111
|
+
readonly width: "full";
|
|
2112
|
+
readonly height: "auto";
|
|
2113
|
+
} | {
|
|
2114
|
+
width: number | "full" | "standard" | "wide";
|
|
1794
2115
|
height: "auto";
|
|
1795
2116
|
};
|
|
1796
2117
|
scripts: "refuse" | "sandboxed";
|
|
@@ -1801,7 +2122,7 @@ export declare function jsonSchemas(): {
|
|
|
1801
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" | {
|
|
1802
2123
|
width: number;
|
|
1803
2124
|
height: number;
|
|
1804
|
-
unit: "
|
|
2125
|
+
unit: "in" | "mm" | "pt";
|
|
1805
2126
|
};
|
|
1806
2127
|
orientation: "portrait" | "landscape";
|
|
1807
2128
|
bleed: number;
|