mirror of
https://github.com/vercel/commerce.git
synced 2025-07-30 05:31:22 +00:00
.github
.vscode
app
components
fonts
hooks
lib
shopify
fragments
mutations
queries
cart.ts
collection.ts
menu.ts
metaobject.ts
node.ts
page.ts
product.ts
index.ts
types.ts
constants.ts
type-guards.ts
utils.ts
public
.env.example
.eslintrc.js
.gitignore
.nvmrc
.prettierignore
README.md
license.md
next.config.js
package.json
pnpm-lock.yaml
postcss.config.js
prettier.config.js
tailwind.config.js
tsconfig.json
21 lines
380 B
TypeScript
21 lines
380 B
TypeScript
export const getMetaobjectsQuery = /* GraphQL */ `
|
|
query getMetaobjects($type: String!) {
|
|
metaobjects(type: $type, first: 200) {
|
|
edges {
|
|
node {
|
|
id
|
|
fields {
|
|
reference {
|
|
... on Metaobject {
|
|
id
|
|
}
|
|
}
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|