fix: expose complete dataset period catalog
This commit is contained in:
@@ -213,7 +213,7 @@ None.
|
||||
|
||||
The user approved the merchant-dashboard redesign on 2026-08-20. The backend increment is additive and follows this dependency order:
|
||||
|
||||
1. Pure, tested Jalali boundary helpers and four latest complete period descriptors.
|
||||
1. Pure, tested Jalali boundary helpers and a dataset-bounded catalog of all complete supported period descriptors.
|
||||
2. Authenticated merchant-terminal listing and optional terminal scope on analytics runs.
|
||||
3. Bounded overview payment-history points for the selected scope.
|
||||
4. Transaction listing filters and one merchant-owned transaction detail resource.
|
||||
|
||||
@@ -549,7 +549,7 @@ Every task must satisfy its acceptance criteria and the standing Definition of D
|
||||
|
||||
## Approved redesign API increment — 2026-08-20
|
||||
|
||||
- [ ] Task 13: Return latest complete `DAY`, `WEEK`, `JALALI_MONTH`, and `PERSIAN_SEASON` periods with the Jalali month as default.
|
||||
- [ ] Task 13: Return every complete dataset-backed `DAY`, `WEEK`, `JALALI_MONTH`, and `PERSIAN_SEASON` period with the latest complete Jalali month as default.
|
||||
- Acceptance: pure boundary tests cover Nowruz, month rollover, leap Esfand, Iranian Saturday–Friday weeks, and dataset boundaries.
|
||||
- Verify: focused analytics tests and `go test ./...`.
|
||||
- [ ] Task 14: Add authenticated merchant terminal discovery and terminal-scoped analytics runs.
|
||||
|
||||
Reference in New Issue
Block a user