mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 16:07:01 +00:00
12 lines
379 B
TypeScript
12 lines
379 B
TypeScript
import { cartQueryFragment } from '@framework/utils/queries/get-cart-query'
|
|
|
|
const accountCartByAccountIdQuery = `
|
|
query accountCartByAccountIdQuery($accountId: ID!, $shopId: ID!, $itemsAfterCursor: ConnectionCursor) {
|
|
cart: accountCartByAccountId(accountId: $accountId, shopId: $shopId) {
|
|
${cartQueryFragment}
|
|
}
|
|
}
|
|
`
|
|
|
|
export default accountCartByAccountIdQuery
|