feat: total price and products count display for deals
This commit is contained in:
@ -327,6 +327,8 @@ export const zDealSchema = z.object({
|
||||
createdAt: z.iso.datetime({
|
||||
offset: true,
|
||||
}),
|
||||
productsQuantity: z.optional(z.int()).default(0),
|
||||
totalPrice: z.optional(z.number()).default(0),
|
||||
client: z.optional(z.union([zClientSchema, z.null()])),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user