Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: update number of values validation
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Aug 11, 2023
1 parent 4a38972 commit 6c15656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IO/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const PersonaDataName = object({
export type NumberOfValues = z.infer<typeof NumberOfValues>
export const NumberOfValues = object({
quantifier: union([literal('exactly'), literal('atLeast')]),
quantity: number().gte(1),
quantity: number().gte(0),
})

export type AccountsRequestItem = z.infer<typeof AccountsRequestItem>
Expand Down

0 comments on commit 6c15656

Please sign in to comment.