Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydan Pirani committed Jul 17, 2024
1 parent 19c45b6 commit b4c643a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/attendee/attendee-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,7 @@ export const PartialAttendeeValidator = AttendeeValidator.partial();

export const AttendeeFilterValidator = z.object({
in: PartialAttendeeValidator,
out: z.map(PartialAttendeeValidator.keyof(), z.number().min(0).max(1)),
out: z.array(
z.record(PartialAttendeeValidator.keyof(), z.number().min(0).max(1))
),
});

0 comments on commit b4c643a

Please sign in to comment.