fontdue-js 2.17.0 → 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 +4 -0
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +2 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +21 -7
- 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 +1 -1
- package/dist/__generated__/OrderVariableSelectionRedux_viewer.graphql.js +21 -5
- package/dist/__generated__/OrderVariableSelection_variables.graphql.d.ts +1 -1
- package/dist/__generated__/OrderVariableSelection_variables.graphql.js +12 -4
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +49 -39
- 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 +2 -2
- package/dist/__generated__/StoreModalOrderVariableSelection_order.graphql.js +12 -12
- package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +30 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +69 -63
- package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +31 -0
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.d.ts +6 -1
- package/dist/__generated__/StoreModalUnifiedCheckoutUpdateCustomerMutation.graphql.js +37 -26
- package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +33 -0
- package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +27 -0
- package/dist/components/Cart/CartState.js +1 -1
- package/dist/components/Cart/CustomerFields.d.ts +5 -0
- package/dist/components/Cart/CustomerFields.js +11 -3
- package/dist/components/ConfigContext.d.ts +10 -0
- package/dist/components/ConfigContext.js +4 -1
- package/dist/components/OrderVariableSelection/OrderVariableSelectionRedux.js +10 -1
- package/dist/components/OrderVariableSelection/index.d.ts +2 -1
- package/dist/components/OrderVariableSelection/index.js +9 -2
- package/dist/components/StoreModal/StoreModalOrderVariableSelection.js +19 -4
- package/dist/components/StoreModal/StoreModalProduct.js +1 -1
- package/dist/components/elements/StoreModalUnifiedCheckout.js +16 -7
- package/dist/utils/interpolateOrderVariableDescription.d.ts +36 -0
- package/dist/utils/interpolateOrderVariableDescription.test.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<bd9b59eeebfe16cdf470a0f12de93f0b>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -58,7 +58,7 @@ export type CartStateUpdateMutation$data = {
|
|
|
58
58
|
readonly orderItems: ReadonlyArray<{
|
|
59
59
|
readonly " $fragmentSpreads": FragmentRefs<"CartItem_node">;
|
|
60
60
|
}> | null;
|
|
61
|
-
readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order" | "StoreModalUnifiedCheckout_order">;
|
|
61
|
+
readonly " $fragmentSpreads": FragmentRefs<"CartState_order" | "CartTotals_order" | "StoreModalOrderVariableSelection_order" | "StoreModalUnifiedCheckout_order">;
|
|
62
62
|
} | null;
|
|
63
63
|
} | null;
|
|
64
64
|
};
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<bd9b59eeebfe16cdf470a0f12de93f0b>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -226,6 +226,10 @@ const node = function () {
|
|
|
226
226
|
"args": null,
|
|
227
227
|
"kind": "FragmentSpread",
|
|
228
228
|
"name": "CartTotals_order"
|
|
229
|
+
}, {
|
|
230
|
+
"args": null,
|
|
231
|
+
"kind": "FragmentSpread",
|
|
232
|
+
"name": "StoreModalOrderVariableSelection_order"
|
|
229
233
|
}, {
|
|
230
234
|
"alias": null,
|
|
231
235
|
"args": null,
|
|
@@ -349,7 +353,7 @@ const node = function () {
|
|
|
349
353
|
"kind": "LinkedField",
|
|
350
354
|
"name": "orderVariable",
|
|
351
355
|
"plural": false,
|
|
352
|
-
"selections": [v7 /*: any*/, v9 /*: any*/],
|
|
356
|
+
"selections": [v7 /*: any*/, v9 /*: any*/, v5 /*: any*/],
|
|
353
357
|
"storageKey": null
|
|
354
358
|
}, {
|
|
355
359
|
"alias": null,
|
|
@@ -358,7 +362,7 @@ const node = function () {
|
|
|
358
362
|
"kind": "LinkedField",
|
|
359
363
|
"name": "orderVariableOption",
|
|
360
364
|
"plural": false,
|
|
361
|
-
"selections":
|
|
365
|
+
"selections": [v7 /*: any*/, v3 /*: any*/],
|
|
362
366
|
"storageKey": null
|
|
363
367
|
}, {
|
|
364
368
|
"alias": null,
|
|
@@ -366,7 +370,17 @@ const node = function () {
|
|
|
366
370
|
"kind": "ScalarField",
|
|
367
371
|
"name": "countryCode",
|
|
368
372
|
"storageKey": null
|
|
369
|
-
}, v7 /*: any
|
|
373
|
+
}, v7 /*: any*/, {
|
|
374
|
+
"alias": null,
|
|
375
|
+
"args": [{
|
|
376
|
+
"kind": "Literal",
|
|
377
|
+
"name": "format",
|
|
378
|
+
"value": "HTML"
|
|
379
|
+
}],
|
|
380
|
+
"kind": "ScalarField",
|
|
381
|
+
"name": "orderVariableDescription",
|
|
382
|
+
"storageKey": "orderVariableDescription(format:\"HTML\")"
|
|
383
|
+
}],
|
|
370
384
|
"storageKey": null
|
|
371
385
|
}, v7 /*: any*/, {
|
|
372
386
|
"alias": null,
|
|
@@ -685,15 +699,15 @@ const node = function () {
|
|
|
685
699
|
}]
|
|
686
700
|
},
|
|
687
701
|
"params": {
|
|
688
|
-
"cacheID": "
|
|
702
|
+
"cacheID": "073d870af039acc02649efd6bcfd9d3a",
|
|
689
703
|
"id": null,
|
|
690
704
|
"metadata": {},
|
|
691
705
|
"name": "CartStateUpdateMutation",
|
|
692
706
|
"operationKind": "mutation",
|
|
693
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...StoreModalUnifiedCheckout_order\n ...CartState_order\n ...CartTotals_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 }\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 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 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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
707
|
+
"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 }\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 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 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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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 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"
|
|
694
708
|
}
|
|
695
709
|
};
|
|
696
710
|
}();
|
|
697
|
-
node.hash = "
|
|
711
|
+
node.hash = "07a639cd3bfbfa0d797f6b8380603859";
|
|
698
712
|
var _default = node;
|
|
699
713
|
exports.default = _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<f40a64fa9c879b4c98fe3a115eaaadcc>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type OrderVariableSelectionInput = {
|
|
9
|
+
countryCode?: string | null;
|
|
10
|
+
orderVariableId: string;
|
|
11
|
+
orderVariableOptionId?: string | null;
|
|
12
|
+
};
|
|
13
|
+
export type OrderVariableSelectionReduxRefetchQuery$variables = {
|
|
14
|
+
orderVariables?: ReadonlyArray<OrderVariableSelectionInput> | null;
|
|
15
|
+
};
|
|
16
|
+
export type OrderVariableSelectionReduxRefetchQuery$data = {
|
|
17
|
+
readonly viewer: {
|
|
18
|
+
readonly " $fragmentSpreads": FragmentRefs<"OrderVariableSelectionRedux_viewer">;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type OrderVariableSelectionReduxRefetchQuery = {
|
|
22
|
+
response: OrderVariableSelectionReduxRefetchQuery$data;
|
|
23
|
+
variables: OrderVariableSelectionReduxRefetchQuery$variables;
|
|
24
|
+
};
|
|
25
|
+
declare const node: ConcreteRequest;
|
|
26
|
+
export default node;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<f40a64fa9c879b4c98fe3a115eaaadcc>>
|
|
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": [] /*: any*/,
|
|
20
|
+
"kind": "LocalArgument",
|
|
21
|
+
"name": "orderVariables"
|
|
22
|
+
}],
|
|
23
|
+
v1 = {
|
|
24
|
+
"kind": "Variable",
|
|
25
|
+
"name": "orderVariables",
|
|
26
|
+
"variableName": "orderVariables"
|
|
27
|
+
},
|
|
28
|
+
v2 = {
|
|
29
|
+
"alias": null,
|
|
30
|
+
"args": null,
|
|
31
|
+
"kind": "ScalarField",
|
|
32
|
+
"name": "id",
|
|
33
|
+
"storageKey": null
|
|
34
|
+
},
|
|
35
|
+
v3 = {
|
|
36
|
+
"alias": null,
|
|
37
|
+
"args": null,
|
|
38
|
+
"kind": "ScalarField",
|
|
39
|
+
"name": "name",
|
|
40
|
+
"storageKey": null
|
|
41
|
+
};
|
|
42
|
+
return {
|
|
43
|
+
"fragment": {
|
|
44
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
45
|
+
"kind": "Fragment",
|
|
46
|
+
"metadata": null,
|
|
47
|
+
"name": "OrderVariableSelectionReduxRefetchQuery",
|
|
48
|
+
"selections": [{
|
|
49
|
+
"alias": null,
|
|
50
|
+
"args": null,
|
|
51
|
+
"concreteType": "Viewer",
|
|
52
|
+
"kind": "LinkedField",
|
|
53
|
+
"name": "viewer",
|
|
54
|
+
"plural": false,
|
|
55
|
+
"selections": [{
|
|
56
|
+
"args": [v1 /*: any*/],
|
|
57
|
+
"kind": "FragmentSpread",
|
|
58
|
+
"name": "OrderVariableSelectionRedux_viewer"
|
|
59
|
+
}],
|
|
60
|
+
"storageKey": null
|
|
61
|
+
}],
|
|
62
|
+
"type": "RootQueryType",
|
|
63
|
+
"abstractKey": null
|
|
64
|
+
},
|
|
65
|
+
"kind": "Request",
|
|
66
|
+
"operation": {
|
|
67
|
+
"argumentDefinitions": v0 /*: any*/,
|
|
68
|
+
"kind": "Operation",
|
|
69
|
+
"name": "OrderVariableSelectionReduxRefetchQuery",
|
|
70
|
+
"selections": [{
|
|
71
|
+
"alias": null,
|
|
72
|
+
"args": null,
|
|
73
|
+
"concreteType": "Viewer",
|
|
74
|
+
"kind": "LinkedField",
|
|
75
|
+
"name": "viewer",
|
|
76
|
+
"plural": false,
|
|
77
|
+
"selections": [{
|
|
78
|
+
"alias": null,
|
|
79
|
+
"args": null,
|
|
80
|
+
"concreteType": "OrderVariable",
|
|
81
|
+
"kind": "LinkedField",
|
|
82
|
+
"name": "orderVariables",
|
|
83
|
+
"plural": true,
|
|
84
|
+
"selections": [v2 /*: any*/, v3 /*: any*/, {
|
|
85
|
+
"alias": null,
|
|
86
|
+
"args": null,
|
|
87
|
+
"kind": "ScalarField",
|
|
88
|
+
"name": "variableType",
|
|
89
|
+
"storageKey": null
|
|
90
|
+
}, {
|
|
91
|
+
"alias": null,
|
|
92
|
+
"args": [{
|
|
93
|
+
"kind": "Literal",
|
|
94
|
+
"name": "format",
|
|
95
|
+
"value": "HTML"
|
|
96
|
+
}, v1 /*: any*/],
|
|
97
|
+
"kind": "ScalarField",
|
|
98
|
+
"name": "description",
|
|
99
|
+
"storageKey": null
|
|
100
|
+
}, {
|
|
101
|
+
"alias": null,
|
|
102
|
+
"args": null,
|
|
103
|
+
"concreteType": "OrderVariableOption",
|
|
104
|
+
"kind": "LinkedField",
|
|
105
|
+
"name": "orderVariableOptions",
|
|
106
|
+
"plural": true,
|
|
107
|
+
"selections": [v2 /*: any*/, {
|
|
108
|
+
"alias": null,
|
|
109
|
+
"args": null,
|
|
110
|
+
"kind": "ScalarField",
|
|
111
|
+
"name": "amount",
|
|
112
|
+
"storageKey": null
|
|
113
|
+
}],
|
|
114
|
+
"storageKey": null
|
|
115
|
+
}],
|
|
116
|
+
"storageKey": null
|
|
117
|
+
}, {
|
|
118
|
+
"alias": null,
|
|
119
|
+
"args": null,
|
|
120
|
+
"concreteType": "Country",
|
|
121
|
+
"kind": "LinkedField",
|
|
122
|
+
"name": "countries",
|
|
123
|
+
"plural": true,
|
|
124
|
+
"selections": [{
|
|
125
|
+
"alias": null,
|
|
126
|
+
"args": null,
|
|
127
|
+
"kind": "ScalarField",
|
|
128
|
+
"name": "code",
|
|
129
|
+
"storageKey": null
|
|
130
|
+
}, v3 /*: any*/],
|
|
131
|
+
"storageKey": null
|
|
132
|
+
}, {
|
|
133
|
+
"alias": null,
|
|
134
|
+
"args": null,
|
|
135
|
+
"kind": "ScalarField",
|
|
136
|
+
"name": "detectedCountry",
|
|
137
|
+
"storageKey": null
|
|
138
|
+
}, v2 /*: any*/],
|
|
139
|
+
"storageKey": null
|
|
140
|
+
}]
|
|
141
|
+
},
|
|
142
|
+
"params": {
|
|
143
|
+
"cacheID": "bd7e4095af3ae560f586483ba8583f66",
|
|
144
|
+
"id": null,
|
|
145
|
+
"metadata": {},
|
|
146
|
+
"name": "OrderVariableSelectionReduxRefetchQuery",
|
|
147
|
+
"operationKind": "query",
|
|
148
|
+
"text": "query OrderVariableSelectionReduxRefetchQuery(\n $orderVariables: [OrderVariableSelectionInput!] = []\n) {\n viewer {\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n id\n }\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"
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
}();
|
|
152
|
+
node.hash = "eaa5e1fdf47cb582dd3c7bdea0a5e6b2";
|
|
153
|
+
var _default = node;
|
|
154
|
+
exports.default = _default;
|
|
@@ -4,8 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _OrderVariableSelectionReduxRefetchQuery = _interopRequireDefault(require("./OrderVariableSelectionReduxRefetchQuery.graphql"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
9
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
10
|
+
* @generated SignedSource<<1626ab7754460b87be811c60866a380f>>
|
|
9
11
|
* @lightSyntaxTransform
|
|
10
12
|
* @nogrep
|
|
11
13
|
*/
|
|
@@ -15,12 +17,26 @@ exports.default = void 0;
|
|
|
15
17
|
// @ts-nocheck
|
|
16
18
|
|
|
17
19
|
const node = {
|
|
18
|
-
"argumentDefinitions": [
|
|
20
|
+
"argumentDefinitions": [{
|
|
21
|
+
"defaultValue": [],
|
|
22
|
+
"kind": "LocalArgument",
|
|
23
|
+
"name": "orderVariables"
|
|
24
|
+
}],
|
|
19
25
|
"kind": "Fragment",
|
|
20
|
-
"metadata":
|
|
26
|
+
"metadata": {
|
|
27
|
+
"refetch": {
|
|
28
|
+
"connection": null,
|
|
29
|
+
"fragmentPathInResult": ["viewer"],
|
|
30
|
+
"operation": _OrderVariableSelectionReduxRefetchQuery.default
|
|
31
|
+
}
|
|
32
|
+
},
|
|
21
33
|
"name": "OrderVariableSelectionRedux_viewer",
|
|
22
34
|
"selections": [{
|
|
23
|
-
"args":
|
|
35
|
+
"args": [{
|
|
36
|
+
"kind": "Variable",
|
|
37
|
+
"name": "orderVariables",
|
|
38
|
+
"variableName": "orderVariables"
|
|
39
|
+
}],
|
|
24
40
|
"kind": "FragmentSpread",
|
|
25
41
|
"name": "OrderVariableSelection_variables"
|
|
26
42
|
}, {
|
|
@@ -54,6 +70,6 @@ const node = {
|
|
|
54
70
|
"type": "Viewer",
|
|
55
71
|
"abstractKey": null
|
|
56
72
|
};
|
|
57
|
-
node.hash = "
|
|
73
|
+
node.hash = "eaa5e1fdf47cb582dd3c7bdea0a5e6b2";
|
|
58
74
|
var _default = node;
|
|
59
75
|
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<<163a3a39b6ccabe3770881140cf46963>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -30,7 +30,11 @@ const node = function () {
|
|
|
30
30
|
"storageKey": null
|
|
31
31
|
};
|
|
32
32
|
return {
|
|
33
|
-
"argumentDefinitions": [
|
|
33
|
+
"argumentDefinitions": [{
|
|
34
|
+
"defaultValue": [],
|
|
35
|
+
"kind": "LocalArgument",
|
|
36
|
+
"name": "orderVariables"
|
|
37
|
+
}],
|
|
34
38
|
"kind": "Fragment",
|
|
35
39
|
"metadata": null,
|
|
36
40
|
"name": "OrderVariableSelection_variables",
|
|
@@ -53,10 +57,14 @@ const node = function () {
|
|
|
53
57
|
"kind": "Literal",
|
|
54
58
|
"name": "format",
|
|
55
59
|
"value": "HTML"
|
|
60
|
+
}, {
|
|
61
|
+
"kind": "Variable",
|
|
62
|
+
"name": "orderVariables",
|
|
63
|
+
"variableName": "orderVariables"
|
|
56
64
|
}],
|
|
57
65
|
"kind": "ScalarField",
|
|
58
66
|
"name": "description",
|
|
59
|
-
"storageKey":
|
|
67
|
+
"storageKey": null
|
|
60
68
|
}, {
|
|
61
69
|
"alias": null,
|
|
62
70
|
"args": null,
|
|
@@ -94,6 +102,6 @@ const node = function () {
|
|
|
94
102
|
"abstractKey": null
|
|
95
103
|
};
|
|
96
104
|
}();
|
|
97
|
-
node.hash = "
|
|
105
|
+
node.hash = "b73b43b61cd5edd5face7d4a5615b2f5";
|
|
98
106
|
var _default = node;
|
|
99
107
|
exports.default = _default;
|