mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
import cartFragment from '../fragments/cart';
|
|
|
|
export const getCartQuery = /* GraphQL */ `
|
|
query getCart($cartId: ID!, $country: CountryCode, $language: LanguageCode)
|
|
@inContext(country: $country, language: $language) {
|
|
cart(id: $cartId) {
|
|
...cart
|
|
}
|
|
}
|
|
${cartFragment}
|
|
`;
|