feat(POS-003): completed feature
This commit is contained in:
11
work/artifacts/POS-003/architect.md
Normal file
11
work/artifacts/POS-003/architect.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# POS-003 — Architect
|
||||
|
||||
## Feature
|
||||
POS module skeleton: domain + repos + application use cases.
|
||||
|
||||
## Design
|
||||
Domain layer: PosStore, PosTerminal, PosCashSession types + all errors. Ports: PosStoreRepository, PosTerminalRepository, PosCashSessionRepository interfaces.
|
||||
Infrastructure: PgStoreRepository, PgTerminalRepository, PgPaymentMethodRepository, PgCashSessionRepository.
|
||||
Application: ListStores, ListTerminals, GetPosConfig, OpenCashSession, CloseCashSession use cases.
|
||||
Tests: unit tests for store listing + cash session open/close.
|
||||
Wired into build-app.ts (repos in deps, no routes yet — covered by POS-004).
|
||||
Reference in New Issue
Block a user