@anker-in/shopify-sdk 1.2.0-beta.7 → 1.2.0-beta.9
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 +11 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- package/dist/queries/index.js +11 -7
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/index.mjs +11 -7
- package/dist/queries/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -936,6 +936,8 @@ var getCollectionsByHandlesQuery = (handles) => (
|
|
|
936
936
|
${productFragment}
|
|
937
937
|
${variantFragment}
|
|
938
938
|
${metafieldFragment}
|
|
939
|
+
${imageFragment}
|
|
940
|
+
${seoFragment}
|
|
939
941
|
|
|
940
942
|
query GetCollectionsByHandles(
|
|
941
943
|
$collectionMetafieldIdentifiers: [HasMetafieldsIdentifier!] = []
|
|
@@ -948,6 +950,9 @@ var getCollectionsByHandlesQuery = (handles) => (
|
|
|
948
950
|
`
|
|
949
951
|
collection_${index}: collection(handle: "${handle}") {
|
|
950
952
|
...collection
|
|
953
|
+
metafields(identifiers: $collectionMetafieldIdentifiers) {
|
|
954
|
+
...metafield
|
|
955
|
+
}
|
|
951
956
|
products(first: 9) {
|
|
952
957
|
edges {
|
|
953
958
|
node {
|
|
@@ -956,19 +961,18 @@ var getCollectionsByHandlesQuery = (handles) => (
|
|
|
956
961
|
...metafield
|
|
957
962
|
}
|
|
958
963
|
variants(first: 10) {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
964
|
+
edges {
|
|
965
|
+
node {
|
|
966
|
+
...variant
|
|
967
|
+
metafields(identifiers: $variantMetafieldIdentifiers) {
|
|
968
|
+
...metafield
|
|
969
|
+
}
|
|
963
970
|
}
|
|
964
971
|
}
|
|
965
972
|
}
|
|
966
973
|
}
|
|
967
974
|
}
|
|
968
975
|
}
|
|
969
|
-
metafields(identifiers: $collectionMetafieldIdentifiers) {
|
|
970
|
-
...metafield
|
|
971
|
-
}
|
|
972
976
|
}
|
|
973
977
|
`
|
|
974
978
|
)
|