|
@@ -8,6 +8,7 @@ const DbSchema = {
|
|
email: z.string().email(),
|
|
email: z.string().email(),
|
|
password: z.string(),
|
|
password: z.string(),
|
|
wrongPassTries: z.number().int().default(0),
|
|
wrongPassTries: z.number().int().default(0),
|
|
|
|
+ isChild: z.boolean(),
|
|
},
|
|
},
|
|
roles: {
|
|
roles: {
|
|
roleId: z.string().uuid(),
|
|
roleId: z.string().uuid(),
|
|
@@ -140,6 +141,9 @@ const DbSchema = {
|
|
eventInstId: z.string().uuid(),
|
|
eventInstId: z.string().uuid(),
|
|
code: z.string(),
|
|
code: z.string(),
|
|
name: z.string(),
|
|
name: z.string(),
|
|
|
|
+ maxMembers: z.number().int().nullable(),
|
|
|
|
+ isJoinAfterCreate: z.boolean(),
|
|
|
|
+ isWithMembers: z.boolean(),
|
|
},
|
|
},
|
|
actValidators: {
|
|
actValidators: {
|
|
actValidatorId: z.string().uuid(),
|
|
actValidatorId: z.string().uuid(),
|