feat: add inlinking transmission code block

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-07-03 12:56:50 +07:00
parent 020b21892d
commit 87a6fe188c
9 changed files with 225 additions and 27 deletions

View File

@@ -78,3 +78,22 @@ export const getCollectionProductsQuery = /* GraphQL */ `
}
${productFragment}
`;
export const getTransmissionCodesQuery = /* GraphQL */ `
query getTransmissionCodes($handle: String!, $filters: [ProductFilter!]) {
collection(handle: $handle) {
products(first: 1, filters: $filters) {
filters {
id
label
type
values {
id
input
label
}
}
}
}
}
`;