Add account-based event registration and robust email HTML
This commit is contained in:
1 parent
c647c90078
commit
e170d57577
7 files changed
+340
-95
No files matched your search
@@ -27,10 +27,7 @@ export const demandeSchema = z.object({
|
||||
});
|
||||
|
||||
export const inscriptionPublicSchema = z.object({
|
||||
nom: trimmed(120, 1),
|
||||
entreprise: trimmed(120, 1),
|
||||
email: trimmed(254, 3).email(),
|
||||
tel: trimmed(30).optional().default(''),
|
||||
participants: z.array(trimmed(120, 1)).min(1).max(100),
|
||||
});
|
||||
|
||||
export const memberProfileSchema = z.object({
|
||||
@@ -55,6 +52,7 @@ export const rencontreSchema = z.object({
|
||||
lieu: trimmed(200).optional().default(''),
|
||||
description: trimmed(2000).optional().default(''),
|
||||
places: z.coerce.number().int().min(0).max(100000),
|
||||
participants_par_compte: z.coerce.number().int().min(1).max(100).optional().default(1),
|
||||
});
|
||||
|
||||
export const inscriptionAdminSchema = z.object({
|
||||
|
||||
Reference in new issue
Block a user