💥💣 ALMOST THERE???? DUNNO PROBABLY - 90% done
This commit is contained in:
@@ -30,11 +30,11 @@ export type OrderPriceDetailsModel = z.infer<typeof orderPriceDetailsModel>;
|
||||
|
||||
export const orderModel = z.object({
|
||||
id: z.coerce.number().int().positive(),
|
||||
uid: z.string().min(1).max(32),
|
||||
status: z.nativeEnum(OrderStatus),
|
||||
|
||||
...orderPriceDetailsModel.shape,
|
||||
|
||||
status: z.nativeEnum(OrderStatus),
|
||||
|
||||
productId: z.number(),
|
||||
customerInfoId: z.number().nullish().optional(),
|
||||
paymentInfoId: z.number().nullish().optional(),
|
||||
|
||||
Reference in New Issue
Block a user