fontdue-js 2.16.1 → 2.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +25 -4
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +5 -1
- package/dist/__generated__/AddressFields_viewer.graphql.js +23 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +10 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +3 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +10 -4
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +22 -4
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +43 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +4 -3
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +75 -54
- package/dist/__generated__/CartState_order.graphql.d.ts +2 -1
- package/dist/__generated__/CartState_order.graphql.js +8 -2
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +10 -4
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +3 -3
- package/dist/__generated__/Checkout_identity.graphql.d.ts +2 -2
- package/dist/__generated__/Checkout_identity.graphql.js +3 -3
- package/dist/__generated__/Checkout_order.graphql.d.ts +3 -3
- package/dist/__generated__/Checkout_order.graphql.js +2 -2
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CouponCodeInputApplyCouponMutation.graphql.js +43 -4
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.d.ts +4 -1
- package/dist/__generated__/CustomerLoginFormLoginMutation.graphql.js +1 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +1 -1
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/OrderVariableSelectionReduxRefetchQuery.graphql.js +154 -0
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.d.ts +6 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +48 -5
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +5 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +41 -17
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +10 -4
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/PriceBarSectionRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +8 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +171 -114
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +8 -2
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +9 -3
- package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +26 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +98 -0
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.d.ts +1 -16
- package/dist/__generated__/StoreModalOrderVariableSelection_viewer.graphql.js +40 -104
- package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +90 -63
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryAddToCartMutation.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +1 -1
- package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutCompleteOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +74 -24
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.d.ts +5 -4
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateOrderMutation.graphql.js +43 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.d.ts +13 -3
- package/dist/__generated__/StoreModalUnifiedCheckout_order.graphql.js +50 -4
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StoreModalUnifiedCheckout_viewer.graphql.js +8 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +10 -4
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStandaloneChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandaloneQuery.graphql.js +30 -14
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +8 -2
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +4 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +17 -2
- package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +27 -0
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersChangedStylesQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +53 -37
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +9 -3
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +53 -37
- package/dist/components/Cart/AddressFields.d.ts +3 -2
- package/dist/components/Cart/AddressFields.js +45 -47
- package/dist/components/Cart/CartState.js +2 -2
- package/dist/components/Cart/CartTotals.d.ts +5 -2
- package/dist/components/Cart/CartTotals.js +24 -10
- package/dist/components/Cart/Checkout.js +33 -6
- package/dist/components/Cart/CustomerFields.d.ts +5 -0
- package/dist/components/Cart/CustomerFields.js +11 -3
- package/dist/components/Cart/types.d.ts +1 -1
- package/dist/components/ConfigContext.d.ts +10 -0
- package/dist/components/ConfigContext.js +4 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +30 -1
- package/dist/components/OrderVariableSelection/index.d.ts +3 -1
- package/dist/components/OrderVariableSelection/index.js +31 -11
- package/dist/components/StoreModal/StoreModalCart.js +9 -6
- package/dist/components/StoreModal/StoreModalIndexItem.js +3 -3
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.d.ts +3 -1
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +25 -6
- package/dist/components/StoreModal/StoreModalProduct.js +1 -1
- package/dist/components/StoreModal/StoreModalStyleButton.js +1 -8
- package/dist/components/StripeProvider/index.js +5 -3
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +12 -3
- package/dist/components/elements/StoreModalUnifiedCheckout.d.ts +60 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +425 -208
- package/dist/fontdue.css +36 -10
- package/dist/reducer.d.ts +1 -0
- package/dist/utils/interpolateOrderVariableDescription.d.ts +36 -0
- package/dist/utils/interpolateOrderVariableDescription.test.d.ts +1 -0
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +11 -2
- package/package.json +2 -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<<d68089e8bc657b1cc594c4cbc03a25bc>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -29,31 +29,48 @@ const node = function () {
|
|
|
29
29
|
"alias": null,
|
|
30
30
|
"args": null,
|
|
31
31
|
"kind": "ScalarField",
|
|
32
|
-
"name": "
|
|
32
|
+
"name": "name",
|
|
33
33
|
"storageKey": null
|
|
34
34
|
},
|
|
35
35
|
v3 = {
|
|
36
36
|
"alias": null,
|
|
37
37
|
"args": null,
|
|
38
38
|
"kind": "ScalarField",
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "email",
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v4 = {
|
|
43
43
|
"alias": null,
|
|
44
44
|
"args": null,
|
|
45
45
|
"kind": "ScalarField",
|
|
46
|
-
"name": "
|
|
46
|
+
"name": "newsletterOptIn",
|
|
47
47
|
"storageKey": null
|
|
48
48
|
},
|
|
49
49
|
v5 = {
|
|
50
|
+
"alias": null,
|
|
51
|
+
"args": null,
|
|
52
|
+
"concreteType": "UpdateCustomerErrors",
|
|
53
|
+
"kind": "LinkedField",
|
|
54
|
+
"name": "errors",
|
|
55
|
+
"plural": false,
|
|
56
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/],
|
|
57
|
+
"storageKey": null
|
|
58
|
+
},
|
|
59
|
+
v6 = {
|
|
60
|
+
"alias": null,
|
|
61
|
+
"args": null,
|
|
62
|
+
"kind": "ScalarField",
|
|
63
|
+
"name": "amount",
|
|
64
|
+
"storageKey": null
|
|
65
|
+
},
|
|
66
|
+
v7 = {
|
|
50
67
|
"alias": null,
|
|
51
68
|
"args": null,
|
|
52
69
|
"kind": "ScalarField",
|
|
53
70
|
"name": "id",
|
|
54
71
|
"storageKey": null
|
|
55
72
|
},
|
|
56
|
-
|
|
73
|
+
v8 = [v3 /*: any*/, {
|
|
57
74
|
"alias": null,
|
|
58
75
|
"args": null,
|
|
59
76
|
"kind": "ScalarField",
|
|
@@ -71,7 +88,7 @@ const node = function () {
|
|
|
71
88
|
"kind": "ScalarField",
|
|
72
89
|
"name": "vatNumber",
|
|
73
90
|
"storageKey": null
|
|
74
|
-
},
|
|
91
|
+
}, v2 /*: any*/, {
|
|
75
92
|
"alias": null,
|
|
76
93
|
"args": null,
|
|
77
94
|
"kind": "ScalarField",
|
|
@@ -81,7 +98,7 @@ const node = function () {
|
|
|
81
98
|
"alias": null,
|
|
82
99
|
"args": null,
|
|
83
100
|
"kind": "ScalarField",
|
|
84
|
-
"name": "
|
|
101
|
+
"name": "phoneNullable",
|
|
85
102
|
"storageKey": null
|
|
86
103
|
}, {
|
|
87
104
|
"alias": null,
|
|
@@ -146,7 +163,7 @@ const node = function () {
|
|
|
146
163
|
"name": "StoreModalUnifiedCheckout_order"
|
|
147
164
|
}],
|
|
148
165
|
"storageKey": null
|
|
149
|
-
}],
|
|
166
|
+
}, v5 /*: any*/],
|
|
150
167
|
"storageKey": null
|
|
151
168
|
}],
|
|
152
169
|
"type": "RootMutationType",
|
|
@@ -190,7 +207,7 @@ const node = function () {
|
|
|
190
207
|
"kind": "LinkedField",
|
|
191
208
|
"name": "total",
|
|
192
209
|
"plural": false,
|
|
193
|
-
"selections": [
|
|
210
|
+
"selections": [v6 /*: any*/],
|
|
194
211
|
"storageKey": null
|
|
195
212
|
}, {
|
|
196
213
|
"alias": null,
|
|
@@ -199,13 +216,7 @@ const node = function () {
|
|
|
199
216
|
"kind": "LinkedField",
|
|
200
217
|
"name": "customer",
|
|
201
218
|
"plural": false,
|
|
202
|
-
"selections": [v3 /*: any*/, v4 /*: any*/,
|
|
203
|
-
"alias": null,
|
|
204
|
-
"args": null,
|
|
205
|
-
"kind": "ScalarField",
|
|
206
|
-
"name": "newsletterOptIn",
|
|
207
|
-
"storageKey": null
|
|
208
|
-
}, v5 /*: any*/],
|
|
219
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, v4 /*: any*/, v7 /*: any*/],
|
|
209
220
|
"storageKey": null
|
|
210
221
|
}, {
|
|
211
222
|
"alias": null,
|
|
@@ -220,7 +231,7 @@ const node = function () {
|
|
|
220
231
|
"kind": "LinkedField",
|
|
221
232
|
"name": "licenseeIdentity",
|
|
222
233
|
"plural": false,
|
|
223
|
-
"selections":
|
|
234
|
+
"selections": v8 /*: any*/,
|
|
224
235
|
"storageKey": null
|
|
225
236
|
}, {
|
|
226
237
|
"alias": null,
|
|
@@ -229,7 +240,7 @@ const node = function () {
|
|
|
229
240
|
"kind": "LinkedField",
|
|
230
241
|
"name": "billingIdentity",
|
|
231
242
|
"plural": false,
|
|
232
|
-
"selections":
|
|
243
|
+
"selections": v8 /*: any*/,
|
|
233
244
|
"storageKey": null
|
|
234
245
|
}, {
|
|
235
246
|
"alias": null,
|
|
@@ -238,7 +249,7 @@ const node = function () {
|
|
|
238
249
|
"kind": "LinkedField",
|
|
239
250
|
"name": "stripePaymentIntent",
|
|
240
251
|
"plural": false,
|
|
241
|
-
"selections": [
|
|
252
|
+
"selections": [v6 /*: any*/, {
|
|
242
253
|
"alias": null,
|
|
243
254
|
"args": null,
|
|
244
255
|
"kind": "ScalarField",
|
|
@@ -246,22 +257,61 @@ const node = function () {
|
|
|
246
257
|
"storageKey": null
|
|
247
258
|
}],
|
|
248
259
|
"storageKey": null
|
|
249
|
-
},
|
|
260
|
+
}, {
|
|
261
|
+
"alias": null,
|
|
262
|
+
"args": null,
|
|
263
|
+
"concreteType": "OrderVariableSelection",
|
|
264
|
+
"kind": "LinkedField",
|
|
265
|
+
"name": "orderVariableSelections",
|
|
266
|
+
"plural": true,
|
|
267
|
+
"selections": [{
|
|
268
|
+
"alias": null,
|
|
269
|
+
"args": null,
|
|
270
|
+
"concreteType": "OrderVariable",
|
|
271
|
+
"kind": "LinkedField",
|
|
272
|
+
"name": "orderVariable",
|
|
273
|
+
"plural": false,
|
|
274
|
+
"selections": [v7 /*: any*/, {
|
|
275
|
+
"alias": null,
|
|
276
|
+
"args": null,
|
|
277
|
+
"kind": "ScalarField",
|
|
278
|
+
"name": "variableType",
|
|
279
|
+
"storageKey": null
|
|
280
|
+
}],
|
|
281
|
+
"storageKey": null
|
|
282
|
+
}, {
|
|
283
|
+
"alias": null,
|
|
284
|
+
"args": null,
|
|
285
|
+
"concreteType": "OrderVariableOption",
|
|
286
|
+
"kind": "LinkedField",
|
|
287
|
+
"name": "orderVariableOption",
|
|
288
|
+
"plural": false,
|
|
289
|
+
"selections": [v7 /*: any*/],
|
|
290
|
+
"storageKey": null
|
|
291
|
+
}, {
|
|
292
|
+
"alias": null,
|
|
293
|
+
"args": null,
|
|
294
|
+
"kind": "ScalarField",
|
|
295
|
+
"name": "countryCode",
|
|
296
|
+
"storageKey": null
|
|
297
|
+
}, v7 /*: any*/],
|
|
298
|
+
"storageKey": null
|
|
299
|
+
}, v7 /*: any*/],
|
|
250
300
|
"storageKey": null
|
|
251
|
-
}],
|
|
301
|
+
}, v5 /*: any*/],
|
|
252
302
|
"storageKey": null
|
|
253
303
|
}]
|
|
254
304
|
},
|
|
255
305
|
"params": {
|
|
256
|
-
"cacheID": "
|
|
306
|
+
"cacheID": "df1642a76b58417dcf25c552e030d855",
|
|
257
307
|
"id": null,
|
|
258
308
|
"metadata": {},
|
|
259
309
|
"name": "StoreModalUnifiedCheckoutUpdateCustomerMutation",
|
|
260
310
|
"operationKind": "mutation",
|
|
261
|
-
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\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
|
|
311
|
+
"text": "mutation StoreModalUnifiedCheckoutUpdateCustomerMutation(\n $input: UpdateCustomerInput!\n) {\n updateCustomer(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n id\n }\n errors {\n name\n email\n newsletterOptIn\n }\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 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"
|
|
262
312
|
}
|
|
263
313
|
};
|
|
264
314
|
}();
|
|
265
|
-
node.hash = "
|
|
315
|
+
node.hash = "a41e423a93ba20f15ebbe826dd802514";
|
|
266
316
|
var _default = node;
|
|
267
317
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<948655bdcf8235886f12d56f52adaee9>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -26,6 +26,7 @@ export type LicenseSelectionInput = {
|
|
|
26
26
|
variableText?: string | null;
|
|
27
27
|
};
|
|
28
28
|
export type OrderVariableSelectionInput = {
|
|
29
|
+
countryCode?: string | null;
|
|
29
30
|
orderVariableId: string;
|
|
30
31
|
orderVariableOptionId?: string | null;
|
|
31
32
|
};
|
|
@@ -36,7 +37,7 @@ export type IdentityInput = {
|
|
|
36
37
|
locality?: string | null;
|
|
37
38
|
name: string;
|
|
38
39
|
organization?: string | null;
|
|
39
|
-
phone
|
|
40
|
+
phone?: string | null;
|
|
40
41
|
sortingCode?: string | null;
|
|
41
42
|
street?: string | null;
|
|
42
43
|
sublocality?: string | null;
|
|
@@ -53,7 +54,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
53
54
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
54
55
|
readonly email: ReadonlyArray<string | null> | null;
|
|
55
56
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
56
|
-
readonly
|
|
57
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
57
58
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
58
59
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
59
60
|
readonly zip: ReadonlyArray<string | null> | null;
|
|
@@ -62,7 +63,7 @@ export type StoreModalUnifiedCheckoutUpdateOrderMutation$data = {
|
|
|
62
63
|
readonly administrativeArea: ReadonlyArray<string | null> | null;
|
|
63
64
|
readonly email: ReadonlyArray<string | null> | null;
|
|
64
65
|
readonly locality: ReadonlyArray<string | null> | null;
|
|
65
|
-
readonly
|
|
66
|
+
readonly phoneNullable: ReadonlyArray<string | null> | null;
|
|
66
67
|
readonly sublocality: ReadonlyArray<string | null> | null;
|
|
67
68
|
readonly vatNumber: ReadonlyArray<string | null> | null;
|
|
68
69
|
readonly zip: ReadonlyArray<string | null> | 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<<948655bdcf8235886f12d56f52adaee9>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -36,7 +36,7 @@ const node = function () {
|
|
|
36
36
|
"alias": null,
|
|
37
37
|
"args": null,
|
|
38
38
|
"kind": "ScalarField",
|
|
39
|
-
"name": "
|
|
39
|
+
"name": "phoneNullable",
|
|
40
40
|
"storageKey": null
|
|
41
41
|
},
|
|
42
42
|
v4 = {
|
|
@@ -291,6 +291,45 @@ const node = function () {
|
|
|
291
291
|
"plural": false,
|
|
292
292
|
"selections": v11 /*: any*/,
|
|
293
293
|
"storageKey": null
|
|
294
|
+
}, {
|
|
295
|
+
"alias": null,
|
|
296
|
+
"args": null,
|
|
297
|
+
"concreteType": "OrderVariableSelection",
|
|
298
|
+
"kind": "LinkedField",
|
|
299
|
+
"name": "orderVariableSelections",
|
|
300
|
+
"plural": true,
|
|
301
|
+
"selections": [{
|
|
302
|
+
"alias": null,
|
|
303
|
+
"args": null,
|
|
304
|
+
"concreteType": "OrderVariable",
|
|
305
|
+
"kind": "LinkedField",
|
|
306
|
+
"name": "orderVariable",
|
|
307
|
+
"plural": false,
|
|
308
|
+
"selections": [v13 /*: any*/, {
|
|
309
|
+
"alias": null,
|
|
310
|
+
"args": null,
|
|
311
|
+
"kind": "ScalarField",
|
|
312
|
+
"name": "variableType",
|
|
313
|
+
"storageKey": null
|
|
314
|
+
}],
|
|
315
|
+
"storageKey": null
|
|
316
|
+
}, {
|
|
317
|
+
"alias": null,
|
|
318
|
+
"args": null,
|
|
319
|
+
"concreteType": "OrderVariableOption",
|
|
320
|
+
"kind": "LinkedField",
|
|
321
|
+
"name": "orderVariableOption",
|
|
322
|
+
"plural": false,
|
|
323
|
+
"selections": [v13 /*: any*/],
|
|
324
|
+
"storageKey": null
|
|
325
|
+
}, {
|
|
326
|
+
"alias": null,
|
|
327
|
+
"args": null,
|
|
328
|
+
"kind": "ScalarField",
|
|
329
|
+
"name": "countryCode",
|
|
330
|
+
"storageKey": null
|
|
331
|
+
}, v13 /*: any*/],
|
|
332
|
+
"storageKey": null
|
|
294
333
|
}, {
|
|
295
334
|
"alias": null,
|
|
296
335
|
"args": null,
|
|
@@ -400,12 +439,12 @@ const node = function () {
|
|
|
400
439
|
}]
|
|
401
440
|
},
|
|
402
441
|
"params": {
|
|
403
|
-
"cacheID": "
|
|
442
|
+
"cacheID": "559272d4e15f65c18442a4abbaa175ed",
|
|
404
443
|
"id": null,
|
|
405
444
|
"metadata": {},
|
|
406
445
|
"name": "StoreModalUnifiedCheckoutUpdateOrderMutation",
|
|
407
446
|
"operationKind": "mutation",
|
|
408
|
-
"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
|
|
447
|
+
"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 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"
|
|
409
448
|
}
|
|
410
449
|
};
|
|
411
450
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<7b603a03c6d3069186401c8a9dcdf4c1>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
13
13
|
readonly locality: string | null;
|
|
14
14
|
readonly name: string;
|
|
15
15
|
readonly organization: string | null;
|
|
16
|
-
readonly
|
|
16
|
+
readonly phoneNullable: string | null;
|
|
17
17
|
readonly street: string | null;
|
|
18
18
|
readonly sublocality: string | null;
|
|
19
19
|
readonly vatNumber: string | null;
|
|
@@ -34,7 +34,7 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
34
34
|
readonly locality: string | null;
|
|
35
35
|
readonly name: string;
|
|
36
36
|
readonly organization: string | null;
|
|
37
|
-
readonly
|
|
37
|
+
readonly phoneNullable: string | null;
|
|
38
38
|
readonly street: string | null;
|
|
39
39
|
readonly sublocality: string | null;
|
|
40
40
|
readonly vatNumber: string | null;
|
|
@@ -42,6 +42,16 @@ export type StoreModalUnifiedCheckout_order$data = {
|
|
|
42
42
|
readonly " $fragmentSpreads": FragmentRefs<"StoreModalReviewIdentity_identity">;
|
|
43
43
|
} | null;
|
|
44
44
|
readonly licenseeIsBillingIdentity: boolean | null;
|
|
45
|
+
readonly orderVariableSelections: ReadonlyArray<{
|
|
46
|
+
readonly countryCode: string | null;
|
|
47
|
+
readonly orderVariable: {
|
|
48
|
+
readonly id: string;
|
|
49
|
+
readonly variableType: string;
|
|
50
|
+
};
|
|
51
|
+
readonly orderVariableOption: {
|
|
52
|
+
readonly id: string;
|
|
53
|
+
} | null;
|
|
54
|
+
}> | null;
|
|
45
55
|
readonly stripePaymentIntent: {
|
|
46
56
|
readonly amount: number | null;
|
|
47
57
|
readonly currency: string | 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<<7b603a03c6d3069186401c8a9dcdf4c1>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -50,7 +50,7 @@ const node = function () {
|
|
|
50
50
|
"alias": null,
|
|
51
51
|
"args": null,
|
|
52
52
|
"kind": "ScalarField",
|
|
53
|
-
"name": "
|
|
53
|
+
"name": "phoneNullable",
|
|
54
54
|
"storageKey": null
|
|
55
55
|
}, {
|
|
56
56
|
"alias": null,
|
|
@@ -94,7 +94,14 @@ const node = function () {
|
|
|
94
94
|
"kind": "ScalarField",
|
|
95
95
|
"name": "vatNumber",
|
|
96
96
|
"storageKey": null
|
|
97
|
-
}]
|
|
97
|
+
}],
|
|
98
|
+
v4 = {
|
|
99
|
+
"alias": null,
|
|
100
|
+
"args": null,
|
|
101
|
+
"kind": "ScalarField",
|
|
102
|
+
"name": "id",
|
|
103
|
+
"storageKey": null
|
|
104
|
+
};
|
|
98
105
|
return {
|
|
99
106
|
"argumentDefinitions": [],
|
|
100
107
|
"kind": "Fragment",
|
|
@@ -175,11 +182,50 @@ const node = function () {
|
|
|
175
182
|
"storageKey": null
|
|
176
183
|
}],
|
|
177
184
|
"storageKey": null
|
|
185
|
+
}, {
|
|
186
|
+
"alias": null,
|
|
187
|
+
"args": null,
|
|
188
|
+
"concreteType": "OrderVariableSelection",
|
|
189
|
+
"kind": "LinkedField",
|
|
190
|
+
"name": "orderVariableSelections",
|
|
191
|
+
"plural": true,
|
|
192
|
+
"selections": [{
|
|
193
|
+
"alias": null,
|
|
194
|
+
"args": null,
|
|
195
|
+
"concreteType": "OrderVariable",
|
|
196
|
+
"kind": "LinkedField",
|
|
197
|
+
"name": "orderVariable",
|
|
198
|
+
"plural": false,
|
|
199
|
+
"selections": [v4 /*: any*/, {
|
|
200
|
+
"alias": null,
|
|
201
|
+
"args": null,
|
|
202
|
+
"kind": "ScalarField",
|
|
203
|
+
"name": "variableType",
|
|
204
|
+
"storageKey": null
|
|
205
|
+
}],
|
|
206
|
+
"storageKey": null
|
|
207
|
+
}, {
|
|
208
|
+
"alias": null,
|
|
209
|
+
"args": null,
|
|
210
|
+
"concreteType": "OrderVariableOption",
|
|
211
|
+
"kind": "LinkedField",
|
|
212
|
+
"name": "orderVariableOption",
|
|
213
|
+
"plural": false,
|
|
214
|
+
"selections": [v4 /*: any*/],
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}, {
|
|
217
|
+
"alias": null,
|
|
218
|
+
"args": null,
|
|
219
|
+
"kind": "ScalarField",
|
|
220
|
+
"name": "countryCode",
|
|
221
|
+
"storageKey": null
|
|
222
|
+
}],
|
|
223
|
+
"storageKey": null
|
|
178
224
|
}],
|
|
179
225
|
"type": "Order",
|
|
180
226
|
"abstractKey": null
|
|
181
227
|
};
|
|
182
228
|
}();
|
|
183
|
-
node.hash = "
|
|
229
|
+
node.hash = "ea43fb766c4dd1183b46ddf449aa85bd";
|
|
184
230
|
var _default = node;
|
|
185
231
|
exports.default = _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<cc9fc7acff42885f262d5497151786e2>>
|
|
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 StoreModalUnifiedCheckout_viewer$data = {
|
|
9
9
|
readonly country: string;
|
|
10
|
+
readonly detectedCountry: string | null;
|
|
10
11
|
readonly settings: {
|
|
11
12
|
readonly eulaAgreementLabel: string | null;
|
|
12
13
|
readonly newsletterOptInLabel: string | 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<<cc9fc7acff42885f262d5497151786e2>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -35,6 +35,12 @@ const node = function () {
|
|
|
35
35
|
"kind": "ScalarField",
|
|
36
36
|
"name": "country",
|
|
37
37
|
"storageKey": null
|
|
38
|
+
}, {
|
|
39
|
+
"alias": null,
|
|
40
|
+
"args": null,
|
|
41
|
+
"kind": "ScalarField",
|
|
42
|
+
"name": "detectedCountry",
|
|
43
|
+
"storageKey": null
|
|
38
44
|
}, {
|
|
39
45
|
"alias": null,
|
|
40
46
|
"args": null,
|
|
@@ -94,6 +100,6 @@ const node = function () {
|
|
|
94
100
|
"abstractKey": null
|
|
95
101
|
};
|
|
96
102
|
}();
|
|
97
|
-
node.hash = "
|
|
103
|
+
node.hash = "83cc5e6f8d508fb1c2356a72b040f9b0";
|
|
98
104
|
var _default = node;
|
|
99
105
|
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<<955383975fd3e6c3d1aead410f172705>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -56,7 +56,7 @@ const node = function () {
|
|
|
56
56
|
"alias": null,
|
|
57
57
|
"args": null,
|
|
58
58
|
"kind": "ScalarField",
|
|
59
|
-
"name": "
|
|
59
|
+
"name": "phoneNullable",
|
|
60
60
|
"storageKey": null
|
|
61
61
|
}, {
|
|
62
62
|
"alias": null,
|
|
@@ -626,6 +626,12 @@ const node = function () {
|
|
|
626
626
|
"plural": false,
|
|
627
627
|
"selections": v8 /*: any*/,
|
|
628
628
|
"storageKey": null
|
|
629
|
+
}, {
|
|
630
|
+
"alias": null,
|
|
631
|
+
"args": null,
|
|
632
|
+
"kind": "ScalarField",
|
|
633
|
+
"name": "countryCode",
|
|
634
|
+
"storageKey": null
|
|
629
635
|
}, v4 /*: any*/],
|
|
630
636
|
"storageKey": null
|
|
631
637
|
}, {
|
|
@@ -680,12 +686,12 @@ const node = function () {
|
|
|
680
686
|
}]
|
|
681
687
|
},
|
|
682
688
|
"params": {
|
|
683
|
-
"cacheID": "
|
|
689
|
+
"cacheID": "7257fc5aa23250270ae452fe00cecbeb",
|
|
684
690
|
"id": null,
|
|
685
691
|
"metadata": {},
|
|
686
692
|
"name": "TestFontsFormUpdateCustomerMutation",
|
|
687
693
|
"operationKind": "mutation",
|
|
688
|
-
"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}\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 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
|
|
694
|
+
"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}\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"
|
|
689
695
|
}
|
|
690
696
|
};
|
|
691
697
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<9e8a4fa0e489d7a259904dc2ffeaceb0>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -10,6 +10,7 @@ export type LicenseOptionsSpec = {
|
|
|
10
10
|
licenseOptionIds?: ReadonlyArray<string> | null;
|
|
11
11
|
};
|
|
12
12
|
export type OrderVariableSelectionInput = {
|
|
13
|
+
countryCode?: string | null;
|
|
13
14
|
orderVariableId: string;
|
|
14
15
|
orderVariableOptionId?: string | null;
|
|
15
16
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<9e8a4fa0e489d7a259904dc2ffeaceb0>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -176,6 +176,12 @@ const node = function () {
|
|
|
176
176
|
}],
|
|
177
177
|
"storageKey": null
|
|
178
178
|
}, v5 /*: any*/, {
|
|
179
|
+
"alias": null,
|
|
180
|
+
"args": null,
|
|
181
|
+
"kind": "ScalarField",
|
|
182
|
+
"name": "supportedLanguages",
|
|
183
|
+
"storageKey": null
|
|
184
|
+
}, {
|
|
179
185
|
"alias": null,
|
|
180
186
|
"args": null,
|
|
181
187
|
"kind": "ScalarField",
|
|
@@ -279,12 +285,12 @@ const node = function () {
|
|
|
279
285
|
}]
|
|
280
286
|
},
|
|
281
287
|
"params": {
|
|
282
|
-
"cacheID": "
|
|
288
|
+
"cacheID": "ea23a351f699ff17f0590ea8cf5331bf",
|
|
283
289
|
"id": null,
|
|
284
290
|
"metadata": {},
|
|
285
291
|
"name": "TypeTesterStandaloneChangedStylesQuery",
|
|
286
292
|
"operationKind": "query",
|
|
287
|
-
"text": "query TypeTesterStandaloneChangedStylesQuery(\n $id: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $id) {\n __typename\n ... on FontStyle {\n id\n ...TypeTester_fontStyle_4sncub\n }\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 SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_4sncub on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_4sncub\n ...SKUPrice_sku_4sncub\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
293
|
+
"text": "query TypeTesterStandaloneChangedStylesQuery(\n $id: ID!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n node(id: $id) {\n __typename\n ... on FontStyle {\n id\n ...TypeTester_fontStyle_4sncub\n }\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 SelectButton_sku_4sncub on Sku {\n id\n ...SKUPrice_sku_4sncub\n}\n\nfragment TypeTesterFeaturesButton_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n}\n\nfragment TypeTesterFeatures_fontStyle on FontStyle {\n ...useFeaturesData_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n}\n\nfragment TypeTesterStyleSelectData_fontStyle on FontStyle {\n id\n name\n supportedLanguages\n cssWeight\n cssStyle\n cssStretch\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n family {\n name\n id\n }\n}\n\nfragment TypeTesterToolbar_fontStyle on FontStyle {\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterFeaturesButton_fontStyle\n}\n\nfragment TypeTesterVariableAxes_fontStyle on FontStyle {\n variableAxes {\n axis\n name\n minValue\n maxValue\n }\n}\n\nfragment TypeTester_fontStyle_4sncub on FontStyle {\n id\n ...TypeTesterFeatures_fontStyle\n ...TypeTesterStyleSelectData_fontStyle\n ...FontStyle_fontStyle\n ...TypeTesterVariableAxes_fontStyle\n ...TypeTesterToolbar_fontStyle\n family {\n cssUrl\n id\n }\n sku {\n ...SelectButton_sku_4sncub\n ...SKUPrice_sku_4sncub\n id\n basePrice: price {\n amount\n }\n }\n}\n\nfragment useFeaturesData_fontStyle on FontStyle {\n fontFeatures {\n supportedFeatures\n stylisticSetNames {\n featureName\n humanName\n }\n }\n}\n"
|
|
288
294
|
}
|
|
289
295
|
};
|
|
290
296
|
}();
|