five-on-it / apps/client/src/ui/admin
apps/client/src/ui/admin
The admin page's side of the platform API, without React (AdminPage.tsx): the accounts an admin searches (GET /admin/accounts?q=), one account's limits a day and what it used today, its override set (PUT /admin/accounts/:id/limits) or taken away (DELETE), every override (GET /admin/limits) and the audit of their changes (GET /admin/audit), the platform's creations and the model's budget (GET /admin/creations) and a creation cancelled (POST /admin/jobs/:id/cancel); the override form's fields as the inputs hold them, the body they send, and what one change changed, field by field.