fontdue-js 2.18.3 → 2.19.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 +15 -0
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddToCartBannerQuery.graphql.js +22 -7
- package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +10 -1
- package/dist/__generated__/AddToCartBanner_item.graphql.js +19 -4
- package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +10 -1
- package/dist/__generated__/AddToCartBanner_order.graphql.js +18 -3
- package/dist/__generated__/CartItemProduct_product.graphql.d.ts +4 -1
- package/dist/__generated__/CartItemProduct_product.graphql.js +15 -5
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +27 -5
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +27 -5
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +27 -5
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +72 -49
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +15 -3
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +27 -5
- package/dist/__generated__/CartTotals_order.graphql.d.ts +3 -1
- package/dist/__generated__/CartTotals_order.graphql.js +14 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +27 -5
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +27 -5
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +15 -3
- package/dist/__generated__/CustomerLoginFormQuery.graphql.d.ts +20 -0
- package/dist/__generated__/CustomerLoginFormQuery.graphql.js +91 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -10
- package/dist/__generated__/PrecartClearCartMutation.graphql.d.ts +61 -0
- package/dist/__generated__/PrecartClearCartMutation.graphql.js +81 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +67 -44
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +18 -17
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +9 -3
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +10 -4
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +10 -4
- package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.d.ts +61 -0
- package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.js +81 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +15 -3
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StripeProvider_viewer.graphql.js +78 -75
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +27 -5
- package/dist/components/AddToCartBanner/index.js +7 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +3 -2
- package/dist/components/Cart/CartTotals.js +7 -7
- package/dist/components/CharacterViewer/index.js +53 -37
- package/dist/components/ConfigContext.d.ts +10 -0
- package/dist/components/ConfigContext.js +7 -2
- package/dist/components/CorsErrorModal.d.ts +1 -0
- package/dist/components/CorsErrorModal.js +99 -0
- package/dist/components/CustomerLoginForm/index.js +12 -4
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +2 -1
- package/dist/components/Precart/index.js +30 -4
- package/dist/components/StoreModal/StoreModalFamily.js +2 -2
- package/dist/components/StoreModalProductSummary/index.js +35 -4
- package/dist/components/StripeProvider/index.js +5 -4
- package/dist/components/TypeTester/index.d.ts +5 -0
- package/dist/components/TypeTester/index.js +2 -1
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +7 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +8 -2
- package/dist/corsError.d.ts +5 -0
- package/dist/corsError.js +55 -0
- package/dist/fontdue.css +61 -3
- package/dist/relay/environment.js +33 -19
- package/fontdue.css +197 -121
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<1c105f39e129b1a2f4d359e433032e72>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -292,7 +292,13 @@ const node = function () {
|
|
|
292
292
|
"kind": "LinkedField",
|
|
293
293
|
"name": "bundles",
|
|
294
294
|
"plural": true,
|
|
295
|
-
"selections": [v4 /*: any*/,
|
|
295
|
+
"selections": [v4 /*: any*/, {
|
|
296
|
+
"alias": null,
|
|
297
|
+
"args": null,
|
|
298
|
+
"kind": "ScalarField",
|
|
299
|
+
"name": "hidden",
|
|
300
|
+
"storageKey": null
|
|
301
|
+
}, v33 /*: any*/, v11 /*: any*/, v23 /*: any*/],
|
|
296
302
|
"storageKey": null
|
|
297
303
|
},
|
|
298
304
|
v35 = [v21 /*: any*/],
|
|
@@ -638,12 +644,12 @@ const node = function () {
|
|
|
638
644
|
}]
|
|
639
645
|
},
|
|
640
646
|
"params": {
|
|
641
|
-
"cacheID": "
|
|
647
|
+
"cacheID": "4f1381842371bc834919c0b769ea235a",
|
|
642
648
|
"id": null,
|
|
643
649
|
"metadata": {},
|
|
644
650
|
"name": "StoreModalProductQuery",
|
|
645
651
|
"operationKind": "query",
|
|
646
|
-
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub 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: [], 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\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
652
|
+
"text": "query StoreModalProductQuery(\n $productId: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n collection: node(id: $productId) {\n __typename\n id\n ...StoreModalProductContent_collection_4sncub\n }\n viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n hidden\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub 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: [], 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\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
647
653
|
}
|
|
648
654
|
};
|
|
649
655
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<a50bcd8e3aabf1e716f2e59abd3f409b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -227,7 +227,13 @@ const node = function () {
|
|
|
227
227
|
"kind": "LinkedField",
|
|
228
228
|
"name": "bundles",
|
|
229
229
|
"plural": true,
|
|
230
|
-
"selections": [v5 /*: any*/,
|
|
230
|
+
"selections": [v5 /*: any*/, {
|
|
231
|
+
"alias": null,
|
|
232
|
+
"args": null,
|
|
233
|
+
"kind": "ScalarField",
|
|
234
|
+
"name": "hidden",
|
|
235
|
+
"storageKey": null
|
|
236
|
+
}, v20 /*: any*/, v8 /*: any*/, v11 /*: any*/],
|
|
231
237
|
"storageKey": null
|
|
232
238
|
};
|
|
233
239
|
return {
|
|
@@ -369,12 +375,12 @@ const node = function () {
|
|
|
369
375
|
}]
|
|
370
376
|
},
|
|
371
377
|
"params": {
|
|
372
|
-
"cacheID": "
|
|
378
|
+
"cacheID": "b726ed53b4307294dae0ec396d4c36c4",
|
|
373
379
|
"id": null,
|
|
374
380
|
"metadata": {},
|
|
375
381
|
"name": "StoreModalProductRefetchQuery",
|
|
376
382
|
"operationKind": "query",
|
|
377
|
-
"text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
383
|
+
"text": "query StoreModalProductRefetchQuery(\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StoreModalProductContent_collection_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n cssUrl\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n hidden\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
|
|
378
384
|
}
|
|
379
385
|
};
|
|
380
386
|
}();
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<a54228c6a8b5aa81ab89dbbabf2b0a24>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
export type UpdateOrderInput = {
|
|
8
|
+
billingIdentity?: IdentityInput | null;
|
|
9
|
+
licenseeIdentity?: IdentityInput | null;
|
|
10
|
+
licenseeIsBillingIdentity?: boolean | null;
|
|
11
|
+
orderItems?: ReadonlyArray<OrderItemInput | null> | null;
|
|
12
|
+
orderVariableSelections?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
13
|
+
stripePaymentMethodId?: string | null;
|
|
14
|
+
stripeTokenId?: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type OrderItemInput = {
|
|
17
|
+
id: string;
|
|
18
|
+
licenseSelections: ReadonlyArray<LicenseSelectionInput | null>;
|
|
19
|
+
};
|
|
20
|
+
export type LicenseSelectionInput = {
|
|
21
|
+
id?: string | null;
|
|
22
|
+
licenseId: string;
|
|
23
|
+
licenseOptionId?: string | null;
|
|
24
|
+
licenseVariableId?: string | null;
|
|
25
|
+
variableText?: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type OrderVariableSelectionInput = {
|
|
28
|
+
countryCode?: string | null;
|
|
29
|
+
orderVariableId: string;
|
|
30
|
+
orderVariableOptionId?: string | null;
|
|
31
|
+
};
|
|
32
|
+
export type IdentityInput = {
|
|
33
|
+
administrativeArea?: string | null;
|
|
34
|
+
country: string;
|
|
35
|
+
email: string;
|
|
36
|
+
locality?: string | null;
|
|
37
|
+
name: string;
|
|
38
|
+
organization?: string | null;
|
|
39
|
+
phone?: string | null;
|
|
40
|
+
sortingCode?: string | null;
|
|
41
|
+
street?: string | null;
|
|
42
|
+
sublocality?: string | null;
|
|
43
|
+
vatNumber?: string | null;
|
|
44
|
+
zip?: string | null;
|
|
45
|
+
};
|
|
46
|
+
export type StoreModalProductSummaryClearCartMutation$variables = {
|
|
47
|
+
input: UpdateOrderInput;
|
|
48
|
+
};
|
|
49
|
+
export type StoreModalProductSummaryClearCartMutation$data = {
|
|
50
|
+
readonly updateOrder: {
|
|
51
|
+
readonly order: {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
} | null;
|
|
54
|
+
} | null;
|
|
55
|
+
};
|
|
56
|
+
export type StoreModalProductSummaryClearCartMutation = {
|
|
57
|
+
response: StoreModalProductSummaryClearCartMutation$data;
|
|
58
|
+
variables: StoreModalProductSummaryClearCartMutation$variables;
|
|
59
|
+
};
|
|
60
|
+
declare const node: ConcreteRequest;
|
|
61
|
+
export default node;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<a54228c6a8b5aa81ab89dbbabf2b0a24>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* tslint:disable */
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = [{
|
|
19
|
+
"defaultValue": null,
|
|
20
|
+
"kind": "LocalArgument",
|
|
21
|
+
"name": "input"
|
|
22
|
+
}],
|
|
23
|
+
v1 = [{
|
|
24
|
+
"alias": null,
|
|
25
|
+
"args": [{
|
|
26
|
+
"kind": "Variable",
|
|
27
|
+
"name": "input",
|
|
28
|
+
"variableName": "input"
|
|
29
|
+
}],
|
|
30
|
+
"concreteType": "UpdateOrderPayload",
|
|
31
|
+
"kind": "LinkedField",
|
|
32
|
+
"name": "updateOrder",
|
|
33
|
+
"plural": false,
|
|
34
|
+
"selections": [{
|
|
35
|
+
"alias": null,
|
|
36
|
+
"args": null,
|
|
37
|
+
"concreteType": "Order",
|
|
38
|
+
"kind": "LinkedField",
|
|
39
|
+
"name": "order",
|
|
40
|
+
"plural": false,
|
|
41
|
+
"selections": [{
|
|
42
|
+
"alias": null,
|
|
43
|
+
"args": null,
|
|
44
|
+
"kind": "ScalarField",
|
|
45
|
+
"name": "id",
|
|
46
|
+
"storageKey": null
|
|
47
|
+
}],
|
|
48
|
+
"storageKey": null
|
|
49
|
+
}],
|
|
50
|
+
"storageKey": null
|
|
51
|
+
}];
|
|
52
|
+
return {
|
|
53
|
+
"fragment": {
|
|
54
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
55
|
+
"kind": "Fragment",
|
|
56
|
+
"metadata": null,
|
|
57
|
+
"name": "StoreModalProductSummaryClearCartMutation",
|
|
58
|
+
"selections": v1 /*: any*/,
|
|
59
|
+
"type": "RootMutationType",
|
|
60
|
+
"abstractKey": null
|
|
61
|
+
},
|
|
62
|
+
"kind": "Request",
|
|
63
|
+
"operation": {
|
|
64
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
65
|
+
"kind": "Operation",
|
|
66
|
+
"name": "StoreModalProductSummaryClearCartMutation",
|
|
67
|
+
"selections": v1 /*: any*/
|
|
68
|
+
},
|
|
69
|
+
"params": {
|
|
70
|
+
"cacheID": "d2d6905c79b8e40ce161652a1b88325d",
|
|
71
|
+
"id": null,
|
|
72
|
+
"metadata": {},
|
|
73
|
+
"name": "StoreModalProductSummaryClearCartMutation",
|
|
74
|
+
"operationKind": "mutation",
|
|
75
|
+
"text": "mutation StoreModalProductSummaryClearCartMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n id\n }\n }\n}\n"
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}();
|
|
79
|
+
node.hash = "b5c37f74432030a297c1bcf2be63b6f7";
|
|
80
|
+
var _default = node;
|
|
81
|
+
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<b903abf7c95dfef15e6366cafc76de4d>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -434,6 +434,18 @@ const node = function () {
|
|
|
434
434
|
"kind": "ScalarField",
|
|
435
435
|
"name": "taxName",
|
|
436
436
|
"storageKey": null
|
|
437
|
+
}, {
|
|
438
|
+
"alias": null,
|
|
439
|
+
"args": null,
|
|
440
|
+
"kind": "ScalarField",
|
|
441
|
+
"name": "taxNotApplicable",
|
|
442
|
+
"storageKey": null
|
|
443
|
+
}, {
|
|
444
|
+
"alias": null,
|
|
445
|
+
"args": null,
|
|
446
|
+
"kind": "ScalarField",
|
|
447
|
+
"name": "taxNotApplicableReason",
|
|
448
|
+
"storageKey": null
|
|
437
449
|
}, {
|
|
438
450
|
"alias": null,
|
|
439
451
|
"args": null,
|
|
@@ -447,12 +459,12 @@ const node = function () {
|
|
|
447
459
|
}]
|
|
448
460
|
},
|
|
449
461
|
"params": {
|
|
450
|
-
"cacheID": "
|
|
462
|
+
"cacheID": "e3ff4763226c929d6a3c749f67dc5197",
|
|
451
463
|
"id": null,
|
|
452
464
|
"metadata": {},
|
|
453
465
|
"name": "StoreModalUnifiedCheckoutUpdateOrderMutation",
|
|
454
466
|
"operationKind": "mutation",
|
|
455
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\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 gstIncluded\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 Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n"
|
|
467
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartTotals_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\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 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 Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalReviewIdentity_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment StoreModalUnifiedCheckout_order on Order {\n completeUrl\n canCompleteWithCoupon\n total {\n amount\n }\n customer {\n name\n email\n newsletterOptIn\n id\n }\n licenseeIsBillingIdentity\n licenseeIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n billingIdentity {\n ...StoreModalReviewIdentity_identity\n name\n organization\n email\n phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n stripePaymentIntent {\n clientSecret\n amount\n currency\n }\n orderVariableSelections {\n orderVariable {\n id\n variableType\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n"
|
|
456
468
|
}
|
|
457
469
|
};
|
|
458
470
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<d02753657fe659c784b166d1c4a2b27a>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -7,6 +7,7 @@ import { ReaderFragment } from 'relay-runtime';
|
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type StripeProvider_viewer$data = {
|
|
9
9
|
readonly currentOrder: {
|
|
10
|
+
readonly stripeAccountId: string | null;
|
|
10
11
|
readonly stripePaymentIntent: {
|
|
11
12
|
readonly clientSecret: string | null;
|
|
12
13
|
} | null;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<d02753657fe659c784b166d1c4a2b27a>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -14,123 +14,126 @@ exports.default = void 0;
|
|
|
14
14
|
/* eslint-disable */
|
|
15
15
|
// @ts-nocheck
|
|
16
16
|
|
|
17
|
-
const node = {
|
|
18
|
-
|
|
19
|
-
"kind": "Fragment",
|
|
20
|
-
"metadata": null,
|
|
21
|
-
"name": "StripeProvider_viewer",
|
|
22
|
-
"selections": [{
|
|
17
|
+
const node = function () {
|
|
18
|
+
var v0 = {
|
|
23
19
|
"alias": null,
|
|
24
20
|
"args": null,
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
21
|
+
"kind": "ScalarField",
|
|
22
|
+
"name": "stripeAccountId",
|
|
23
|
+
"storageKey": null
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
"argumentDefinitions": [],
|
|
27
|
+
"kind": "Fragment",
|
|
28
|
+
"metadata": null,
|
|
29
|
+
"name": "StripeProvider_viewer",
|
|
29
30
|
"selections": [{
|
|
30
31
|
"alias": null,
|
|
31
32
|
"args": null,
|
|
32
|
-
"
|
|
33
|
-
"name": "taxSystem",
|
|
34
|
-
"storageKey": null
|
|
35
|
-
}, {
|
|
36
|
-
"alias": null,
|
|
37
|
-
"args": null,
|
|
38
|
-
"concreteType": "FontStyle",
|
|
33
|
+
"concreteType": "Settings",
|
|
39
34
|
"kind": "LinkedField",
|
|
40
|
-
"name": "
|
|
35
|
+
"name": "settings",
|
|
41
36
|
"plural": false,
|
|
42
37
|
"selections": [{
|
|
43
38
|
"alias": null,
|
|
44
39
|
"args": null,
|
|
45
40
|
"kind": "ScalarField",
|
|
46
|
-
"name": "
|
|
41
|
+
"name": "taxSystem",
|
|
47
42
|
"storageKey": null
|
|
48
43
|
}, {
|
|
49
44
|
"alias": null,
|
|
50
45
|
"args": null,
|
|
51
|
-
"
|
|
52
|
-
"name": "cssFamily",
|
|
53
|
-
"storageKey": null
|
|
54
|
-
}, {
|
|
55
|
-
"alias": null,
|
|
56
|
-
"args": null,
|
|
57
|
-
"concreteType": "WebfontSource",
|
|
46
|
+
"concreteType": "FontStyle",
|
|
58
47
|
"kind": "LinkedField",
|
|
59
|
-
"name": "
|
|
60
|
-
"plural":
|
|
48
|
+
"name": "uiFontStyle",
|
|
49
|
+
"plural": false,
|
|
61
50
|
"selections": [{
|
|
62
51
|
"alias": null,
|
|
63
52
|
"args": null,
|
|
64
53
|
"kind": "ScalarField",
|
|
65
|
-
"name": "
|
|
54
|
+
"name": "name",
|
|
66
55
|
"storageKey": null
|
|
67
56
|
}, {
|
|
68
57
|
"alias": null,
|
|
69
58
|
"args": null,
|
|
70
59
|
"kind": "ScalarField",
|
|
71
|
-
"name": "
|
|
60
|
+
"name": "cssFamily",
|
|
61
|
+
"storageKey": null
|
|
62
|
+
}, {
|
|
63
|
+
"alias": null,
|
|
64
|
+
"args": null,
|
|
65
|
+
"concreteType": "WebfontSource",
|
|
66
|
+
"kind": "LinkedField",
|
|
67
|
+
"name": "webfontSources",
|
|
68
|
+
"plural": true,
|
|
69
|
+
"selections": [{
|
|
70
|
+
"alias": null,
|
|
71
|
+
"args": null,
|
|
72
|
+
"kind": "ScalarField",
|
|
73
|
+
"name": "format",
|
|
74
|
+
"storageKey": null
|
|
75
|
+
}, {
|
|
76
|
+
"alias": null,
|
|
77
|
+
"args": null,
|
|
78
|
+
"kind": "ScalarField",
|
|
79
|
+
"name": "url",
|
|
80
|
+
"storageKey": null
|
|
81
|
+
}],
|
|
72
82
|
"storageKey": null
|
|
73
83
|
}],
|
|
74
84
|
"storageKey": null
|
|
75
85
|
}],
|
|
76
86
|
"storageKey": null
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
}, {
|
|
88
|
+
"alias": null,
|
|
89
|
+
"args": null,
|
|
90
|
+
"concreteType": "ThemeConfig",
|
|
91
|
+
"kind": "LinkedField",
|
|
92
|
+
"name": "themeConfig",
|
|
93
|
+
"plural": false,
|
|
94
|
+
"selections": [{
|
|
95
|
+
"alias": null,
|
|
96
|
+
"args": null,
|
|
97
|
+
"kind": "ScalarField",
|
|
98
|
+
"name": "customProperties",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}],
|
|
101
|
+
"storageKey": null
|
|
102
|
+
}, v0 /*: any*/, {
|
|
87
103
|
"alias": null,
|
|
88
104
|
"args": null,
|
|
89
105
|
"kind": "ScalarField",
|
|
90
|
-
"name": "
|
|
106
|
+
"name": "stripePublishableKey",
|
|
91
107
|
"storageKey": null
|
|
92
|
-
}
|
|
93
|
-
"storageKey": null
|
|
94
|
-
}, {
|
|
95
|
-
"alias": null,
|
|
96
|
-
"args": null,
|
|
97
|
-
"kind": "ScalarField",
|
|
98
|
-
"name": "stripeAccountId",
|
|
99
|
-
"storageKey": null
|
|
100
|
-
}, {
|
|
101
|
-
"alias": null,
|
|
102
|
-
"args": null,
|
|
103
|
-
"kind": "ScalarField",
|
|
104
|
-
"name": "stripePublishableKey",
|
|
105
|
-
"storageKey": null
|
|
106
|
-
}, {
|
|
107
|
-
"alias": null,
|
|
108
|
-
"args": null,
|
|
109
|
-
"concreteType": "Order",
|
|
110
|
-
"kind": "LinkedField",
|
|
111
|
-
"name": "currentOrder",
|
|
112
|
-
"plural": false,
|
|
113
|
-
"selections": [{
|
|
108
|
+
}, {
|
|
114
109
|
"alias": null,
|
|
115
110
|
"args": null,
|
|
116
|
-
"concreteType": "
|
|
111
|
+
"concreteType": "Order",
|
|
117
112
|
"kind": "LinkedField",
|
|
118
|
-
"name": "
|
|
113
|
+
"name": "currentOrder",
|
|
119
114
|
"plural": false,
|
|
120
|
-
"selections": [{
|
|
115
|
+
"selections": [v0 /*: any*/, {
|
|
121
116
|
"alias": null,
|
|
122
117
|
"args": null,
|
|
123
|
-
"
|
|
124
|
-
"
|
|
118
|
+
"concreteType": "StripePaymentIntent",
|
|
119
|
+
"kind": "LinkedField",
|
|
120
|
+
"name": "stripePaymentIntent",
|
|
121
|
+
"plural": false,
|
|
122
|
+
"selections": [{
|
|
123
|
+
"alias": null,
|
|
124
|
+
"args": null,
|
|
125
|
+
"kind": "ScalarField",
|
|
126
|
+
"name": "clientSecret",
|
|
127
|
+
"storageKey": null
|
|
128
|
+
}],
|
|
125
129
|
"storageKey": null
|
|
126
130
|
}],
|
|
127
131
|
"storageKey": null
|
|
128
132
|
}],
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
node.hash = "dd5fd4cdd75d727050b8d1d6f4269fa8";
|
|
133
|
+
"type": "Viewer",
|
|
134
|
+
"abstractKey": null
|
|
135
|
+
};
|
|
136
|
+
}();
|
|
137
|
+
node.hash = "96a569166948f6d2956bdf12dbd2820f";
|
|
135
138
|
var _default = node;
|
|
136
139
|
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<b5e73bb32d6eedb41863a2e3407b91ad>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -168,6 +168,16 @@ const node = function () {
|
|
|
168
168
|
"kind": "ScalarField",
|
|
169
169
|
"name": "totalStyles",
|
|
170
170
|
"storageKey": null
|
|
171
|
+
},
|
|
172
|
+
v14 = {
|
|
173
|
+
"alias": null,
|
|
174
|
+
"args": null,
|
|
175
|
+
"concreteType": "FontCollection",
|
|
176
|
+
"kind": "LinkedField",
|
|
177
|
+
"name": "fontCollection",
|
|
178
|
+
"plural": false,
|
|
179
|
+
"selections": [v2 /*: any*/, v4 /*: any*/],
|
|
180
|
+
"storageKey": null
|
|
171
181
|
};
|
|
172
182
|
return {
|
|
173
183
|
"fragment": {
|
|
@@ -388,6 +398,18 @@ const node = function () {
|
|
|
388
398
|
"kind": "ScalarField",
|
|
389
399
|
"name": "taxName",
|
|
390
400
|
"storageKey": null
|
|
401
|
+
}, {
|
|
402
|
+
"alias": null,
|
|
403
|
+
"args": null,
|
|
404
|
+
"kind": "ScalarField",
|
|
405
|
+
"name": "taxNotApplicable",
|
|
406
|
+
"storageKey": null
|
|
407
|
+
}, {
|
|
408
|
+
"alias": null,
|
|
409
|
+
"args": null,
|
|
410
|
+
"kind": "ScalarField",
|
|
411
|
+
"name": "taxNotApplicableReason",
|
|
412
|
+
"storageKey": null
|
|
391
413
|
}, {
|
|
392
414
|
"alias": null,
|
|
393
415
|
"args": null,
|
|
@@ -542,7 +564,7 @@ const node = function () {
|
|
|
542
564
|
"plural": true,
|
|
543
565
|
"selections": [v11 /*: any*/, v2 /*: any*/, v4 /*: any*/],
|
|
544
566
|
"storageKey": null
|
|
545
|
-
}, v2 /*: any*/],
|
|
567
|
+
}, v2 /*: any*/, v14 /*: any*/],
|
|
546
568
|
"type": "Bundle",
|
|
547
569
|
"abstractKey": null
|
|
548
570
|
}, {
|
|
@@ -570,7 +592,7 @@ const node = function () {
|
|
|
570
592
|
"abstractKey": null
|
|
571
593
|
}, {
|
|
572
594
|
"kind": "InlineFragment",
|
|
573
|
-
"selections": [v2 /*: any*/, v13 /*: any*/],
|
|
595
|
+
"selections": [v2 /*: any*/, v13 /*: any*/, v14 /*: any*/],
|
|
574
596
|
"type": "CollectionBundle",
|
|
575
597
|
"abstractKey": null
|
|
576
598
|
}, {
|
|
@@ -692,12 +714,12 @@ const node = function () {
|
|
|
692
714
|
}]
|
|
693
715
|
},
|
|
694
716
|
"params": {
|
|
695
|
-
"cacheID": "
|
|
717
|
+
"cacheID": "2bbcb1b9a68cd57c7fbd0e57bb5697b4",
|
|
696
718
|
"id": null,
|
|
697
719
|
"metadata": {},
|
|
698
720
|
"name": "TestFontsFormUpdateCustomerMutation",
|
|
699
721
|
"operationKind": "mutation",
|
|
700
|
-
"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 }\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 cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on CollectionBundle {\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 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 cssFamily\n name\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"
|
|
722
|
+
"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 }\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 cssUrl\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 featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\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 cssFamily\n name\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"
|
|
701
723
|
}
|
|
702
724
|
};
|
|
703
725
|
}();
|