feat(POS-004): completed feature
This commit is contained in:
9
work/artifacts/POS-004/architect.md
Normal file
9
work/artifacts/POS-004/architect.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# POS-004 — Architect
|
||||
|
||||
## Feature
|
||||
POS API Phase 1: config, stores, terminals, sessions routes.
|
||||
|
||||
## Design
|
||||
Routes: GET/POST /pos/admin/stores, GET/POST /pos/admin/terminals, GET/pos/terminals/me, POST /pos/terminals/bind, GET /pos/config, GET /pos/sessions/me, POST /pos/sessions, POST /pos/sessions/:id/close.
|
||||
Auth: requireRole('admin') for admin routes; requireAnyRole(['admin','pos_manager','pos_cashier']) for terminal routes.
|
||||
Rate limits applied via existing framework.
|
||||
Reference in New Issue
Block a user