feat(ST-qfpqpxzy): DB schema + settings-UI voor min_quota_pct worker-drempel (#118)
- User.min_quota_pct Int @default(20) + ClaudeWorker.last_quota_pct/last_quota_check_at - Migratie add_worker_quota_gate - lib/schemas/user.ts: minQuotaPctSchema (int, 1-100) - actions/settings.ts: updateMinQuotaPctAction met auth/demo/zod-guard - MinQuotaEditor component met numeric input en DemoTooltip - Settings-pagina: Worker-instellingen sectie Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
78543ee796
commit
555ed8fe89
7 changed files with 190 additions and 4 deletions
3
lib/schemas/user.ts
Normal file
3
lib/schemas/user.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { z } from 'zod'
|
||||
|
||||
export const minQuotaPctSchema = z.number().int().min(1).max(100)
|
||||
Loading…
Add table
Add a link
Reference in a new issue