mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
Fix customerSchema
This commit is contained in:
parent
035334a439
commit
fffb17977a
@ -5,6 +5,7 @@ export const getCustomerAddressBodySchema = z.object({
|
||||
})
|
||||
|
||||
export const customerSchema = z.object({
|
||||
customer: z.object({
|
||||
id: z.string(),
|
||||
firstName: z.string(),
|
||||
lastName: z.string(),
|
||||
@ -13,6 +14,7 @@ export const customerSchema = z.object({
|
||||
company: z.string().optional(),
|
||||
notes: z.string().optional(),
|
||||
acceptsMarketing: z.boolean().optional(),
|
||||
})
|
||||
})
|
||||
|
||||
export const addressSchema = z.object({
|
||||
|
Loading…
x
Reference in New Issue
Block a user