feat(app): add template catalogue and create-only submit repository
Add the nonvisual templates data/domain slice: TemplateRepository over the shared ApiGateway for list_templates, validate and create-only submit, and TemplateEntry preserving every server field in a deeply read-only raw map. Re-include test/**/data/ in app/.gitignore so the mirroring tests are not silently dropped from a fresh checkout. Tests cover exact request shapes, source preservation, blank-name refusal, malformed replies, server refusals and immutability.
This commit is contained in:
+5
-1
@@ -45,6 +45,10 @@ app.*.map.json
|
||||
/android/app/release
|
||||
|
||||
# The repository ignores runtime data/ directories. Feature repository source
|
||||
# is code, not runtime data, and must be included in fresh checkouts.
|
||||
# and its mirroring tests are code, not runtime data, and must be included in
|
||||
# fresh checkouts. The test negation is required too: without it every
|
||||
# `test/**/data/` directory is silently dropped from the candidate.
|
||||
!/lib/**/data/
|
||||
!/lib/**/data/**
|
||||
!/test/**/data/
|
||||
!/test/**/data/**
|
||||
|
||||
Reference in New Issue
Block a user