Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 918aa0c7836312601a225c2c15105acfc4b176ef
parent 508f99776691a855df905234e91684e4344b2c7f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri,  6 Nov 2026 01:48:12 -0500

umtool: updateRender keeps its own JSDoc (updateRenderKeys was inserted between them)

The look's writer lost its parameter types and two routes failed tsc
(token: string | null against null | undefined).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/lib/report/manifest.mjs | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/umtool/lib/report/manifest.mjs b/umtool/lib/report/manifest.mjs @@ -1639,18 +1639,6 @@ export class RenderRefused extends Error { } /** - * Patch the look. Each key of `patch` is one of LOOK_KEYS; `null` removes the - * key (the build's default again). `qr: true` turns the code back on (removes - * a `false`; an object of settings is kept), `qr: false` turns it off. - * The rules are applyLookPatch's (common lib/report/look.mjs), against the - * manifest as it is inside the lock. - * - * @param {string} dir - * @param {Record<string, unknown>} patch - * @param {{ token?: string | null }} [opts] - * @returns {Promise<{ look: Record<string, unknown>, token: string | null }>} - */ -/** * The legacy render keys a cut that moves to the deck may drop (`umtool look * <p> --unset render.<key>`): the old branch's rail, its chrome engine and * regions, its claim schedule, wordmark, title, finale and cut blocks. Only @@ -1713,6 +1701,18 @@ export async function updateRenderKeys(dir, { unset = [], chrome = null } = {}, }); } +/** + * Patch the look. Each key of `patch` is one of LOOK_KEYS; `null` removes the + * key (the build's default again). `qr: true` turns the code back on (removes + * a `false`; an object of settings is kept), `qr: false` turns it off. + * The rules are applyLookPatch's (common lib/report/look.mjs), against the + * manifest as it is inside the lock. + * + * @param {string} dir + * @param {Record<string, unknown>} patch + * @param {{ token?: string | null }} [opts] + * @returns {Promise<{ look: Record<string, unknown>, token: string | null }>} + */ export async function updateRender(dir, patch, { token = null } = {}) { if (!isObj(patch)) throw new RenderRefused(["the patch must be an object of render keys"]); {