Something went wrong. Try again.
A functional toolkit for authoring resource-leveling algorithms — compose constraint and scoring blocks, enumerate feasible schedules
Something went wrong. Try again.
feat(level-blocks): derived block metadata (deriveBlockMeta/dumpBlockMeta) master
Port a zod→JSON-Schema walk into src/level-blocks/meta.ts, minus all Blockly assembly: deriveBlockMeta flattens a block's input schema into editable scalar fields (date/number/slider/dropdown/checkbox with labels/bounds/defaults), variadic scalar-array params, and complex (field-less) params, alongside the block's family/tier/doc/shadow and its JSON-Schema. dumpBlockMeta wraps the whole registry with the composition grammar. Exports the ISO-date pattern both sides agree on by construction. Zod-only, exported from levelset/leveling.
Author Russ T. Fugal Date (Jul 16, 2026, 10:21 PM UTC) Commit e93da3f4 e93da3f4fd2c09c0876e425d392874b89baf2d08 Parent ff991b2f ff991b2ff4f607bf7e10eaf49d5ff24c9e2ca082