feat: SW-2028 Updated validations at trpc query level
This commit is contained in:
@@ -66,6 +66,7 @@ export const productTypePointsSchema = z
|
||||
.object({
|
||||
localPrice: redemptionSchema,
|
||||
requestedPrice: redemptionSchema.nullish(),
|
||||
hasEnoughPoints: z.boolean().optional().default(false),
|
||||
})
|
||||
.merge(partialPriceSchema)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user