cc5d6bab

By: Michael Lynch <git@mtlynch.io>

Keep item-section JSON details in handlers

Use ItemName for ItemSection.Name so remembered item-section mappings use the same validated item-name type as grocery items. Move JSON field names into a private handler response type so the shared types package remains transport-agnostic.

Testing:
- GOBIN= ./dev-scripts/run-go-tests
- nix flake check
- ./dev-scripts/git-hooks/pre-commit
Codeberg

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 3s 3s 3s
Eval 3s 1m04s 1m04s 1m08s
Build 48s 4m55s 4m50s 5m39s
Suite 0s 6m02s 5m39s 5m39s