fontdue-js 3.14.0 → 3.15.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 +9 -0
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +3 -3
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +3 -3
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +3 -3
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +3 -3
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +5 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +132 -117
- package/dist/__generated__/CartState_order.graphql.d.ts +4 -1
- package/dist/__generated__/CartState_order.graphql.js +11 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +3 -3
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +3 -3
- package/dist/__generated__/FamilyList_node.graphql.d.ts +3 -1
- package/dist/__generated__/FamilyList_node.graphql.js +8 -2
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +5 -5
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +3 -3
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +69 -69
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +16 -15
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +19 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +39 -4
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +40 -5
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +40 -5
- package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +19 -1
- package/dist/__generated__/StoreModalProductContent_collection.graphql.js +46 -11
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +198 -167
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +171 -140
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +201 -170
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.d.ts +5 -2
- package/dist/__generated__/StripeProviderCreateCheckoutSessionMutation.graphql.js +41 -22
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +3 -3
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +3 -1
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +8 -2
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +39 -39
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +37 -37
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +39 -39
- package/dist/__tests__/cartDiscountRemoved.test.js +195 -0
- package/dist/__tests__/characterViewerCollapse.test.js +199 -0
- package/dist/__tests__/characterViewerStyleSelect.test.js +52 -0
- package/dist/__tests__/checkoutReturn.test.js +66 -0
- package/dist/__tests__/familyStyleCounts.test.js +71 -0
- package/dist/__tests__/i18n.test.js +171 -0
- package/dist/__tests__/i18nComponents.test.js +408 -0
- package/dist/__tests__/localeEnvironments.test.js +275 -0
- package/dist/__tests__/localeMiddleware.test.js +68 -0
- package/dist/__tests__/localeTransport.test.js +209 -0
- package/dist/__tests__/recaptchaLocale.test.js +62 -0
- package/dist/__tests__/serverEntryLocale.test.js +124 -0
- package/dist/__tests__/storeModalIndexUnlisted.test.js +69 -11
- package/dist/__tests__/useSerializablePreloadedQuery.test.js +4 -3
- package/dist/components/AddToCartBanner/index.js +8 -2
- package/dist/components/BuyButton/index.d.ts +1 -0
- package/dist/components/BuyButton/index.js +8 -2
- package/dist/components/BuyButton/index.server.d.ts +1 -0
- package/dist/components/BuyButton/index.server.js +8 -0
- package/dist/components/BuyingOptions/index.js +3 -1
- package/dist/components/Cart/AddressFields.js +5 -3
- package/dist/components/Cart/CartCouponNotice.d.ts +7 -0
- package/dist/components/Cart/CartCouponNotice.js +21 -0
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.js +3 -1
- package/dist/components/Cart/CartItem/CartItemLicense.js +3 -1
- package/dist/components/Cart/CartItem/CartItemProduct.js +6 -3
- package/dist/components/Cart/CartItem/VariableTextInput.js +7 -3
- package/dist/components/Cart/CartItem/index.js +5 -1
- package/dist/components/Cart/CartOrder.js +27 -17
- package/dist/components/Cart/CartState.d.ts +1 -0
- package/dist/components/Cart/CartState.js +18 -3
- package/dist/components/Cart/CartTotals.js +17 -9
- package/dist/components/Cart/Checkout.js +18 -15
- package/dist/components/Cart/CouponCodeInput.js +5 -3
- package/dist/components/Cart/CustomerFields.js +6 -4
- package/dist/components/Cart/EmptyCart.js +4 -2
- package/dist/components/Cart/IdentityBox.js +6 -2
- package/dist/components/Cart/ShareCart.js +8 -6
- package/dist/components/Cart/checkoutReturn.d.ts +17 -0
- package/dist/components/Cart/checkoutReturn.js +38 -0
- package/dist/components/CartButton/index.d.ts +2 -1
- package/dist/components/CartButton/index.js +6 -2
- package/dist/components/CharacterViewer/StyleSelect.js +6 -2
- package/dist/components/CharacterViewer/collapse.d.ts +10 -0
- package/dist/components/CharacterViewer/collapse.js +39 -0
- package/dist/components/CharacterViewer/index.d.ts +4 -0
- package/dist/components/CharacterViewer/index.js +78 -24
- package/dist/components/CharacterViewer/index.server.d.ts +1 -0
- package/dist/components/CharacterViewer/index.server.js +4 -0
- package/dist/components/ConfigContext.d.ts +14 -10
- package/dist/components/ConfigContext.js +12 -7
- package/dist/components/ConsentBanner/index.js +6 -5
- package/dist/components/CookieNotification/index.js +11 -5
- package/dist/components/CouponText/index.js +15 -7
- package/dist/components/CustomerLoginForm/index.js +14 -9
- package/dist/components/CustomerSignIn/CustomerSignInElement.d.ts +1 -1
- package/dist/components/CustomerSignIn/CustomerSignInElement.js +8 -2
- package/dist/components/CustomerSignIn/index.d.ts +6 -1
- package/dist/components/CustomerSignIn/index.js +27 -15
- package/dist/components/Family/FamilyList.js +5 -2
- package/dist/components/Family/index.js +21 -12
- package/dist/components/FeatureTester/FeatureTesters.d.ts +2 -1
- package/dist/components/FeatureTester/FeatureTesters.js +4 -1
- package/dist/components/FeatureTester/FeatureTesters.server.js +4 -0
- package/dist/components/FeatureTester/index.d.ts +1 -0
- package/dist/components/FeatureTester/index.js +3 -1
- package/dist/components/FeatureTester/index.server.js +2 -0
- package/dist/components/FontdueContextProvider/index.d.ts +12 -2
- package/dist/components/FontdueContextProvider/index.js +85 -11
- package/dist/components/FontdueProvider/index.js +7 -1
- package/dist/components/FontdueProvider/index.server.js +21 -3
- package/dist/components/LocaleContext.d.ts +9 -0
- package/dist/components/LocaleContext.js +20 -0
- package/dist/components/NewsletterSignup/index.d.ts +2 -1
- package/dist/components/NewsletterSignup/index.js +20 -11
- package/dist/components/NewsletterSignup/index.server.d.ts +1 -0
- package/dist/components/NewsletterSignup/index.server.js +3 -1
- package/dist/components/NodePasswordForm/index.d.ts +6 -1
- package/dist/components/NodePasswordForm/index.js +14 -6
- package/dist/components/OrderVariableSelection/index.js +7 -5
- package/dist/components/Precart/License.js +4 -2
- package/dist/components/Precart/index.js +15 -12
- package/dist/components/Price/index.d.ts +1 -0
- package/dist/components/Price/index.js +15 -5
- package/dist/components/Root/index.js +2 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.js +4 -1
- package/dist/components/SelectButton/index.js +3 -1
- package/dist/components/SpecimenLink/index.js +3 -1
- package/dist/components/StoreModal/StoreModalCart.js +6 -0
- package/dist/components/StoreModal/StoreModalContainer.js +14 -12
- package/dist/components/StoreModal/StoreModalDownload.js +3 -1
- package/dist/components/StoreModal/StoreModalFamily.js +16 -7
- package/dist/components/StoreModal/StoreModalFamilyButton.js +14 -9
- package/dist/components/StoreModal/StoreModalIndexItem.js +21 -10
- package/dist/components/StoreModal/StoreModalIndexPackItem.js +8 -3
- package/dist/components/StoreModal/StoreModalPackButton.js +5 -2
- package/dist/components/StoreModal/StoreModalProduct.js +14 -5
- package/dist/components/StoreModal/index.d.ts +1 -0
- package/dist/components/StoreModal/index.js +4 -2
- package/dist/components/StoreModal/offered.d.ts +31 -0
- package/dist/components/StoreModal/offered.js +21 -0
- package/dist/components/StoreModal/types.d.ts +9 -0
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +3 -1
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +5 -1
- package/dist/components/StoreModalProductSummary/index.js +37 -23
- package/dist/components/StripeProvider/index.js +18 -5
- package/dist/components/TestFontsForm/index.d.ts +2 -1
- package/dist/components/TestFontsForm/index.js +28 -16
- package/dist/components/TestFontsForm/index.server.d.ts +1 -0
- package/dist/components/TestFontsForm/index.server.js +3 -1
- package/dist/components/TestModeBanner/index.js +3 -1
- package/dist/components/TypeTester/TypeTesterEditAll.js +3 -1
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +4 -2
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterStandalone.js +6 -2
- package/dist/components/TypeTester/TypeTesterStandalone.server.js +2 -0
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +5 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -1
- package/dist/components/TypeTester/TypeTesterToolbar.js +12 -6
- package/dist/components/TypeTester/index.js +7 -2
- package/dist/components/TypeTesters/index.d.ts +2 -1
- package/dist/components/TypeTesters/index.js +3 -1
- package/dist/components/TypeTesters/index.server.d.ts +1 -0
- package/dist/components/TypeTesters/index.server.js +4 -0
- package/dist/components/elements/EmptyCart/index.js +4 -2
- package/dist/components/elements/StoreModalCartLayout/index.d.ts +1 -0
- package/dist/components/elements/StoreModalCartLayout/index.js +2 -1
- package/dist/components/elements/StoreModalContainer/index.js +4 -2
- package/dist/components/elements/StoreModalDownloadLayout/index.js +3 -1
- package/dist/components/elements/StoreModalIndexItem/index.js +3 -1
- package/dist/components/elements/StoreModalIndexLoadMore/index.js +3 -1
- package/dist/components/elements/StoreModalLicenseeIsBillingIdentityElement.js +4 -2
- package/dist/components/elements/StoreModalLoadingScreen/index.js +7 -3
- package/dist/components/elements/StoreModalUnifiedCheckout.js +44 -27
- package/dist/fontdue.css +58 -0
- package/dist/hooks/useRecaptchaTimeout.d.ts +1 -1
- package/dist/hooks/useRecaptchaTimeout.js +4 -2
- package/dist/i18n/de.d.ts +3 -0
- package/dist/i18n/de.js +279 -0
- package/dist/i18n/en.d.ts +212 -0
- package/dist/i18n/en.js +261 -0
- package/dist/i18n/index.d.ts +42 -0
- package/dist/i18n/index.js +115 -0
- package/dist/i18n/types.d.ts +28 -0
- package/dist/i18n/types.js +1 -0
- package/dist/i18n/useT.d.ts +15 -0
- package/dist/i18n/useT.js +21 -0
- package/dist/locale.d.ts +20 -0
- package/dist/locale.js +52 -0
- package/dist/next/tenant.d.ts +3 -1
- package/dist/next/tenant.js +11 -2
- package/dist/relay/environment.d.ts +8 -2
- package/dist/relay/environment.js +65 -15
- package/dist/relay/loadSerializableQuery.d.ts +17 -0
- package/dist/relay/loadSerializableQuery.js +14 -2
- package/dist/relay/serverConfig.d.ts +9 -0
- package/dist/relay/serverConfig.js +16 -0
- package/dist/relay/useSerializablePreloadedQuery.js +27 -6
- package/dist/server/index.d.ts +11 -0
- package/dist/server/index.js +7 -0
- package/dist/server/middleware.d.ts +19 -1
- package/dist/server/middleware.js +56 -13
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +0 -5
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<bb2d1ac66a91a18706b9ef47887f0d6b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -20,6 +20,14 @@ const node = function () {
|
|
|
20
20
|
"variableName": "input"
|
|
21
21
|
}],
|
|
22
22
|
v2 = {
|
|
23
|
+
"alias": null,
|
|
24
|
+
"args": null,
|
|
25
|
+
"kind": "ScalarField",
|
|
26
|
+
"name": "id",
|
|
27
|
+
"storageKey": null
|
|
28
|
+
},
|
|
29
|
+
v3 = [v2 /*: any*/],
|
|
30
|
+
v4 = {
|
|
23
31
|
"alias": null,
|
|
24
32
|
"args": null,
|
|
25
33
|
"concreteType": "UpdateOrderErrors",
|
|
@@ -27,6 +35,12 @@ const node = function () {
|
|
|
27
35
|
"name": "errors",
|
|
28
36
|
"plural": false,
|
|
29
37
|
"selections": [{
|
|
38
|
+
"alias": null,
|
|
39
|
+
"args": null,
|
|
40
|
+
"kind": "ScalarField",
|
|
41
|
+
"name": "coupon",
|
|
42
|
+
"storageKey": null
|
|
43
|
+
}, {
|
|
30
44
|
"alias": null,
|
|
31
45
|
"args": null,
|
|
32
46
|
"concreteType": "OrderItemsErrors",
|
|
@@ -44,43 +58,36 @@ const node = function () {
|
|
|
44
58
|
}],
|
|
45
59
|
"storageKey": null
|
|
46
60
|
},
|
|
47
|
-
|
|
61
|
+
v5 = {
|
|
48
62
|
"alias": null,
|
|
49
63
|
"args": null,
|
|
50
64
|
"kind": "ScalarField",
|
|
51
65
|
"name": "amount",
|
|
52
66
|
"storageKey": null
|
|
53
67
|
},
|
|
54
|
-
|
|
68
|
+
v6 = {
|
|
55
69
|
"alias": null,
|
|
56
70
|
"args": null,
|
|
57
71
|
"kind": "ScalarField",
|
|
58
72
|
"name": "currency",
|
|
59
73
|
"storageKey": null
|
|
60
74
|
},
|
|
61
|
-
|
|
62
|
-
|
|
75
|
+
v7 = [v5 /*: any*/, v6 /*: any*/],
|
|
76
|
+
v8 = {
|
|
63
77
|
"alias": null,
|
|
64
78
|
"args": null,
|
|
65
79
|
"kind": "ScalarField",
|
|
66
80
|
"name": "name",
|
|
67
81
|
"storageKey": null
|
|
68
82
|
},
|
|
69
|
-
|
|
83
|
+
v9 = {
|
|
70
84
|
"alias": null,
|
|
71
85
|
"args": null,
|
|
72
86
|
"kind": "ScalarField",
|
|
73
87
|
"name": "email",
|
|
74
88
|
"storageKey": null
|
|
75
89
|
},
|
|
76
|
-
|
|
77
|
-
"alias": null,
|
|
78
|
-
"args": null,
|
|
79
|
-
"kind": "ScalarField",
|
|
80
|
-
"name": "id",
|
|
81
|
-
"storageKey": null
|
|
82
|
-
},
|
|
83
|
-
v9 = [v7 /*: any*/, {
|
|
90
|
+
v10 = [v9 /*: any*/, {
|
|
84
91
|
"alias": null,
|
|
85
92
|
"args": null,
|
|
86
93
|
"kind": "ScalarField",
|
|
@@ -98,7 +105,7 @@ const node = function () {
|
|
|
98
105
|
"kind": "ScalarField",
|
|
99
106
|
"name": "vatNumber",
|
|
100
107
|
"storageKey": null
|
|
101
|
-
},
|
|
108
|
+
}, v8 /*: any*/, {
|
|
102
109
|
"alias": null,
|
|
103
110
|
"args": null,
|
|
104
111
|
"kind": "ScalarField",
|
|
@@ -147,14 +154,13 @@ const node = function () {
|
|
|
147
154
|
"name": "zip",
|
|
148
155
|
"storageKey": null
|
|
149
156
|
}],
|
|
150
|
-
|
|
157
|
+
v11 = {
|
|
151
158
|
"alias": null,
|
|
152
159
|
"args": null,
|
|
153
160
|
"kind": "ScalarField",
|
|
154
161
|
"name": "variableType",
|
|
155
162
|
"storageKey": null
|
|
156
163
|
},
|
|
157
|
-
v11 = [v8 /*: any*/],
|
|
158
164
|
v12 = {
|
|
159
165
|
"alias": null,
|
|
160
166
|
"args": null,
|
|
@@ -162,7 +168,7 @@ const node = function () {
|
|
|
162
168
|
"kind": "LinkedField",
|
|
163
169
|
"name": "licenseOptions",
|
|
164
170
|
"plural": true,
|
|
165
|
-
"selections":
|
|
171
|
+
"selections": v3 /*: any*/,
|
|
166
172
|
"storageKey": null
|
|
167
173
|
},
|
|
168
174
|
v13 = {
|
|
@@ -172,7 +178,7 @@ const node = function () {
|
|
|
172
178
|
"kind": "LinkedField",
|
|
173
179
|
"name": "price",
|
|
174
180
|
"plural": false,
|
|
175
|
-
"selections":
|
|
181
|
+
"selections": v7 /*: any*/,
|
|
176
182
|
"storageKey": null
|
|
177
183
|
},
|
|
178
184
|
v14 = {
|
|
@@ -250,7 +256,7 @@ const node = function () {
|
|
|
250
256
|
}],
|
|
251
257
|
"storageKey": null
|
|
252
258
|
},
|
|
253
|
-
v17 = [v14 /*: any*/,
|
|
259
|
+
v17 = [v14 /*: any*/, v8 /*: any*/, v15 /*: any*/, v16 /*: any*/, v2 /*: any*/],
|
|
254
260
|
v18 = {
|
|
255
261
|
"alias": null,
|
|
256
262
|
"args": null,
|
|
@@ -268,7 +274,7 @@ const node = function () {
|
|
|
268
274
|
"name": "totalStyles",
|
|
269
275
|
"storageKey": null
|
|
270
276
|
},
|
|
271
|
-
v20 = [
|
|
277
|
+
v20 = [v8 /*: any*/, v2 /*: any*/],
|
|
272
278
|
v21 = {
|
|
273
279
|
"alias": null,
|
|
274
280
|
"args": null,
|
|
@@ -315,6 +321,15 @@ const node = function () {
|
|
|
315
321
|
"args": null,
|
|
316
322
|
"kind": "FragmentSpread",
|
|
317
323
|
"name": "StoreModalOrderVariableSelection_order"
|
|
324
|
+
}, {
|
|
325
|
+
"alias": null,
|
|
326
|
+
"args": null,
|
|
327
|
+
"concreteType": "Discount",
|
|
328
|
+
"kind": "LinkedField",
|
|
329
|
+
"name": "discount",
|
|
330
|
+
"plural": false,
|
|
331
|
+
"selections": v3 /*: any*/,
|
|
332
|
+
"storageKey": null
|
|
318
333
|
}, {
|
|
319
334
|
"alias": null,
|
|
320
335
|
"args": null,
|
|
@@ -330,7 +345,7 @@ const node = function () {
|
|
|
330
345
|
"storageKey": null
|
|
331
346
|
}],
|
|
332
347
|
"storageKey": null
|
|
333
|
-
},
|
|
348
|
+
}, v4 /*: any*/],
|
|
334
349
|
"storageKey": null
|
|
335
350
|
}],
|
|
336
351
|
"type": "RootMutationType",
|
|
@@ -374,7 +389,7 @@ const node = function () {
|
|
|
374
389
|
"kind": "LinkedField",
|
|
375
390
|
"name": "total",
|
|
376
391
|
"plural": false,
|
|
377
|
-
"selections":
|
|
392
|
+
"selections": v7 /*: any*/,
|
|
378
393
|
"storageKey": null
|
|
379
394
|
}, {
|
|
380
395
|
"alias": null,
|
|
@@ -383,13 +398,13 @@ const node = function () {
|
|
|
383
398
|
"kind": "LinkedField",
|
|
384
399
|
"name": "customer",
|
|
385
400
|
"plural": false,
|
|
386
|
-
"selections": [
|
|
401
|
+
"selections": [v8 /*: any*/, v9 /*: any*/, {
|
|
387
402
|
"alias": null,
|
|
388
403
|
"args": null,
|
|
389
404
|
"kind": "ScalarField",
|
|
390
405
|
"name": "newsletterOptIn",
|
|
391
406
|
"storageKey": null
|
|
392
|
-
},
|
|
407
|
+
}, v2 /*: any*/],
|
|
393
408
|
"storageKey": null
|
|
394
409
|
}, {
|
|
395
410
|
"alias": null,
|
|
@@ -404,7 +419,7 @@ const node = function () {
|
|
|
404
419
|
"kind": "LinkedField",
|
|
405
420
|
"name": "licenseeIdentity",
|
|
406
421
|
"plural": false,
|
|
407
|
-
"selections":
|
|
422
|
+
"selections": v10 /*: any*/,
|
|
408
423
|
"storageKey": null
|
|
409
424
|
}, {
|
|
410
425
|
"alias": null,
|
|
@@ -413,7 +428,7 @@ const node = function () {
|
|
|
413
428
|
"kind": "LinkedField",
|
|
414
429
|
"name": "billingIdentity",
|
|
415
430
|
"plural": false,
|
|
416
|
-
"selections":
|
|
431
|
+
"selections": v10 /*: any*/,
|
|
417
432
|
"storageKey": null
|
|
418
433
|
}, {
|
|
419
434
|
"alias": null,
|
|
@@ -428,7 +443,7 @@ const node = function () {
|
|
|
428
443
|
"kind": "ScalarField",
|
|
429
444
|
"name": "clientSecret",
|
|
430
445
|
"storageKey": null
|
|
431
|
-
},
|
|
446
|
+
}, v5 /*: any*/, v6 /*: any*/],
|
|
432
447
|
"storageKey": null
|
|
433
448
|
}, {
|
|
434
449
|
"alias": null,
|
|
@@ -444,7 +459,7 @@ const node = function () {
|
|
|
444
459
|
"kind": "LinkedField",
|
|
445
460
|
"name": "orderVariable",
|
|
446
461
|
"plural": false,
|
|
447
|
-
"selections": [
|
|
462
|
+
"selections": [v2 /*: any*/, v11 /*: any*/, v8 /*: any*/],
|
|
448
463
|
"storageKey": null
|
|
449
464
|
}, {
|
|
450
465
|
"alias": null,
|
|
@@ -453,7 +468,7 @@ const node = function () {
|
|
|
453
468
|
"kind": "LinkedField",
|
|
454
469
|
"name": "orderVariableOption",
|
|
455
470
|
"plural": false,
|
|
456
|
-
"selections": [
|
|
471
|
+
"selections": [v2 /*: any*/, v5 /*: any*/],
|
|
457
472
|
"storageKey": null
|
|
458
473
|
}, {
|
|
459
474
|
"alias": null,
|
|
@@ -461,7 +476,7 @@ const node = function () {
|
|
|
461
476
|
"kind": "ScalarField",
|
|
462
477
|
"name": "countryCode",
|
|
463
478
|
"storageKey": null
|
|
464
|
-
},
|
|
479
|
+
}, v2 /*: any*/, {
|
|
465
480
|
"alias": null,
|
|
466
481
|
"args": [{
|
|
467
482
|
"kind": "Literal",
|
|
@@ -473,14 +488,71 @@ const node = function () {
|
|
|
473
488
|
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
474
489
|
}],
|
|
475
490
|
"storageKey": null
|
|
476
|
-
},
|
|
491
|
+
}, v2 /*: any*/, {
|
|
492
|
+
"alias": null,
|
|
493
|
+
"args": null,
|
|
494
|
+
"concreteType": "Discount",
|
|
495
|
+
"kind": "LinkedField",
|
|
496
|
+
"name": "discount",
|
|
497
|
+
"plural": false,
|
|
498
|
+
"selections": [v2 /*: any*/, {
|
|
499
|
+
"alias": null,
|
|
500
|
+
"args": null,
|
|
501
|
+
"concreteType": "Money",
|
|
502
|
+
"kind": "LinkedField",
|
|
503
|
+
"name": "amount",
|
|
504
|
+
"plural": false,
|
|
505
|
+
"selections": v7 /*: any*/,
|
|
506
|
+
"storageKey": null
|
|
507
|
+
}, {
|
|
508
|
+
"alias": null,
|
|
509
|
+
"args": null,
|
|
510
|
+
"concreteType": "Coupon",
|
|
511
|
+
"kind": "LinkedField",
|
|
512
|
+
"name": "coupon",
|
|
513
|
+
"plural": false,
|
|
514
|
+
"selections": [{
|
|
515
|
+
"alias": null,
|
|
516
|
+
"args": null,
|
|
517
|
+
"kind": "ScalarField",
|
|
518
|
+
"name": "type",
|
|
519
|
+
"storageKey": null
|
|
520
|
+
}, {
|
|
521
|
+
"alias": null,
|
|
522
|
+
"args": null,
|
|
523
|
+
"kind": "ScalarField",
|
|
524
|
+
"name": "percentAmount",
|
|
525
|
+
"storageKey": null
|
|
526
|
+
}, {
|
|
527
|
+
"alias": null,
|
|
528
|
+
"args": null,
|
|
529
|
+
"concreteType": "Money",
|
|
530
|
+
"kind": "LinkedField",
|
|
531
|
+
"name": "creditAmount",
|
|
532
|
+
"plural": false,
|
|
533
|
+
"selections": v7 /*: any*/,
|
|
534
|
+
"storageKey": null
|
|
535
|
+
}, {
|
|
536
|
+
"alias": null,
|
|
537
|
+
"args": null,
|
|
538
|
+
"concreteType": "Money",
|
|
539
|
+
"kind": "LinkedField",
|
|
540
|
+
"name": "creditAmountRemaining",
|
|
541
|
+
"plural": false,
|
|
542
|
+
"selections": v7 /*: any*/,
|
|
543
|
+
"storageKey": null
|
|
544
|
+
}, v2 /*: any*/],
|
|
545
|
+
"storageKey": null
|
|
546
|
+
}],
|
|
547
|
+
"storageKey": null
|
|
548
|
+
}, {
|
|
477
549
|
"alias": null,
|
|
478
550
|
"args": null,
|
|
479
551
|
"concreteType": "OrderItem",
|
|
480
552
|
"kind": "LinkedField",
|
|
481
553
|
"name": "orderItems",
|
|
482
554
|
"plural": true,
|
|
483
|
-
"selections": [
|
|
555
|
+
"selections": [v2 /*: any*/, {
|
|
484
556
|
"alias": null,
|
|
485
557
|
"args": null,
|
|
486
558
|
"concreteType": "LicenseSelection",
|
|
@@ -494,30 +566,30 @@ const node = function () {
|
|
|
494
566
|
"kind": "LinkedField",
|
|
495
567
|
"name": "license",
|
|
496
568
|
"plural": false,
|
|
497
|
-
"selections": [
|
|
569
|
+
"selections": [v2 /*: any*/, {
|
|
498
570
|
"alias": null,
|
|
499
571
|
"args": null,
|
|
500
572
|
"concreteType": "License",
|
|
501
573
|
"kind": "LinkedField",
|
|
502
574
|
"name": "excludedLicenses",
|
|
503
575
|
"plural": true,
|
|
504
|
-
"selections":
|
|
576
|
+
"selections": v3 /*: any*/,
|
|
505
577
|
"storageKey": null
|
|
506
|
-
},
|
|
578
|
+
}, v8 /*: any*/, {
|
|
507
579
|
"alias": null,
|
|
508
580
|
"args": null,
|
|
509
581
|
"concreteType": "LicenseVariable",
|
|
510
582
|
"kind": "LinkedField",
|
|
511
583
|
"name": "licenseVariables",
|
|
512
584
|
"plural": true,
|
|
513
|
-
"selections": [
|
|
585
|
+
"selections": [v2 /*: any*/, {
|
|
514
586
|
"alias": null,
|
|
515
587
|
"args": null,
|
|
516
588
|
"concreteType": "LicenseOption",
|
|
517
589
|
"kind": "LinkedField",
|
|
518
590
|
"name": "licenseOptions",
|
|
519
591
|
"plural": true,
|
|
520
|
-
"selections": [
|
|
592
|
+
"selections": [v2 /*: any*/, v8 /*: any*/, v5 /*: any*/],
|
|
521
593
|
"storageKey": null
|
|
522
594
|
}],
|
|
523
595
|
"storageKey": null
|
|
@@ -530,13 +602,13 @@ const node = function () {
|
|
|
530
602
|
"kind": "LinkedField",
|
|
531
603
|
"name": "licenseVariable",
|
|
532
604
|
"plural": false,
|
|
533
|
-
"selections": [
|
|
605
|
+
"selections": [v2 /*: any*/, {
|
|
534
606
|
"alias": null,
|
|
535
607
|
"args": null,
|
|
536
608
|
"kind": "ScalarField",
|
|
537
609
|
"name": "units",
|
|
538
610
|
"storageKey": null
|
|
539
|
-
},
|
|
611
|
+
}, v8 /*: any*/, v11 /*: any*/, v12 /*: any*/],
|
|
540
612
|
"storageKey": null
|
|
541
613
|
}, {
|
|
542
614
|
"alias": null,
|
|
@@ -545,13 +617,13 @@ const node = function () {
|
|
|
545
617
|
"kind": "LinkedField",
|
|
546
618
|
"name": "licenseOption",
|
|
547
619
|
"plural": false,
|
|
548
|
-
"selections": [
|
|
620
|
+
"selections": [v2 /*: any*/, {
|
|
549
621
|
"alias": null,
|
|
550
622
|
"args": null,
|
|
551
623
|
"kind": "ScalarField",
|
|
552
624
|
"name": "amounts",
|
|
553
625
|
"storageKey": null
|
|
554
|
-
},
|
|
626
|
+
}, v8 /*: any*/, v5 /*: any*/],
|
|
555
627
|
"storageKey": null
|
|
556
628
|
}, {
|
|
557
629
|
"alias": null,
|
|
@@ -559,7 +631,7 @@ const node = function () {
|
|
|
559
631
|
"kind": "ScalarField",
|
|
560
632
|
"name": "variableText",
|
|
561
633
|
"storageKey": null
|
|
562
|
-
},
|
|
634
|
+
}, v2 /*: any*/],
|
|
563
635
|
"storageKey": null
|
|
564
636
|
}, v13 /*: any*/, {
|
|
565
637
|
"alias": null,
|
|
@@ -586,7 +658,7 @@ const node = function () {
|
|
|
586
658
|
"storageKey": null
|
|
587
659
|
}, {
|
|
588
660
|
"kind": "InlineFragment",
|
|
589
|
-
"selections": [v18 /*: any*/,
|
|
661
|
+
"selections": [v18 /*: any*/, v8 /*: any*/, {
|
|
590
662
|
"alias": null,
|
|
591
663
|
"args": null,
|
|
592
664
|
"kind": "ScalarField",
|
|
@@ -606,17 +678,17 @@ const node = function () {
|
|
|
606
678
|
"plural": true,
|
|
607
679
|
"selections": v17 /*: any*/,
|
|
608
680
|
"storageKey": null
|
|
609
|
-
},
|
|
681
|
+
}, v8 /*: any*/, v21 /*: any*/],
|
|
610
682
|
"type": "Bundle",
|
|
611
683
|
"abstractKey": null
|
|
612
684
|
}, {
|
|
613
685
|
"kind": "InlineFragment",
|
|
614
|
-
"selections": [v18 /*: any*/,
|
|
686
|
+
"selections": [v18 /*: any*/, v8 /*: any*/, v19 /*: any*/],
|
|
615
687
|
"type": "FontPack",
|
|
616
688
|
"abstractKey": null
|
|
617
689
|
}, {
|
|
618
690
|
"kind": "InlineFragment",
|
|
619
|
-
"selections": [v14 /*: any*/,
|
|
691
|
+
"selections": [v14 /*: any*/, v8 /*: any*/, v15 /*: any*/, v16 /*: any*/, {
|
|
620
692
|
"alias": null,
|
|
621
693
|
"args": null,
|
|
622
694
|
"concreteType": "FontCollection",
|
|
@@ -632,14 +704,14 @@ const node = function () {
|
|
|
632
704
|
"kind": "LinkedField",
|
|
633
705
|
"name": "variableInstances",
|
|
634
706
|
"plural": true,
|
|
635
|
-
"selections": [
|
|
707
|
+
"selections": [v8 /*: any*/],
|
|
636
708
|
"storageKey": null
|
|
637
709
|
}],
|
|
638
710
|
"type": "FontStyle",
|
|
639
711
|
"abstractKey": null
|
|
640
712
|
}, {
|
|
641
713
|
"kind": "InlineFragment",
|
|
642
|
-
"selections": [
|
|
714
|
+
"selections": [v8 /*: any*/, v19 /*: any*/, v21 /*: any*/],
|
|
643
715
|
"type": "CollectionBundle",
|
|
644
716
|
"abstractKey": null
|
|
645
717
|
}, {
|
|
@@ -651,14 +723,14 @@ const node = function () {
|
|
|
651
723
|
"kind": "LinkedField",
|
|
652
724
|
"name": "licenses",
|
|
653
725
|
"plural": true,
|
|
654
|
-
"selections": [
|
|
726
|
+
"selections": [v2 /*: any*/, v8 /*: any*/, {
|
|
655
727
|
"alias": null,
|
|
656
728
|
"args": null,
|
|
657
729
|
"concreteType": "LicenseVariable",
|
|
658
730
|
"kind": "LinkedField",
|
|
659
731
|
"name": "licenseVariables",
|
|
660
732
|
"plural": true,
|
|
661
|
-
"selections": [
|
|
733
|
+
"selections": [v2 /*: any*/, v12 /*: any*/],
|
|
662
734
|
"storageKey": null
|
|
663
735
|
}],
|
|
664
736
|
"storageKey": null
|
|
@@ -667,12 +739,12 @@ const node = function () {
|
|
|
667
739
|
"abstractKey": "__isLicenseable"
|
|
668
740
|
}, {
|
|
669
741
|
"kind": "InlineFragment",
|
|
670
|
-
"selections":
|
|
742
|
+
"selections": v3 /*: any*/,
|
|
671
743
|
"type": "Node",
|
|
672
744
|
"abstractKey": "__isNode"
|
|
673
745
|
}],
|
|
674
746
|
"storageKey": null
|
|
675
|
-
},
|
|
747
|
+
}, v2 /*: any*/],
|
|
676
748
|
"storageKey": null
|
|
677
749
|
}],
|
|
678
750
|
"storageKey": null
|
|
@@ -683,64 +755,7 @@ const node = function () {
|
|
|
683
755
|
"kind": "LinkedField",
|
|
684
756
|
"name": "subtotal",
|
|
685
757
|
"plural": false,
|
|
686
|
-
"selections":
|
|
687
|
-
"storageKey": null
|
|
688
|
-
}, {
|
|
689
|
-
"alias": null,
|
|
690
|
-
"args": null,
|
|
691
|
-
"concreteType": "Discount",
|
|
692
|
-
"kind": "LinkedField",
|
|
693
|
-
"name": "discount",
|
|
694
|
-
"plural": false,
|
|
695
|
-
"selections": [{
|
|
696
|
-
"alias": null,
|
|
697
|
-
"args": null,
|
|
698
|
-
"concreteType": "Money",
|
|
699
|
-
"kind": "LinkedField",
|
|
700
|
-
"name": "amount",
|
|
701
|
-
"plural": false,
|
|
702
|
-
"selections": v5 /*: any*/,
|
|
703
|
-
"storageKey": null
|
|
704
|
-
}, {
|
|
705
|
-
"alias": null,
|
|
706
|
-
"args": null,
|
|
707
|
-
"concreteType": "Coupon",
|
|
708
|
-
"kind": "LinkedField",
|
|
709
|
-
"name": "coupon",
|
|
710
|
-
"plural": false,
|
|
711
|
-
"selections": [{
|
|
712
|
-
"alias": null,
|
|
713
|
-
"args": null,
|
|
714
|
-
"kind": "ScalarField",
|
|
715
|
-
"name": "type",
|
|
716
|
-
"storageKey": null
|
|
717
|
-
}, {
|
|
718
|
-
"alias": null,
|
|
719
|
-
"args": null,
|
|
720
|
-
"kind": "ScalarField",
|
|
721
|
-
"name": "percentAmount",
|
|
722
|
-
"storageKey": null
|
|
723
|
-
}, {
|
|
724
|
-
"alias": null,
|
|
725
|
-
"args": null,
|
|
726
|
-
"concreteType": "Money",
|
|
727
|
-
"kind": "LinkedField",
|
|
728
|
-
"name": "creditAmount",
|
|
729
|
-
"plural": false,
|
|
730
|
-
"selections": v5 /*: any*/,
|
|
731
|
-
"storageKey": null
|
|
732
|
-
}, {
|
|
733
|
-
"alias": null,
|
|
734
|
-
"args": null,
|
|
735
|
-
"concreteType": "Money",
|
|
736
|
-
"kind": "LinkedField",
|
|
737
|
-
"name": "creditAmountRemaining",
|
|
738
|
-
"plural": false,
|
|
739
|
-
"selections": v5 /*: any*/,
|
|
740
|
-
"storageKey": null
|
|
741
|
-
}, v8 /*: any*/],
|
|
742
|
-
"storageKey": null
|
|
743
|
-
}, v8 /*: any*/],
|
|
758
|
+
"selections": v7 /*: any*/,
|
|
744
759
|
"storageKey": null
|
|
745
760
|
}, {
|
|
746
761
|
"alias": null,
|
|
@@ -749,7 +764,7 @@ const node = function () {
|
|
|
749
764
|
"kind": "LinkedField",
|
|
750
765
|
"name": "discountedSubtotal",
|
|
751
766
|
"plural": false,
|
|
752
|
-
"selections":
|
|
767
|
+
"selections": v7 /*: any*/,
|
|
753
768
|
"storageKey": null
|
|
754
769
|
}, {
|
|
755
770
|
"alias": null,
|
|
@@ -764,7 +779,7 @@ const node = function () {
|
|
|
764
779
|
"kind": "LinkedField",
|
|
765
780
|
"name": "taxes",
|
|
766
781
|
"plural": false,
|
|
767
|
-
"selections":
|
|
782
|
+
"selections": v7 /*: any*/,
|
|
768
783
|
"storageKey": null
|
|
769
784
|
}, {
|
|
770
785
|
"alias": null,
|
|
@@ -792,19 +807,19 @@ const node = function () {
|
|
|
792
807
|
"storageKey": null
|
|
793
808
|
}],
|
|
794
809
|
"storageKey": null
|
|
795
|
-
},
|
|
810
|
+
}, v4 /*: any*/],
|
|
796
811
|
"storageKey": null
|
|
797
812
|
}]
|
|
798
813
|
},
|
|
799
814
|
"params": {
|
|
800
|
-
"cacheID": "
|
|
815
|
+
"cacheID": "a6f29522d967cacc898fba67130b4b23",
|
|
801
816
|
"id": null,
|
|
802
817
|
"metadata": {},
|
|
803
818
|
"name": "CartStateUpdateMutation",
|
|
804
819
|
"operationKind": "mutation",
|
|
805
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n ...StoreModalOrderVariableSelection_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\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 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 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 FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\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\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"
|
|
820
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_order\n ...StoreModalOrderVariableSelection_order\n discount {\n id\n }\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n coupon\n orderItems {\n licenseSelections\n }\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 CartState_order on Order {\n id\n discount {\n id\n }\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 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 FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StoreModalOrderVariableSelection_order on Order {\n id\n orderVariableSelections {\n orderVariable {\n id\n name\n variableType\n }\n orderVariableDescription(format: HTML)\n orderVariableOption {\n id\n amount\n }\n countryCode\n id\n }\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\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"
|
|
806
821
|
}
|
|
807
822
|
};
|
|
808
823
|
}();
|
|
809
|
-
node.hash = "
|
|
824
|
+
node.hash = "329f2853082779ccf1653f5e70179c45";
|
|
810
825
|
export default node;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<e9a4cbf4ac46717156331e4a0f8c7dda>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
6
6
|
import { ReaderFragment } from 'relay-runtime';
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type CartState_order$data = {
|
|
9
|
+
readonly discount: {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
} | null;
|
|
9
12
|
readonly id: string;
|
|
10
13
|
readonly orderItems: ReadonlyArray<{
|
|
11
14
|
readonly id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<e9a4cbf4ac46717156331e4a0f8c7dda>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -23,6 +23,15 @@ const node = function () {
|
|
|
23
23
|
"metadata": null,
|
|
24
24
|
"name": "CartState_order",
|
|
25
25
|
"selections": [v0 /*: any*/, {
|
|
26
|
+
"alias": null,
|
|
27
|
+
"args": null,
|
|
28
|
+
"concreteType": "Discount",
|
|
29
|
+
"kind": "LinkedField",
|
|
30
|
+
"name": "discount",
|
|
31
|
+
"plural": false,
|
|
32
|
+
"selections": v1 /*: any*/,
|
|
33
|
+
"storageKey": null
|
|
34
|
+
}, {
|
|
26
35
|
"alias": null,
|
|
27
36
|
"args": null,
|
|
28
37
|
"concreteType": "OrderItem",
|
|
@@ -111,5 +120,5 @@ const node = function () {
|
|
|
111
120
|
"abstractKey": null
|
|
112
121
|
};
|
|
113
122
|
}();
|
|
114
|
-
node.hash = "
|
|
123
|
+
node.hash = "0ca6b78ecf023727a74e3fb940d79929";
|
|
115
124
|
export default node;
|