Commit d652cb6
feat(manager): add tandaCount view for frontend pagination
Exposes the total number of tandas ever created (across all states).
Equals nextTandaId - 1 since IDs start at 1. Returns 0 before the
first tanda exists.
Frontends paginating "all tandas" lists need this; it's cleaner than
having them compute nextTandaId - 1 themselves.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9d6ffaa commit d652cb6
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
751 | 762 | | |
752 | 763 | | |
753 | 764 | | |
| |||
0 commit comments