admin: Superforms + Zod validation, three-address-defaults schema, profiles toast fix
- Add Superforms + Zod 4 for all admin form validation - Replace address isDefault with three separate boolean defaults (Mailing, Billing, Shipping) - Update profiles page with three-checkbox address form and toast improvements - Convert all admin page server actions to pass request directly to crud - Export superFormErrorsToFieldErrors helper for profiles server actions - Regenerate Prisma client for new schema fields
This commit is contained in:
@@ -1 +1,21 @@
|
||||
# Rhema Wave Technologies - User Portal
|
||||
|
||||
SvelteKit 2 + Svelte 5 + Tailwind CSS v4 + Prisma 7 + PostgreSQL + Better-Auth.
|
||||
|
||||
## Admin
|
||||
|
||||
Admin CRUD pages at `/admin`. 9 models have per-page routes with modals for create/edit:
|
||||
|
||||
| Included | Excluded |
|
||||
| -------- | --------------------- |
|
||||
| users | Session (Better Auth) |
|
||||
| profiles | Account (Better Auth) |
|
||||
| addresses| Verification (Better Auth) |
|
||||
| user-roles | UserProclamations (composite key) |
|
||||
| proclamations | |
|
||||
| solfeggio-frequencies | |
|
||||
| proclamation-categories | |
|
||||
| license-keys (list-only) | |
|
||||
| subscription-levels | |
|
||||
|
||||
See `src/lib/svelte-admin/README.md` for architecture and configuration docs.
|
||||
|
||||
Reference in New Issue
Block a user