The desktop store validates measures and their values (#588)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
native-store kept measure declarations and values as the editor sent them. It now checks them as the editor and server do, on whole and sparse saves and in och-convert: - declarations: at most 32, names as src/measures.ts allows, type mpz or mpq, labels of 1 to 80 characters, a bounded presentation; - values: only declared names, canonical exact text (integers without leading zeros, fractions never n/1), whole for mpz, never zero, at most 2,200 characters, on moments and durations alike; fractions in lowest terms, checked through the rational extension where they are written. The totals tests' generators no longer write zeros, which the editor never stores. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/commit/c19d55b0cf6c97b1a466dfcde297720b112dd2b1
Related
Open The desktop store validates measures and their values (#588) in the timeline