Files
nroxy/packages/db
sirily 431a60f9c8 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
2026-03-10 15:52:16 +03:00
..
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00
2026-03-10 14:03:52 +03:00

packages/db

Database package for nproxy.

Implemented in this iteration

  • Prisma package scaffold
  • Current Prisma schema for persisted state
  • Shared schema path export for runtime tooling

Current scope

  • Users and subscription state
  • Manual crypto invoices
  • Generation requests and provider-key attempts
  • Usage ledger
  • Provider keys, optional proxies, and auditable state events
  • Telegram pairing and admin allowlist
  • Admin audit log