Files
hyperframes/packages
Miguel Angel Simon Sierra 3aa6976275 refactor(studio-server): declare JSON boundaries as schemas, not hand guards
The selection route validated its payload with ~75 lines of isRecord /
hasString / isFiniteNumber helpers sitting next to a hand-written interface
describing the same shape — two definitions that could drift, and the pattern
the agent routes were copied from. Both are now one zod schema with the public
types inferred from it, so the validator and the type cannot disagree. The
Google Fonts metadata parse follows.

Net -115 lines, same behaviour: the existing selection route tests pass
unchanged.
2026-08-04 14:51:47 -07:00
..
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00
2026-08-04 01:49:05 -07:00