feat(admin): add maxSports field to plan rules and limits schemas
This commit is contained in:
@@ -17,6 +17,7 @@ export const planRulesV1Schema = z.object({
|
||||
maxBookingsPerDay: positiveInt,
|
||||
maxActiveUsers: positiveInt.optional(),
|
||||
maxConcurrentBookingsPerSlot: positiveInt.optional(),
|
||||
maxSports: positiveInt.optional(),
|
||||
}),
|
||||
policies: z
|
||||
.object({
|
||||
@@ -71,6 +72,7 @@ export const planLimitsSchema = z.object({
|
||||
maxBookingsPerDay: positiveInt,
|
||||
maxActiveUsers: positiveInt.optional(),
|
||||
maxConcurrentBookingsPerSlot: positiveInt.optional(),
|
||||
maxSports: positiveInt.optional(),
|
||||
})
|
||||
|
||||
export const planWithFeaturesSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user