@anker-in/shopify-sdk 1.2.0-beta.6 → 1.2.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +18 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -12
- package/dist/index.mjs.map +1 -1
- package/dist/queries/index.js +18 -12
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/index.mjs +18 -12
- package/dist/queries/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -935,6 +935,8 @@ var getCollectionsByHandlesQuery = (handles) => (
|
|
|
935
935
|
${productFragment}
|
|
936
936
|
${variantFragment}
|
|
937
937
|
${metafieldFragment}
|
|
938
|
+
${imageFragment}
|
|
939
|
+
${seoFragment}
|
|
938
940
|
|
|
939
941
|
query GetCollectionsByHandles(
|
|
940
942
|
$collectionMetafieldIdentifiers: [HasMetafieldsIdentifier!] = []
|
|
@@ -947,23 +949,27 @@ var getCollectionsByHandlesQuery = (handles) => (
|
|
|
947
949
|
`
|
|
948
950
|
collection_${index}: collection(handle: "${handle}") {
|
|
949
951
|
...collection
|
|
950
|
-
|
|
951
|
-
...
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
metafields(identifiers: $variantMetafieldIdentifiers) {
|
|
952
|
+
metafields(identifiers: $collectionMetafieldIdentifiers) {
|
|
953
|
+
...metafield
|
|
954
|
+
}
|
|
955
|
+
products(first: 9) {
|
|
956
|
+
edges {
|
|
957
|
+
node {
|
|
958
|
+
...product
|
|
959
|
+
metafields(identifiers: $productMetafieldIdentifiers) {
|
|
959
960
|
...metafield
|
|
960
961
|
}
|
|
962
|
+
variants(first: 10) {
|
|
963
|
+
nodes {
|
|
964
|
+
...variant
|
|
965
|
+
metafields(identifiers: $variantMetafieldIdentifiers) {
|
|
966
|
+
...metafield
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
961
970
|
}
|
|
962
971
|
}
|
|
963
972
|
}
|
|
964
|
-
metafields(identifiers: $collectionMetafieldIdentifiers) {
|
|
965
|
-
...metafield
|
|
966
|
-
}
|
|
967
973
|
}
|
|
968
974
|
`
|
|
969
975
|
)
|