mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
feat: implement YMM filters
Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
20
lib/shopify/queries/metaobject.ts
Normal file
20
lib/shopify/queries/metaobject.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export const getMetaobjectsQuery = /* GraphQL */ `
|
||||
query getMetaobjects($type: String!) {
|
||||
metaobjects(type: $type, first: 200) {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
fields {
|
||||
reference {
|
||||
... on Metaobject {
|
||||
id
|
||||
}
|
||||
}
|
||||
key
|
||||
value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
Reference in New Issue
Block a user