fontdue-js 3.7.0 → 3.9.0
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/CHANGELOG.md +11 -0
- package/README.md +8 -5
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
- package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
- package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
- package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
- package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
- package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
- package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
- package/dist/__generated__/BuyButton_product.graphql.js +72 -0
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +26 -20
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
- package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
- package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
- package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
- package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
- package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
- package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
- package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +9 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +174 -110
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
- package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
- package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +3 -2
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +36 -19
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +6 -6
- package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.js → StoreModalProductLicenseSelection_licenseable.graphql.js} +5 -5
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +159 -103
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +184 -128
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +248 -171
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
- package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
- package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +14 -2
- package/dist/__generated__/TestFontsForm_Query.graphql.js +76 -18
- package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
- package/dist/__generated__/productState_Query.graphql.js +43 -4
- package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
- package/dist/__generated__/productState_fontPack.graphql.js +117 -0
- package/dist/__tests__/bundleSelectionOrder.test.js +2 -0
- package/dist/__tests__/collectionBundleSelection.test.js +2 -0
- package/dist/__tests__/fontPackSelection.test.js +435 -0
- package/dist/__tests__/licenseExclusions.test.js +2 -0
- package/dist/__tests__/storeModalPackButton.test.js +102 -0
- package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
- package/dist/__tests__/storeModalRoutes.test.js +9 -0
- package/dist/__tests__/testFontsFamilyChoice.test.js +150 -0
- package/dist/components/AddToCartBanner/index.js +1 -1
- package/dist/components/BuyButton/index.d.ts +29 -9
- package/dist/components/BuyButton/index.js +123 -26
- package/dist/components/BuyButton/index.server.d.ts +4 -2
- package/dist/components/BuyButton/index.server.js +24 -3
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
- package/dist/components/CollectionAa/index.js +2 -2
- package/dist/components/ConfigContext.d.ts +11 -0
- package/dist/components/ConfigContext.js +7 -1
- package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
- package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
- package/dist/components/NodePasswordForm/index.d.ts +7 -4
- package/dist/components/NodePasswordForm/index.js +6 -6
- package/dist/components/Root/productState.js +57 -7
- package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalFamily.js +7 -5
- package/dist/components/StoreModal/StoreModalIndex.js +13 -3
- package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
- package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
- package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
- package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
- package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
- package/dist/components/StoreModal/StoreModalPack.js +79 -0
- package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
- package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
- package/dist/components/StoreModal/StoreModalProduct.js +38 -15
- package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
- package/dist/components/StoreModalProductLicenseSelection/index.js +6 -6
- package/dist/components/StoreModalProductSummary/index.js +1 -1
- package/dist/components/TestFontsForm/TestFontsFormElement.d.ts +4 -1
- package/dist/components/TestFontsForm/TestFontsFormElement.js +11 -3
- package/dist/components/TestFontsForm/index.d.ts +6 -3
- package/dist/components/TestFontsForm/index.js +82 -13
- package/dist/components/TestFontsForm/index.server.js +2 -1
- package/dist/components/TestFontsForm/variables.d.ts +8 -0
- package/dist/components/TestFontsForm/variables.js +22 -0
- package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
- package/dist/components/elements/StoreModalFamily/index.js +1 -1
- package/dist/fontdue.css +13 -0
- package/dist/reducer.d.ts +7 -0
- package/dist/reducer.js +9 -0
- package/dist/selection.d.ts +5 -1
- package/dist/selection.js +61 -16
- package/dist/storeModalRoutes.js +5 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
- package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
- package/fontdue.css +0 -2733
- package/fontdue.css.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<aa2aa9cb15700b2ba9bf97665d68e2a7>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -230,6 +230,11 @@ const node = function () {
|
|
|
230
230
|
"selections": v7 /*: any*/,
|
|
231
231
|
"type": "CollectionBundle",
|
|
232
232
|
"abstractKey": null
|
|
233
|
+
}, {
|
|
234
|
+
"kind": "InlineFragment",
|
|
235
|
+
"selections": v7 /*: any*/,
|
|
236
|
+
"type": "FontPack",
|
|
237
|
+
"abstractKey": null
|
|
233
238
|
}, {
|
|
234
239
|
"kind": "InlineFragment",
|
|
235
240
|
"selections": [v3 /*: any*/],
|
|
@@ -261,14 +266,14 @@ const node = function () {
|
|
|
261
266
|
}]
|
|
262
267
|
},
|
|
263
268
|
"params": {
|
|
264
|
-
"cacheID": "
|
|
269
|
+
"cacheID": "843165a9ed07ae6ee11752c025bb4c3b",
|
|
265
270
|
"id": null,
|
|
266
271
|
"metadata": {},
|
|
267
272
|
"name": "StoreModalProductSummaryRefetchQuery",
|
|
268
273
|
"operationKind": "query",
|
|
269
|
-
"text": "query StoreModalProductSummaryRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $selectedSkuIds: [ID!] = []\n) {\n viewer {\n ...StoreModalProductSummary_viewer_q09oc\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalProductSummary_viewer_q09oc on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n"
|
|
274
|
+
"text": "query StoreModalProductSummaryRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec] = []\n $orderVariables: [OrderVariableSelectionInput!] = []\n $selectedSkuIds: [ID!] = []\n) {\n viewer {\n ...StoreModalProductSummary_viewer_q09oc\n id\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalProductSummary_viewer_q09oc on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n"
|
|
270
275
|
}
|
|
271
276
|
};
|
|
272
277
|
}();
|
|
273
|
-
node.hash = "
|
|
278
|
+
node.hash = "afd13ac5f41519eea722d5138b244b25";
|
|
274
279
|
export default node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<c35e45293f04f47c2eeaab623a08b1aa>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -34,6 +34,12 @@ export type StoreModalProductSummary_viewer$data = {
|
|
|
34
34
|
readonly totalStylesPrice: {
|
|
35
35
|
readonly amount: number;
|
|
36
36
|
} | null;
|
|
37
|
+
} | {
|
|
38
|
+
readonly __typename: "FontPack";
|
|
39
|
+
readonly totalStyles: number | null;
|
|
40
|
+
readonly totalStylesPrice: {
|
|
41
|
+
readonly amount: number;
|
|
42
|
+
} | null;
|
|
37
43
|
} | {
|
|
38
44
|
readonly __typename: "%other";
|
|
39
45
|
} | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<c35e45293f04f47c2eeaab623a08b1aa>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -201,6 +201,11 @@ const node = function () {
|
|
|
201
201
|
"selections": v5 /*: any*/,
|
|
202
202
|
"type": "CollectionBundle",
|
|
203
203
|
"abstractKey": null
|
|
204
|
+
}, {
|
|
205
|
+
"kind": "InlineFragment",
|
|
206
|
+
"selections": v5 /*: any*/,
|
|
207
|
+
"type": "FontPack",
|
|
208
|
+
"abstractKey": null
|
|
204
209
|
}],
|
|
205
210
|
"storageKey": null
|
|
206
211
|
}],
|
|
@@ -231,5 +236,5 @@ const node = function () {
|
|
|
231
236
|
"abstractKey": null
|
|
232
237
|
};
|
|
233
238
|
}();
|
|
234
|
-
node.hash = "
|
|
239
|
+
node.hash = "afd13ac5f41519eea722d5138b244b25";
|
|
235
240
|
export default node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<c40cfce1c9b55bcbb0934aae8a6ba4dd>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -219,21 +219,31 @@ const node = function () {
|
|
|
219
219
|
},
|
|
220
220
|
v14 = [v11 /*: any*/, v2 /*: any*/, v12 /*: any*/, v13 /*: any*/, v4 /*: any*/],
|
|
221
221
|
v15 = {
|
|
222
|
+
"alias": null,
|
|
223
|
+
"args": null,
|
|
224
|
+
"concreteType": "FontStyle",
|
|
225
|
+
"kind": "LinkedField",
|
|
226
|
+
"name": "featureStyle",
|
|
227
|
+
"plural": false,
|
|
228
|
+
"selections": v14 /*: any*/,
|
|
229
|
+
"storageKey": null
|
|
230
|
+
},
|
|
231
|
+
v16 = {
|
|
222
232
|
"alias": null,
|
|
223
233
|
"args": null,
|
|
224
234
|
"kind": "ScalarField",
|
|
225
235
|
"name": "totalStyles",
|
|
226
236
|
"storageKey": null
|
|
227
237
|
},
|
|
228
|
-
|
|
229
|
-
|
|
238
|
+
v17 = [v2 /*: any*/, v4 /*: any*/],
|
|
239
|
+
v18 = {
|
|
230
240
|
"alias": null,
|
|
231
241
|
"args": null,
|
|
232
242
|
"concreteType": "FontCollection",
|
|
233
243
|
"kind": "LinkedField",
|
|
234
244
|
"name": "fontCollection",
|
|
235
245
|
"plural": false,
|
|
236
|
-
"selections":
|
|
246
|
+
"selections": v17 /*: any*/,
|
|
237
247
|
"storageKey": null
|
|
238
248
|
};
|
|
239
249
|
return {
|
|
@@ -592,22 +602,13 @@ const node = function () {
|
|
|
592
602
|
"storageKey": null
|
|
593
603
|
}, {
|
|
594
604
|
"kind": "InlineFragment",
|
|
595
|
-
"selections": [{
|
|
596
|
-
"alias": null,
|
|
597
|
-
"args": null,
|
|
598
|
-
"concreteType": "FontStyle",
|
|
599
|
-
"kind": "LinkedField",
|
|
600
|
-
"name": "featureStyle",
|
|
601
|
-
"plural": false,
|
|
602
|
-
"selections": v14 /*: any*/,
|
|
603
|
-
"storageKey": null
|
|
604
|
-
}, v2 /*: any*/, {
|
|
605
|
+
"selections": [v15 /*: any*/, v2 /*: any*/, {
|
|
605
606
|
"alias": null,
|
|
606
607
|
"args": null,
|
|
607
608
|
"kind": "ScalarField",
|
|
608
609
|
"name": "isVariableFont",
|
|
609
610
|
"storageKey": null
|
|
610
|
-
},
|
|
611
|
+
}, v16 /*: any*/],
|
|
611
612
|
"type": "FontCollection",
|
|
612
613
|
"abstractKey": null
|
|
613
614
|
}, {
|
|
@@ -621,9 +622,14 @@ const node = function () {
|
|
|
621
622
|
"plural": true,
|
|
622
623
|
"selections": v14 /*: any*/,
|
|
623
624
|
"storageKey": null
|
|
624
|
-
}, v2 /*: any*/,
|
|
625
|
+
}, v2 /*: any*/, v18 /*: any*/],
|
|
625
626
|
"type": "Bundle",
|
|
626
627
|
"abstractKey": null
|
|
628
|
+
}, {
|
|
629
|
+
"kind": "InlineFragment",
|
|
630
|
+
"selections": [v15 /*: any*/, v2 /*: any*/, v16 /*: any*/],
|
|
631
|
+
"type": "FontPack",
|
|
632
|
+
"abstractKey": null
|
|
627
633
|
}, {
|
|
628
634
|
"kind": "InlineFragment",
|
|
629
635
|
"selections": [v11 /*: any*/, v2 /*: any*/, v12 /*: any*/, v13 /*: any*/, {
|
|
@@ -633,7 +639,7 @@ const node = function () {
|
|
|
633
639
|
"kind": "LinkedField",
|
|
634
640
|
"name": "family",
|
|
635
641
|
"plural": false,
|
|
636
|
-
"selections":
|
|
642
|
+
"selections": v17 /*: any*/,
|
|
637
643
|
"storageKey": null
|
|
638
644
|
}, {
|
|
639
645
|
"alias": null,
|
|
@@ -649,7 +655,7 @@ const node = function () {
|
|
|
649
655
|
"abstractKey": null
|
|
650
656
|
}, {
|
|
651
657
|
"kind": "InlineFragment",
|
|
652
|
-
"selections": [v2 /*: any*/,
|
|
658
|
+
"selections": [v2 /*: any*/, v16 /*: any*/, v18 /*: any*/],
|
|
653
659
|
"type": "CollectionBundle",
|
|
654
660
|
"abstractKey": null
|
|
655
661
|
}, {
|
|
@@ -771,12 +777,12 @@ const node = function () {
|
|
|
771
777
|
}]
|
|
772
778
|
},
|
|
773
779
|
"params": {
|
|
774
|
-
"cacheID": "
|
|
780
|
+
"cacheID": "085fa7756e83c94f0ec95f790651eead",
|
|
775
781
|
"id": null,
|
|
776
782
|
"metadata": {},
|
|
777
783
|
"name": "TestFontsFormUpdateCustomerMutation",
|
|
778
784
|
"operationKind": "mutation",
|
|
779
|
-
"text": "mutation TestFontsFormUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
|
|
785
|
+
"text": "mutation TestFontsFormUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n ... on FontPack {\n name\n totalStyles\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\n gstIncluded\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n ... on FontPack {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n"
|
|
780
786
|
}
|
|
781
787
|
};
|
|
782
788
|
}();
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<47f718aeae16846330759690c693dce6>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
-
export type TestFontsForm_Query$variables =
|
|
7
|
+
export type TestFontsForm_Query$variables = {
|
|
8
|
+
collectionIds?: ReadonlyArray<string> | null;
|
|
9
|
+
collectionSlugs?: ReadonlyArray<string> | null;
|
|
10
|
+
};
|
|
8
11
|
export type TestFontsForm_Query$data = {
|
|
9
12
|
readonly viewer: {
|
|
13
|
+
readonly fontdueConfig: {
|
|
14
|
+
readonly testFonts: {
|
|
15
|
+
readonly familySelection: string;
|
|
16
|
+
};
|
|
17
|
+
} | null;
|
|
10
18
|
readonly settings: {
|
|
11
19
|
readonly eulaAgreementLabel: string | null;
|
|
12
20
|
readonly newsletterOptInLabel: string | null;
|
|
@@ -15,6 +23,10 @@ export type TestFontsForm_Query$data = {
|
|
|
15
23
|
} | null;
|
|
16
24
|
readonly testFonts: {
|
|
17
25
|
readonly archiveUrl: string | null;
|
|
26
|
+
readonly families: ReadonlyArray<{
|
|
27
|
+
readonly id: string;
|
|
28
|
+
readonly name: string;
|
|
29
|
+
}>;
|
|
18
30
|
} | null;
|
|
19
31
|
};
|
|
20
32
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<47f718aeae16846330759690c693dce6>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,11 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
const node = function () {
|
|
12
12
|
var v0 = [{
|
|
13
|
+
"defaultValue": null,
|
|
14
|
+
"kind": "LocalArgument",
|
|
15
|
+
"name": "collectionIds"
|
|
16
|
+
}, {
|
|
17
|
+
"defaultValue": null,
|
|
18
|
+
"kind": "LocalArgument",
|
|
19
|
+
"name": "collectionSlugs"
|
|
20
|
+
}],
|
|
21
|
+
v1 = [{
|
|
13
22
|
"kind": "Literal",
|
|
14
23
|
"name": "format",
|
|
15
24
|
"value": "HTML"
|
|
16
25
|
}],
|
|
17
|
-
|
|
26
|
+
v2 = {
|
|
18
27
|
"alias": null,
|
|
19
28
|
"args": null,
|
|
20
29
|
"concreteType": "Settings",
|
|
@@ -23,13 +32,13 @@ const node = function () {
|
|
|
23
32
|
"plural": false,
|
|
24
33
|
"selections": [{
|
|
25
34
|
"alias": null,
|
|
26
|
-
"args":
|
|
35
|
+
"args": v1 /*: any*/,
|
|
27
36
|
"kind": "ScalarField",
|
|
28
37
|
"name": "eulaAgreementLabel",
|
|
29
38
|
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
30
39
|
}, {
|
|
31
40
|
"alias": null,
|
|
32
|
-
"args":
|
|
41
|
+
"args": v1 /*: any*/,
|
|
33
42
|
"kind": "ScalarField",
|
|
34
43
|
"name": "newsletterOptInLabel",
|
|
35
44
|
"storageKey": "newsletterOptInLabel(format:\"HTML\")"
|
|
@@ -48,9 +57,49 @@ const node = function () {
|
|
|
48
57
|
}],
|
|
49
58
|
"storageKey": null
|
|
50
59
|
},
|
|
51
|
-
|
|
60
|
+
v3 = {
|
|
61
|
+
"alias": null,
|
|
62
|
+
"args": null,
|
|
63
|
+
"concreteType": "FontdueConfig",
|
|
64
|
+
"kind": "LinkedField",
|
|
65
|
+
"name": "fontdueConfig",
|
|
66
|
+
"plural": false,
|
|
67
|
+
"selections": [{
|
|
68
|
+
"alias": null,
|
|
69
|
+
"args": null,
|
|
70
|
+
"concreteType": "FontdueTestFontsConfig",
|
|
71
|
+
"kind": "LinkedField",
|
|
72
|
+
"name": "testFonts",
|
|
73
|
+
"plural": false,
|
|
74
|
+
"selections": [{
|
|
75
|
+
"alias": null,
|
|
76
|
+
"args": null,
|
|
77
|
+
"kind": "ScalarField",
|
|
78
|
+
"name": "familySelection",
|
|
79
|
+
"storageKey": null
|
|
80
|
+
}],
|
|
81
|
+
"storageKey": null
|
|
82
|
+
}],
|
|
83
|
+
"storageKey": null
|
|
84
|
+
},
|
|
85
|
+
v4 = {
|
|
52
86
|
"alias": null,
|
|
53
87
|
"args": null,
|
|
88
|
+
"kind": "ScalarField",
|
|
89
|
+
"name": "id",
|
|
90
|
+
"storageKey": null
|
|
91
|
+
},
|
|
92
|
+
v5 = {
|
|
93
|
+
"alias": null,
|
|
94
|
+
"args": [{
|
|
95
|
+
"kind": "Variable",
|
|
96
|
+
"name": "collectionIds",
|
|
97
|
+
"variableName": "collectionIds"
|
|
98
|
+
}, {
|
|
99
|
+
"kind": "Variable",
|
|
100
|
+
"name": "collectionSlugs",
|
|
101
|
+
"variableName": "collectionSlugs"
|
|
102
|
+
}],
|
|
54
103
|
"concreteType": "TestFonts",
|
|
55
104
|
"kind": "LinkedField",
|
|
56
105
|
"name": "testFonts",
|
|
@@ -61,12 +110,27 @@ const node = function () {
|
|
|
61
110
|
"kind": "ScalarField",
|
|
62
111
|
"name": "archiveUrl",
|
|
63
112
|
"storageKey": null
|
|
113
|
+
}, {
|
|
114
|
+
"alias": null,
|
|
115
|
+
"args": null,
|
|
116
|
+
"concreteType": "FontCollection",
|
|
117
|
+
"kind": "LinkedField",
|
|
118
|
+
"name": "families",
|
|
119
|
+
"plural": true,
|
|
120
|
+
"selections": [v4 /*: any*/, {
|
|
121
|
+
"alias": null,
|
|
122
|
+
"args": null,
|
|
123
|
+
"kind": "ScalarField",
|
|
124
|
+
"name": "name",
|
|
125
|
+
"storageKey": null
|
|
126
|
+
}],
|
|
127
|
+
"storageKey": null
|
|
64
128
|
}],
|
|
65
129
|
"storageKey": null
|
|
66
130
|
};
|
|
67
131
|
return {
|
|
68
132
|
"fragment": {
|
|
69
|
-
"argumentDefinitions":
|
|
133
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
70
134
|
"kind": "Fragment",
|
|
71
135
|
"metadata": null,
|
|
72
136
|
"name": "TestFontsForm_Query",
|
|
@@ -77,7 +141,7 @@ const node = function () {
|
|
|
77
141
|
"kind": "LinkedField",
|
|
78
142
|
"name": "viewer",
|
|
79
143
|
"plural": false,
|
|
80
|
-
"selections": [
|
|
144
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/],
|
|
81
145
|
"storageKey": null
|
|
82
146
|
}],
|
|
83
147
|
"type": "RootQueryType",
|
|
@@ -85,7 +149,7 @@ const node = function () {
|
|
|
85
149
|
},
|
|
86
150
|
"kind": "Request",
|
|
87
151
|
"operation": {
|
|
88
|
-
"argumentDefinitions":
|
|
152
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
89
153
|
"kind": "Operation",
|
|
90
154
|
"name": "TestFontsForm_Query",
|
|
91
155
|
"selections": [{
|
|
@@ -95,25 +159,19 @@ const node = function () {
|
|
|
95
159
|
"kind": "LinkedField",
|
|
96
160
|
"name": "viewer",
|
|
97
161
|
"plural": false,
|
|
98
|
-
"selections": [
|
|
99
|
-
"alias": null,
|
|
100
|
-
"args": null,
|
|
101
|
-
"kind": "ScalarField",
|
|
102
|
-
"name": "id",
|
|
103
|
-
"storageKey": null
|
|
104
|
-
}],
|
|
162
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v5 /*: any*/, v4 /*: any*/],
|
|
105
163
|
"storageKey": null
|
|
106
164
|
}]
|
|
107
165
|
},
|
|
108
166
|
"params": {
|
|
109
|
-
"cacheID": "
|
|
167
|
+
"cacheID": "42a58842afe113b89a0bc969738246a8",
|
|
110
168
|
"id": null,
|
|
111
169
|
"metadata": {},
|
|
112
170
|
"name": "TestFontsForm_Query",
|
|
113
171
|
"operationKind": "query",
|
|
114
|
-
"text": "query TestFontsForm_Query {\n viewer {\n settings {\n eulaAgreementLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n recaptchaEnabled\n recaptchaSiteKey\n }\n testFonts {\n archiveUrl\n }\n id\n }\n}\n"
|
|
172
|
+
"text": "query TestFontsForm_Query(\n $collectionIds: [ID!]\n $collectionSlugs: [String!]\n) {\n viewer {\n settings {\n eulaAgreementLabel(format: HTML)\n newsletterOptInLabel(format: HTML)\n recaptchaEnabled\n recaptchaSiteKey\n }\n fontdueConfig {\n testFonts {\n familySelection\n }\n }\n testFonts(collectionIds: $collectionIds, collectionSlugs: $collectionSlugs) {\n archiveUrl\n families {\n id\n name\n }\n }\n id\n }\n}\n"
|
|
115
173
|
}
|
|
116
174
|
};
|
|
117
175
|
}();
|
|
118
|
-
node.hash = "
|
|
176
|
+
node.hash = "da75e312a602ac0ee2dfb79271299c77";
|
|
119
177
|
export default node;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<925530e7d4ec77a773367f26953fcb94>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -112,6 +112,104 @@ export type productState_Query$data = {
|
|
|
112
112
|
readonly amount: number;
|
|
113
113
|
};
|
|
114
114
|
} | null;
|
|
115
|
+
} | {
|
|
116
|
+
readonly __typename: "FontPack";
|
|
117
|
+
readonly fontStyles: ReadonlyArray<{
|
|
118
|
+
readonly id: string;
|
|
119
|
+
readonly sku: {
|
|
120
|
+
readonly id: string;
|
|
121
|
+
readonly price: {
|
|
122
|
+
readonly amount: number;
|
|
123
|
+
};
|
|
124
|
+
} | null;
|
|
125
|
+
}>;
|
|
126
|
+
readonly id: string;
|
|
127
|
+
readonly members: ReadonlyArray<{
|
|
128
|
+
readonly __typename: "FontCollection";
|
|
129
|
+
readonly bundles: ReadonlyArray<{
|
|
130
|
+
readonly fontStyles: ReadonlyArray<{
|
|
131
|
+
readonly id: string;
|
|
132
|
+
readonly sku: {
|
|
133
|
+
readonly id: string;
|
|
134
|
+
readonly price: {
|
|
135
|
+
readonly amount: number;
|
|
136
|
+
};
|
|
137
|
+
} | null;
|
|
138
|
+
}> | null;
|
|
139
|
+
readonly id: string;
|
|
140
|
+
readonly name: string;
|
|
141
|
+
readonly sku: {
|
|
142
|
+
readonly id: string;
|
|
143
|
+
readonly price: {
|
|
144
|
+
readonly amount: number;
|
|
145
|
+
};
|
|
146
|
+
} | null;
|
|
147
|
+
}> | null;
|
|
148
|
+
readonly children: ReadonlyArray<{
|
|
149
|
+
readonly bundles: ReadonlyArray<{
|
|
150
|
+
readonly fontStyles: ReadonlyArray<{
|
|
151
|
+
readonly id: string;
|
|
152
|
+
readonly sku: {
|
|
153
|
+
readonly id: string;
|
|
154
|
+
readonly price: {
|
|
155
|
+
readonly amount: number;
|
|
156
|
+
};
|
|
157
|
+
} | null;
|
|
158
|
+
}> | null;
|
|
159
|
+
readonly id: string;
|
|
160
|
+
readonly name: string;
|
|
161
|
+
readonly sku: {
|
|
162
|
+
readonly id: string;
|
|
163
|
+
readonly price: {
|
|
164
|
+
readonly amount: number;
|
|
165
|
+
};
|
|
166
|
+
} | null;
|
|
167
|
+
}> | null;
|
|
168
|
+
readonly fontStyles: ReadonlyArray<{
|
|
169
|
+
readonly id: string;
|
|
170
|
+
readonly sku: {
|
|
171
|
+
readonly id: string;
|
|
172
|
+
readonly price: {
|
|
173
|
+
readonly amount: number;
|
|
174
|
+
};
|
|
175
|
+
} | null;
|
|
176
|
+
}>;
|
|
177
|
+
readonly id: string;
|
|
178
|
+
readonly name: string;
|
|
179
|
+
readonly sku: {
|
|
180
|
+
readonly id: string;
|
|
181
|
+
readonly price: {
|
|
182
|
+
readonly amount: number;
|
|
183
|
+
};
|
|
184
|
+
} | null;
|
|
185
|
+
}> | null;
|
|
186
|
+
readonly fontStyles: ReadonlyArray<{
|
|
187
|
+
readonly id: string;
|
|
188
|
+
readonly sku: {
|
|
189
|
+
readonly id: string;
|
|
190
|
+
readonly price: {
|
|
191
|
+
readonly amount: number;
|
|
192
|
+
};
|
|
193
|
+
} | null;
|
|
194
|
+
}>;
|
|
195
|
+
readonly id: string;
|
|
196
|
+
readonly name: string;
|
|
197
|
+
readonly sku: {
|
|
198
|
+
readonly id: string;
|
|
199
|
+
readonly price: {
|
|
200
|
+
readonly amount: number;
|
|
201
|
+
};
|
|
202
|
+
} | null;
|
|
203
|
+
} | {
|
|
204
|
+
readonly __typename: "%other";
|
|
205
|
+
}>;
|
|
206
|
+
readonly name: string;
|
|
207
|
+
readonly sku: {
|
|
208
|
+
readonly id: string;
|
|
209
|
+
readonly price: {
|
|
210
|
+
readonly amount: number;
|
|
211
|
+
};
|
|
212
|
+
} | null;
|
|
115
213
|
} | {
|
|
116
214
|
readonly __typename: "%other";
|
|
117
215
|
} | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<925530e7d4ec77a773367f26953fcb94>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -117,6 +117,12 @@ const node = function () {
|
|
|
117
117
|
"plural": true,
|
|
118
118
|
"selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/],
|
|
119
119
|
"storageKey": "children(collectionTypes:[\"FAMILY\"])"
|
|
120
|
+
},
|
|
121
|
+
v10 = {
|
|
122
|
+
"kind": "InlineFragment",
|
|
123
|
+
"selections": [v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v9 /*: any*/],
|
|
124
|
+
"type": "FontCollection",
|
|
125
|
+
"abstractKey": null
|
|
120
126
|
};
|
|
121
127
|
return {
|
|
122
128
|
"fragment": {
|
|
@@ -136,6 +142,20 @@ const node = function () {
|
|
|
136
142
|
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/],
|
|
137
143
|
"type": "FontCollection",
|
|
138
144
|
"abstractKey": null
|
|
145
|
+
}, {
|
|
146
|
+
"kind": "InlineFragment",
|
|
147
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, {
|
|
148
|
+
"alias": null,
|
|
149
|
+
"args": null,
|
|
150
|
+
"concreteType": null,
|
|
151
|
+
"kind": "LinkedField",
|
|
152
|
+
"name": "members",
|
|
153
|
+
"plural": true,
|
|
154
|
+
"selections": [v2 /*: any*/, v10 /*: any*/],
|
|
155
|
+
"storageKey": null
|
|
156
|
+
}],
|
|
157
|
+
"type": "FontPack",
|
|
158
|
+
"abstractKey": null
|
|
139
159
|
}],
|
|
140
160
|
"storageKey": null
|
|
141
161
|
}],
|
|
@@ -159,19 +179,38 @@ const node = function () {
|
|
|
159
179
|
"selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, v7 /*: any*/, v8 /*: any*/, v9 /*: any*/],
|
|
160
180
|
"type": "FontCollection",
|
|
161
181
|
"abstractKey": null
|
|
182
|
+
}, {
|
|
183
|
+
"kind": "InlineFragment",
|
|
184
|
+
"selections": [v4 /*: any*/, v5 /*: any*/, v6 /*: any*/, {
|
|
185
|
+
"alias": null,
|
|
186
|
+
"args": null,
|
|
187
|
+
"concreteType": null,
|
|
188
|
+
"kind": "LinkedField",
|
|
189
|
+
"name": "members",
|
|
190
|
+
"plural": true,
|
|
191
|
+
"selections": [v2 /*: any*/, v10 /*: any*/, {
|
|
192
|
+
"kind": "InlineFragment",
|
|
193
|
+
"selections": [v3 /*: any*/],
|
|
194
|
+
"type": "Node",
|
|
195
|
+
"abstractKey": "__isNode"
|
|
196
|
+
}],
|
|
197
|
+
"storageKey": null
|
|
198
|
+
}],
|
|
199
|
+
"type": "FontPack",
|
|
200
|
+
"abstractKey": null
|
|
162
201
|
}],
|
|
163
202
|
"storageKey": null
|
|
164
203
|
}]
|
|
165
204
|
},
|
|
166
205
|
"params": {
|
|
167
|
-
"cacheID": "
|
|
206
|
+
"cacheID": "47288a3b11085a6e8771d765f203f545",
|
|
168
207
|
"id": null,
|
|
169
208
|
"metadata": {},
|
|
170
209
|
"name": "productState_Query",
|
|
171
210
|
"operationKind": "query",
|
|
172
|
-
"text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n collectionBundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n memberCollections {\n id\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n id\n }\n}\n"
|
|
211
|
+
"text": "query productState_Query(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ... on FontCollection {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n collectionBundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n memberCollections {\n id\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on FontPack {\n __typename\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n members {\n __typename\n ... on FontCollection {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n children(collectionTypes: [FAMILY]) {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n bundles {\n id\n name\n sku {\n id\n price {\n amount\n }\n }\n fontStyles {\n id\n sku {\n id\n price {\n amount\n }\n }\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n id\n }\n}\n"
|
|
173
212
|
}
|
|
174
213
|
};
|
|
175
214
|
}();
|
|
176
|
-
node.hash = "
|
|
215
|
+
node.hash = "65de750413d1564c4f3e1ec44ec7e2a2";
|
|
177
216
|
export default node;
|