fix: hide exact quota values from account response (#16)

Closes #1

- hide exact quota values from GET /api/account
- keep only the approximate quota bucket in the public account payload
- add a regression test for the public account response contract
- document that completed tasks should end with a PR

Co-authored-by: sirily <sirily@git.shararam.party>
Reviewed-on: #16
This commit was merged in pull request #16.
This commit is contained in:
2026-03-10 15:52:16 +03:00
parent 55472de23d
commit 431a60f9c8
7 changed files with 162 additions and 70 deletions

View File

@@ -5,6 +5,8 @@
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"pretest": "pnpm build",
"test": "node --test dist/**/*.test.js",
"start": "node dist/main.js"
},
"dependencies": {