refactor: more legacy code replaced more on the model and a bit on the admin side
This commit is contained in:
@@ -14,7 +14,6 @@ export const customerInfoModel = z.object({
|
||||
zipCode: z.string().min(1).max(21),
|
||||
address: z.string().min(1),
|
||||
address2: z.string().optional().nullable(),
|
||||
orderId: z.number().optional().nullable(),
|
||||
createdAt: z.coerce.string().optional(),
|
||||
updatedAt: z.coerce.string().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user