mirror of
https://github.com/vercel/commerce.git
synced 2025-06-08 01:06:59 +00:00
Update cart.ts
This commit is contained in:
parent
577609a71b
commit
8cd67f8539
@ -1,7 +1,7 @@
|
|||||||
import { z } from 'zod'
|
import { z } from 'zod'
|
||||||
|
|
||||||
export const getCartBodySchema = z.object({
|
export const getCartBodySchema = z.object({
|
||||||
cartId: z.string(),
|
cartId: z.string().optional(),
|
||||||
})
|
})
|
||||||
|
|
||||||
export const cartItemBodySchema = z.object({
|
export const cartItemBodySchema = z.object({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user