From 62357165f66914a53b366ba88108f899f283c034 Mon Sep 17 00:00:00 2001 From: cass Date: Tue, 2 Jan 2024 10:00:42 -0600 Subject: [PATCH] Add booklet to allowed sigFormat set --- src/book.js | 2 +- src/models/configuration.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/book.js b/src/book.js index 0b08591..cf7484d 100644 --- a/src/book.js +++ b/src/book.js @@ -7,7 +7,7 @@ import { saveAs } from 'file-saver'; import { Signatures } from './signatures.js'; import { PerfectBound } from './perfectbound.js'; import { WackyImposition } from './wacky_imposition.js'; -import { PAGE_LAYOUTS, PAGE_SIZES, TARGET_BOOK_SIZE, LINE_LEN } from './constants.js'; +import { PAGE_LAYOUTS, PAGE_SIZES, LINE_LEN } from './constants.js'; import { updatePageLayoutInfo} from './utils/renderUtils.js'; import JSZip from 'jszip'; import { loadConfiguration } from './utils/formUtils.js'; diff --git a/src/models/configuration.js b/src/models/configuration.js index 20e2594..c41acf8 100644 --- a/src/models/configuration.js +++ b/src/models/configuration.js @@ -48,7 +48,7 @@ const pageScaling = urlSafe(z.enum(["centered", "lockratio", "stretch"])).defaul const pagePositioning = urlSafe(z.enum(["centered", "binding_aligned"])).default("centered"); -const sigFormat = urlSafe(z.enum(["perfect", "standardsig", "customsig", "1_3rd", "A7_2_16s", "8_zine", "a_3_6s", "a9_3_3_4", "a_4_8s", "a10_6_10s"])).default("standardsig"); +const sigFormat = urlSafe(z.enum(["booklet", "perfect", "standardsig", "customsig", "1_3rd", "A7_2_16s", "8_zine", "a_3_6s", "a9_3_3_4", "a_4_8s", "a10_6_10s"])).default("standardsig"); const wackySpacing = urlSafe(z.enum(["wacky_pack", "wacky_gap"])).default("wacky_pack");