happyDomain/web-admin
Pierre-Olivier Mercier 8876b3972a model: add UserQuota struct for admin-controlled per-user limits
Introduce a UserQuota field on the User model to hold admin-controlled
limits and flags that the user cannot modify. Only checker-related
fields are defined for now (max checks per day, retention days,
inactivity pause days, scheduling kill switch); future paid-plan
attributes will be added here later.

The user-facing API only exposes settings updates and account deletion,
so Quota cannot be written through it. Updates go through the existing
admin user PUT endpoint, with a new editor card in the admin UI under
/users/[uid].
2026-04-16 15:18:43 +07:00
..
src model: add UserQuota struct for admin-controlled per-user limits 2026-04-16 15:18:43 +07:00
.gitignore web-admin: Don't use .gitignore symlink 2026-02-12 12:12:09 +07:00
.npmrc Create admin interface base 2026-01-26 12:34:55 +08:00
.prettierignore Create admin interface base 2026-01-26 12:34:55 +08:00
.prettierrc Create admin interface base 2026-01-26 12:34:55 +08:00
assets-noui.go Create admin interface base 2026-01-26 12:34:55 +08:00
assets.go Generate admin API 2026-01-26 12:34:55 +08:00
eslint.config.js Create admin interface base 2026-01-26 12:34:55 +08:00
node_modules Create admin interface base 2026-01-26 12:34:55 +08:00
openapi-ts.config.ts Generate admin API 2026-01-26 12:34:55 +08:00
package-lock.json Create admin interface base 2026-01-26 12:34:55 +08:00
package.json Create admin interface base 2026-01-26 12:34:55 +08:00
routes.go chore: replace interface{} with any across the codebase 2026-03-01 17:38:04 +07:00
static Create admin interface base 2026-01-26 12:34:55 +08:00
svelte.config.js Create admin interface base 2026-01-26 12:34:55 +08:00
tsconfig.json Create admin interface base 2026-01-26 12:34:55 +08:00
vite.config.ts Create admin interface base 2026-01-26 12:34:55 +08:00