mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 12:11:23 +00:00
.vscode
assets
components
config
framework
bigcommerce
commerce
reactioncommerce
api
auth
cart
common
customer
product
utils
mutations
queries
account-cart-by-account-id.ts
catalog-items-query.ts
get-all-collections-query.ts
get-all-pages-query.ts
get-all-product-vendors-query.ts
get-all-products-paths-query.ts
get-anonymous-cart.ts
get-checkout-query.ts
get-collection-products-query.ts
get-page-query.ts
get-product-query.ts
get-viewer-id-query.ts
index.ts
viewer-query.ts
customer-token.ts
get-anonymous-cart-token.ts
get-cart-id.ts
get-categories.ts
get-search-variables.ts
get-sort-variables.ts
get-vendors.ts
handle-fetch-response.ts
index.ts
normalize.ts
wishlist
.env.template
README.md
codegen.json
commerce.config.json
const.ts
fetcher.ts
index.tsx
next.config.js
provider.ts
schema.d.ts
schema.graphql
types.ts
shopify
lib
pages
public
.editorconfig
.env.template
.gitignore
.prettierignore
.prettierrc
README.md
codegen.json
commerce.config.json
global.d.ts
license.md
next-env.d.ts
next.config.js
package.json
postcss.config.js
tailwind.config.js
tsconfig.json
yarn.lock
9 lines
126 B
TypeScript
9 lines
126 B
TypeScript
export const viewerIdQuery = /* GraphQL */ `
|
|
query viewer {
|
|
viewer {
|
|
_id
|
|
}
|
|
}
|
|
`
|
|
export default viewerIdQuery
|