fontdue-js 1.9.1 → 1.10.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 +6 -0
- package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartButtonQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartItem_node.graphql.d.ts +4 -0
- package/dist/__generated__/CartItem_node.graphql.js +26 -6
- package/dist/__generated__/CartItem_product.graphql.d.ts +4 -0
- package/dist/__generated__/CartItem_product.graphql.js +25 -5
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +23 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +23 -2
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +23 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +23 -2
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +23 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +23 -2
- package/dist/__generated__/CharacterViewer_Query.graphql.js +77 -6
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +77 -6
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +23 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.js +53 -5
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +8 -0
- package/dist/__generated__/CharacterViewer_family.graphql.js +39 -1
- package/dist/__generated__/CheckoutRefetchQuery.graphql.d.ts +17 -0
- package/dist/__generated__/CheckoutRefetchQuery.graphql.js +296 -0
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +23 -2
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +23 -2
- package/dist/__generated__/Checkout_Refetch_Query.graphql.d.ts +1 -1
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.d.ts +31 -0
- package/dist/__generated__/Checkout_UpdateOrderErrors.graphql.js +97 -0
- package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.d.ts +1 -1
- package/dist/__generated__/FamilyList_node.graphql.d.ts +1 -0
- package/dist/__generated__/FamilyList_node.graphql.js +11 -1
- package/dist/__generated__/FontFamiliesQuery.graphql.js +36 -24
- package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +23 -2
- package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +23 -2
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalContainerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.d.ts +2 -0
- package/dist/__generated__/StoreModalFamilyButton_collection.graphql.js +11 -1
- package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +1 -0
- package/dist/__generated__/StoreModalFamily_collection.graphql.js +7 -1
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.d.ts +28 -0
- package/dist/__generated__/StoreModalIndexItem_fontCollection.graphql.js +111 -0
- package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +2 -10
- package/dist/__generated__/StoreModalIndexQuery.graphql.js +81 -54
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +156 -63
- package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.d.ts +10 -0
- package/dist/__generated__/StoreModalStyleButton_fontStyle.graphql.js +53 -7
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +23 -2
- package/dist/__generated__/TestFontsForm_Query.graphql.d.ts +1 -1
- package/dist/__generated__/TestModeBannerQuery.graphql.d.ts +1 -1
- package/dist/__generated__/ThemeConfigQuery.graphql.d.ts +1 -1
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +4 -1
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +484 -33
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.d.ts +7 -0
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyle.graphql.js +32 -0
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.d.ts +7 -0
- package/dist/__generated__/TypeTesterStyleSelectData_fontStyleData.graphql.js +37 -1
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.d.ts +8 -0
- package/dist/__generated__/TypeTesterStyleSelectData_viewer.graphql.js +39 -1
- package/dist/__generated__/TypeTester_fontStyle.graphql.d.ts +1 -0
- package/dist/__generated__/TypeTester_fontStyle.graphql.js +16 -11
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +3 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +446 -67
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +2 -1
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +425 -69
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +6 -0
- package/dist/__generated__/TypeTesters_collection.graphql.js +32 -1
- package/dist/__generated__/useFeaturesData_fontStyle.graphql.d.ts +6 -0
- package/dist/__generated__/useFeaturesData_fontStyle.graphql.js +34 -1
- package/dist/__generated__/useTotalStyles_fontCollection.graphql.d.ts +17 -0
- package/dist/__generated__/useTotalStyles_fontCollection.graphql.js +56 -0
- package/dist/components/AddToCartBanner/index.js +4 -6
- package/dist/components/BuyButton/index.js +18 -22
- package/dist/components/BuyingOptions/index.js +7 -10
- package/dist/components/Cart/AddressFields.d.ts +15 -0
- package/dist/components/Cart/AddressFields.js +7 -10
- package/dist/components/Cart/CartItem/index.js +59 -75
- package/dist/components/Cart/CartOrder.js +14 -18
- package/dist/components/Cart/CartState.js +13 -16
- package/dist/components/Cart/CartTotals.js +59 -65
- package/dist/components/Cart/Checkout.d.ts +17 -0
- package/dist/components/Cart/Checkout.js +33 -32
- package/dist/components/Cart/CustomerFields.js +6 -7
- package/dist/components/Cart/Download.js +9 -11
- package/dist/components/Cart/EmptyCart.js +4 -5
- package/dist/components/Cart/IdentityBox.js +24 -27
- package/dist/components/Cart/index.js +17 -23
- package/dist/components/Cart/types.d.ts +20 -0
- package/dist/components/Cart/types.js +5 -0
- package/dist/components/CartButton/index.js +10 -13
- package/dist/components/CharacterViewer/index.js +163 -90
- package/dist/components/CollectionAa/index.js +11 -15
- package/dist/components/ConfigContext.js +1 -1
- package/dist/components/CookieNotification/index.js +38 -46
- package/dist/components/CouponText/index.js +4 -6
- package/dist/components/CustomerLoginForm/index.js +6 -8
- package/dist/components/Family/FamilyList.js +11 -24
- package/dist/components/Family/index.d.ts +1 -1
- package/dist/components/Family/index.js +58 -87
- package/dist/components/FontFamilies/index.js +13 -19
- package/dist/components/FontStyle/index.d.ts +1 -1
- package/dist/components/FontStyle/index.js +9 -10
- package/dist/components/FontdueProvider/index.js +6 -7
- package/dist/components/NewsletterSignup/index.js +19 -23
- package/dist/components/Precart/License.js +7 -8
- package/dist/components/Precart/index.js +11 -16
- package/dist/components/Price/index.js +27 -34
- package/dist/components/PriceBar/PriceBarSection.js +11 -14
- package/dist/components/PriceBar/index.js +2 -2
- package/dist/components/Root/index.js +2 -5
- package/dist/components/Root/productState.js +2 -3
- package/dist/components/SKUPrice/index.js +6 -7
- package/dist/components/Select/index.d.ts +3 -2
- package/dist/components/Select/index.js +20 -23
- package/dist/components/SelectButton/index.js +13 -15
- package/dist/components/SelectField/index.d.ts +13 -0
- package/dist/components/SelectField/index.js +24 -27
- package/dist/components/SpecimenLink/index.js +11 -14
- package/dist/components/StickyNav/index.js +13 -16
- package/dist/components/StoreModal/StoreModalBundleButton.js +6 -7
- package/dist/components/StoreModal/StoreModalCart.js +8 -10
- package/dist/components/StoreModal/StoreModalCheckout.js +4 -5
- package/dist/components/StoreModal/StoreModalContainer.js +3 -4
- package/dist/components/StoreModal/StoreModalDownload.js +4 -5
- package/dist/components/StoreModal/StoreModalFamily.js +7 -7
- package/dist/components/StoreModal/StoreModalFamilyButton.js +36 -16
- package/dist/components/StoreModal/StoreModalIndex.d.ts +2 -2
- package/dist/components/StoreModal/StoreModalIndex.js +8 -57
- package/dist/components/StoreModal/StoreModalIndexItem.d.ts +7 -0
- package/dist/components/StoreModal/StoreModalIndexItem.js +92 -0
- package/dist/components/StoreModal/StoreModalLoader.js +3 -4
- package/dist/components/StoreModal/StoreModalProduct.js +3 -4
- package/dist/components/StoreModal/StoreModalReview.js +11 -14
- package/dist/components/StoreModal/StoreModalReviewIdentity.js +3 -6
- package/dist/components/StoreModal/StoreModalStyleButton.d.ts +1 -0
- package/dist/components/StoreModal/StoreModalStyleButton.js +19 -10
- package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +12 -15
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +8 -9
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableElement.js +25 -31
- package/dist/components/StoreModalProductLicenseSelection/LicenseVariableRadioElement.js +10 -13
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +13 -22
- package/dist/components/StoreModalProductLicenseSelection/index.js +9 -12
- package/dist/components/StoreModalProductSummary/index.js +9 -11
- package/dist/components/StripeProvider/index.js +4 -5
- package/dist/components/Stylesheet/index.js +3 -4
- package/dist/components/TestFontsForm/TestFontsFormElement.d.ts +8 -0
- package/dist/components/TestFontsForm/TestFontsFormElement.js +21 -0
- package/dist/components/TestFontsForm/index.js +25 -32
- package/dist/components/TestModeBanner/index.js +7 -9
- package/dist/components/TextField/index.js +29 -32
- package/dist/components/ThemeConfig/index.js +7 -9
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +4 -5
- package/dist/components/TypeTester/TypeTesterBullet.js +4 -5
- package/dist/components/TypeTester/TypeTesterContent.js +8 -9
- package/dist/components/TypeTester/TypeTesterContext.d.ts +7 -0
- package/dist/components/TypeTester/TypeTesterContext.js +12 -7
- package/dist/components/TypeTester/TypeTesterFeatures.d.ts +2 -1
- package/dist/components/TypeTester/TypeTesterFeatures.js +20 -14
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +7 -9
- package/dist/components/TypeTester/TypeTesterFitter.js +4 -5
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +2 -1
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +8 -6
- package/dist/components/TypeTester/TypeTesterInput.js +6 -7
- package/dist/components/TypeTester/TypeTesterSlider.d.ts +1 -0
- package/dist/components/TypeTester/TypeTesterSlider.js +14 -17
- package/dist/components/TypeTester/TypeTesterStandalone.js +23 -23
- package/dist/components/TypeTester/TypeTesterStandaloneElement.js +9 -10
- package/dist/components/TypeTester/TypeTesterState.d.ts +4 -0
- package/dist/components/TypeTester/TypeTesterState.js +19 -6
- package/dist/components/TypeTester/TypeTesterStyleSelect.d.ts +9 -1
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +96 -42
- package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +8 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +52 -21
- package/dist/components/TypeTester/TypeTesterToolbar.d.ts +2 -1
- package/dist/components/TypeTester/TypeTesterToolbar.js +13 -11
- package/dist/components/TypeTester/TypeTesterVariableAxes.js +11 -13
- package/dist/components/TypeTester/index.d.ts +9 -6
- package/dist/components/TypeTester/index.js +58 -70
- package/dist/components/TypeTester/useFeaturesData.d.ts +6 -1
- package/dist/components/TypeTester/useFeaturesData.js +7 -11
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +3 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +29 -28
- package/dist/components/TypeTesters/TypeTestersElement.js +10 -13
- package/dist/components/TypeTesters/index.js +63 -55
- package/dist/components/VariableTableAmounts/index.js +4 -5
- package/dist/components/elements/Button/index.js +8 -11
- package/dist/components/elements/StoreModalCartLayout/index.js +26 -29
- package/dist/components/elements/StoreModalContainer/index.js +14 -15
- package/dist/components/elements/StoreModalDownloadLayout/index.js +14 -17
- package/dist/components/elements/StoreModalFamily/index.js +19 -22
- package/dist/components/elements/StoreModalFamilyButton/index.js +11 -12
- package/dist/components/elements/StoreModalIndexItem/index.js +8 -9
- package/dist/components/elements/StoreModalPageContainer/index.js +12 -15
- package/dist/components/elements/StoreModalReviewConfirm/index.js +8 -9
- package/dist/components/elements/StoreModalReviewItem/index.js +8 -11
- package/dist/components/elements/StoreModalReviewLayout/index.js +47 -50
- package/dist/components/elements/StoreModalStyleButton/index.js +9 -10
- package/dist/components/useFontStyle.js +5 -6
- package/dist/components/useTotalStyles.d.ts +9 -0
- package/dist/components/useTotalStyles.js +34 -0
- package/dist/utils.d.ts +14 -0
- package/dist/utils.js +33 -5
- package/dist/vanilla/FontStyle.js +8 -10
- package/fontdue.css +29 -3
- package/fontdue.css.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 1.10.0
|
|
2
|
+
|
|
3
|
+
- Added support for variable fonts across all components
|
|
4
|
+
- Fixed secure card authentication (3D Secure)
|
|
5
|
+
- Fixed an error in the Stripe payment element caused by special characters in font names
|
|
6
|
+
|
|
1
7
|
## 1.9.1
|
|
2
8
|
|
|
3
9
|
- Updates messaging after customer submits a purchase to indicate a receipt email
|
|
@@ -6,7 +6,7 @@ export declare type AddToCartBannerQueryResponse = {
|
|
|
6
6
|
readonly currentOrder: {
|
|
7
7
|
readonly " $fragmentRefs": FragmentRefs<"AddToCartBanner_order">;
|
|
8
8
|
} | null;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
10
|
};
|
|
11
11
|
export declare type AddToCartBannerQuery = {
|
|
12
12
|
readonly response: AddToCartBannerQueryResponse;
|
|
@@ -10,7 +10,7 @@ export declare type BuyButtonSlugQueryResponse = {
|
|
|
10
10
|
readonly " $fragmentRefs": FragmentRefs<"BuyButton_collection">;
|
|
11
11
|
} | null;
|
|
12
12
|
} | null;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
};
|
|
15
15
|
export declare type BuyButtonSlugQuery = {
|
|
16
16
|
readonly response: BuyButtonSlugQueryResponse;
|
|
@@ -16,6 +16,10 @@ export declare type CartItem_node = {
|
|
|
16
16
|
readonly cssUrl: string | null;
|
|
17
17
|
} | null;
|
|
18
18
|
readonly name?: string;
|
|
19
|
+
readonly variableInstances?: ReadonlyArray<{
|
|
20
|
+
readonly name: string;
|
|
21
|
+
}> | null;
|
|
22
|
+
readonly isVariableFont?: boolean;
|
|
19
23
|
readonly totalStyles?: number | null;
|
|
20
24
|
readonly featureStyle?: {
|
|
21
25
|
readonly family: {
|
|
@@ -45,7 +45,10 @@ const node = function () {
|
|
|
45
45
|
"name": "cssUrl",
|
|
46
46
|
"storageKey": null
|
|
47
47
|
},
|
|
48
|
-
v4 =
|
|
48
|
+
v4 = [v2
|
|
49
|
+
/*: any*/
|
|
50
|
+
],
|
|
51
|
+
v5 = {
|
|
49
52
|
"alias": null,
|
|
50
53
|
"args": null,
|
|
51
54
|
"kind": "ScalarField",
|
|
@@ -108,14 +111,25 @@ const node = function () {
|
|
|
108
111
|
"storageKey": null
|
|
109
112
|
}, v2
|
|
110
113
|
/*: any*/
|
|
111
|
-
|
|
114
|
+
, {
|
|
115
|
+
"alias": null,
|
|
116
|
+
"args": null,
|
|
117
|
+
"concreteType": "VariableInstance",
|
|
118
|
+
"kind": "LinkedField",
|
|
119
|
+
"name": "variableInstances",
|
|
120
|
+
"plural": true,
|
|
121
|
+
"selections": v4
|
|
122
|
+
/*: any*/
|
|
123
|
+
,
|
|
124
|
+
"storageKey": null
|
|
125
|
+
}],
|
|
112
126
|
"type": "FontStyle",
|
|
113
127
|
"abstractKey": null
|
|
114
128
|
}, {
|
|
115
129
|
"kind": "InlineFragment",
|
|
116
|
-
"selections":
|
|
130
|
+
"selections": v4
|
|
117
131
|
/*: any*/
|
|
118
|
-
|
|
132
|
+
,
|
|
119
133
|
"type": "Bundle",
|
|
120
134
|
"abstractKey": null
|
|
121
135
|
}, {
|
|
@@ -123,6 +137,12 @@ const node = function () {
|
|
|
123
137
|
"selections": [v2
|
|
124
138
|
/*: any*/
|
|
125
139
|
, {
|
|
140
|
+
"alias": null,
|
|
141
|
+
"args": null,
|
|
142
|
+
"kind": "ScalarField",
|
|
143
|
+
"name": "isVariableFont",
|
|
144
|
+
"storageKey": null
|
|
145
|
+
}, {
|
|
126
146
|
"alias": null,
|
|
127
147
|
"args": null,
|
|
128
148
|
"kind": "ScalarField",
|
|
@@ -175,7 +195,7 @@ const node = function () {
|
|
|
175
195
|
/*: any*/
|
|
176
196
|
, v2
|
|
177
197
|
/*: any*/
|
|
178
|
-
,
|
|
198
|
+
, v5
|
|
179
199
|
/*: any*/
|
|
180
200
|
],
|
|
181
201
|
"storageKey": null
|
|
@@ -215,7 +235,7 @@ const node = function () {
|
|
|
215
235
|
"kind": "ScalarField",
|
|
216
236
|
"name": "amount",
|
|
217
237
|
"storageKey": null
|
|
218
|
-
},
|
|
238
|
+
}, v5
|
|
219
239
|
/*: any*/
|
|
220
240
|
, v2
|
|
221
241
|
/*: any*/
|
|
@@ -7,6 +7,10 @@ export declare type CartItem_product = {
|
|
|
7
7
|
readonly cssUrl: string | null;
|
|
8
8
|
} | null;
|
|
9
9
|
readonly name?: string;
|
|
10
|
+
readonly variableInstances?: ReadonlyArray<{
|
|
11
|
+
readonly name: string;
|
|
12
|
+
}> | null;
|
|
13
|
+
readonly isVariableFont?: boolean;
|
|
10
14
|
readonly totalStyles?: number | null;
|
|
11
15
|
readonly featureStyle?: {
|
|
12
16
|
readonly family: {
|
|
@@ -23,7 +23,10 @@ const node = function () {
|
|
|
23
23
|
"kind": "ScalarField",
|
|
24
24
|
"name": "cssUrl",
|
|
25
25
|
"storageKey": null
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
v2 = [v0
|
|
28
|
+
/*: any*/
|
|
29
|
+
];
|
|
27
30
|
return {
|
|
28
31
|
"argumentDefinitions": [],
|
|
29
32
|
"kind": "Fragment",
|
|
@@ -62,14 +65,25 @@ const node = function () {
|
|
|
62
65
|
"storageKey": null
|
|
63
66
|
}, v0
|
|
64
67
|
/*: any*/
|
|
65
|
-
|
|
68
|
+
, {
|
|
69
|
+
"alias": null,
|
|
70
|
+
"args": null,
|
|
71
|
+
"concreteType": "VariableInstance",
|
|
72
|
+
"kind": "LinkedField",
|
|
73
|
+
"name": "variableInstances",
|
|
74
|
+
"plural": true,
|
|
75
|
+
"selections": v2
|
|
76
|
+
/*: any*/
|
|
77
|
+
,
|
|
78
|
+
"storageKey": null
|
|
79
|
+
}],
|
|
66
80
|
"type": "FontStyle",
|
|
67
81
|
"abstractKey": null
|
|
68
82
|
}, {
|
|
69
83
|
"kind": "InlineFragment",
|
|
70
|
-
"selections":
|
|
84
|
+
"selections": v2
|
|
71
85
|
/*: any*/
|
|
72
|
-
|
|
86
|
+
,
|
|
73
87
|
"type": "Bundle",
|
|
74
88
|
"abstractKey": null
|
|
75
89
|
}, {
|
|
@@ -77,6 +91,12 @@ const node = function () {
|
|
|
77
91
|
"selections": [v0
|
|
78
92
|
/*: any*/
|
|
79
93
|
, {
|
|
94
|
+
"alias": null,
|
|
95
|
+
"args": null,
|
|
96
|
+
"kind": "ScalarField",
|
|
97
|
+
"name": "isVariableFont",
|
|
98
|
+
"storageKey": null
|
|
99
|
+
}, {
|
|
80
100
|
"alias": null,
|
|
81
101
|
"args": null,
|
|
82
102
|
"kind": "ScalarField",
|
|
@@ -111,6 +131,6 @@ const node = function () {
|
|
|
111
131
|
};
|
|
112
132
|
}();
|
|
113
133
|
|
|
114
|
-
node.hash = '
|
|
134
|
+
node.hash = '228788dc0026bbd807c5e299620953c0';
|
|
115
135
|
var _default = node;
|
|
116
136
|
exports.default = _default;
|
|
@@ -43,12 +43,16 @@ fragment CartItem_node on OrderItem {
|
|
|
43
43
|
id
|
|
44
44
|
}
|
|
45
45
|
name
|
|
46
|
+
variableInstances {
|
|
47
|
+
name
|
|
48
|
+
}
|
|
46
49
|
}
|
|
47
50
|
... on Bundle {
|
|
48
51
|
name
|
|
49
52
|
}
|
|
50
53
|
... on FontCollection {
|
|
51
54
|
name
|
|
55
|
+
isVariableFont
|
|
52
56
|
totalStyles
|
|
53
57
|
featureStyle {
|
|
54
58
|
family {
|
|
@@ -789,6 +793,12 @@ const node = function () {
|
|
|
789
793
|
}, v2
|
|
790
794
|
/*: any*/
|
|
791
795
|
, {
|
|
796
|
+
"alias": null,
|
|
797
|
+
"args": null,
|
|
798
|
+
"kind": "ScalarField",
|
|
799
|
+
"name": "isVariableFont",
|
|
800
|
+
"storageKey": null
|
|
801
|
+
}, {
|
|
792
802
|
"alias": null,
|
|
793
803
|
"args": null,
|
|
794
804
|
"kind": "ScalarField",
|
|
@@ -827,6 +837,17 @@ const node = function () {
|
|
|
827
837
|
/*: any*/
|
|
828
838
|
],
|
|
829
839
|
"storageKey": null
|
|
840
|
+
}, {
|
|
841
|
+
"alias": null,
|
|
842
|
+
"args": null,
|
|
843
|
+
"concreteType": "VariableInstance",
|
|
844
|
+
"kind": "LinkedField",
|
|
845
|
+
"name": "variableInstances",
|
|
846
|
+
"plural": true,
|
|
847
|
+
"selections": [v2
|
|
848
|
+
/*: any*/
|
|
849
|
+
],
|
|
850
|
+
"storageKey": null
|
|
830
851
|
}],
|
|
831
852
|
"type": "FontStyle",
|
|
832
853
|
"abstractKey": null
|
|
@@ -1001,12 +1022,12 @@ const node = function () {
|
|
|
1001
1022
|
}]
|
|
1002
1023
|
},
|
|
1003
1024
|
"params": {
|
|
1004
|
-
"cacheID": "
|
|
1025
|
+
"cacheID": "50667701ccc409669eed029eb3e92c84",
|
|
1005
1026
|
"id": null,
|
|
1006
1027
|
"metadata": {},
|
|
1007
1028
|
"name": "CartOrderApplyCouponMutation",
|
|
1008
1029
|
"operationKind": "mutation",
|
|
1009
|
-
"text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1030
|
+
"text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1010
1031
|
}
|
|
1011
1032
|
};
|
|
1012
1033
|
}();
|
|
@@ -42,12 +42,16 @@ fragment CartItem_node on OrderItem {
|
|
|
42
42
|
id
|
|
43
43
|
}
|
|
44
44
|
name
|
|
45
|
+
variableInstances {
|
|
46
|
+
name
|
|
47
|
+
}
|
|
45
48
|
}
|
|
46
49
|
... on Bundle {
|
|
47
50
|
name
|
|
48
51
|
}
|
|
49
52
|
... on FontCollection {
|
|
50
53
|
name
|
|
54
|
+
isVariableFont
|
|
51
55
|
totalStyles
|
|
52
56
|
featureStyle {
|
|
53
57
|
family {
|
|
@@ -779,6 +783,12 @@ const node = function () {
|
|
|
779
783
|
}, v1
|
|
780
784
|
/*: any*/
|
|
781
785
|
, {
|
|
786
|
+
"alias": null,
|
|
787
|
+
"args": null,
|
|
788
|
+
"kind": "ScalarField",
|
|
789
|
+
"name": "isVariableFont",
|
|
790
|
+
"storageKey": null
|
|
791
|
+
}, {
|
|
782
792
|
"alias": null,
|
|
783
793
|
"args": null,
|
|
784
794
|
"kind": "ScalarField",
|
|
@@ -817,6 +827,17 @@ const node = function () {
|
|
|
817
827
|
/*: any*/
|
|
818
828
|
],
|
|
819
829
|
"storageKey": null
|
|
830
|
+
}, {
|
|
831
|
+
"alias": null,
|
|
832
|
+
"args": null,
|
|
833
|
+
"concreteType": "VariableInstance",
|
|
834
|
+
"kind": "LinkedField",
|
|
835
|
+
"name": "variableInstances",
|
|
836
|
+
"plural": true,
|
|
837
|
+
"selections": [v1
|
|
838
|
+
/*: any*/
|
|
839
|
+
],
|
|
840
|
+
"storageKey": null
|
|
820
841
|
}],
|
|
821
842
|
"type": "FontStyle",
|
|
822
843
|
"abstractKey": null
|
|
@@ -993,12 +1014,12 @@ const node = function () {
|
|
|
993
1014
|
}]
|
|
994
1015
|
},
|
|
995
1016
|
"params": {
|
|
996
|
-
"cacheID": "
|
|
1017
|
+
"cacheID": "9a2cd3251549f504aa5c9980fa66066a",
|
|
997
1018
|
"id": null,
|
|
998
1019
|
"metadata": {},
|
|
999
1020
|
"name": "CartOrderCompleteOrderMutation",
|
|
1000
1021
|
"operationKind": "mutation",
|
|
1001
|
-
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1022
|
+
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1002
1023
|
}
|
|
1003
1024
|
};
|
|
1004
1025
|
}();
|
|
@@ -41,12 +41,16 @@ fragment CartItem_node on OrderItem {
|
|
|
41
41
|
id
|
|
42
42
|
}
|
|
43
43
|
name
|
|
44
|
+
variableInstances {
|
|
45
|
+
name
|
|
46
|
+
}
|
|
44
47
|
}
|
|
45
48
|
... on Bundle {
|
|
46
49
|
name
|
|
47
50
|
}
|
|
48
51
|
... on FontCollection {
|
|
49
52
|
name
|
|
53
|
+
isVariableFont
|
|
50
54
|
totalStyles
|
|
51
55
|
featureStyle {
|
|
52
56
|
family {
|
|
@@ -769,6 +773,12 @@ const node = function () {
|
|
|
769
773
|
}, v0
|
|
770
774
|
/*: any*/
|
|
771
775
|
, {
|
|
776
|
+
"alias": null,
|
|
777
|
+
"args": null,
|
|
778
|
+
"kind": "ScalarField",
|
|
779
|
+
"name": "isVariableFont",
|
|
780
|
+
"storageKey": null
|
|
781
|
+
}, {
|
|
772
782
|
"alias": null,
|
|
773
783
|
"args": null,
|
|
774
784
|
"kind": "ScalarField",
|
|
@@ -807,6 +817,17 @@ const node = function () {
|
|
|
807
817
|
/*: any*/
|
|
808
818
|
],
|
|
809
819
|
"storageKey": null
|
|
820
|
+
}, {
|
|
821
|
+
"alias": null,
|
|
822
|
+
"args": null,
|
|
823
|
+
"concreteType": "VariableInstance",
|
|
824
|
+
"kind": "LinkedField",
|
|
825
|
+
"name": "variableInstances",
|
|
826
|
+
"plural": true,
|
|
827
|
+
"selections": [v0
|
|
828
|
+
/*: any*/
|
|
829
|
+
],
|
|
830
|
+
"storageKey": null
|
|
810
831
|
}],
|
|
811
832
|
"type": "FontStyle",
|
|
812
833
|
"abstractKey": null
|
|
@@ -981,12 +1002,12 @@ const node = function () {
|
|
|
981
1002
|
}]
|
|
982
1003
|
},
|
|
983
1004
|
"params": {
|
|
984
|
-
"cacheID": "
|
|
1005
|
+
"cacheID": "0965ba4450a087554b46a13da027b958",
|
|
985
1006
|
"id": null,
|
|
986
1007
|
"metadata": {},
|
|
987
1008
|
"name": "CartOrderRemoveDiscountMutation",
|
|
988
1009
|
"operationKind": "mutation",
|
|
989
|
-
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1010
|
+
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
990
1011
|
}
|
|
991
1012
|
};
|
|
992
1013
|
}();
|
|
@@ -48,12 +48,16 @@ fragment CartItem_node on OrderItem {
|
|
|
48
48
|
id
|
|
49
49
|
}
|
|
50
50
|
name
|
|
51
|
+
variableInstances {
|
|
52
|
+
name
|
|
53
|
+
}
|
|
51
54
|
}
|
|
52
55
|
... on Bundle {
|
|
53
56
|
name
|
|
54
57
|
}
|
|
55
58
|
... on FontCollection {
|
|
56
59
|
name
|
|
60
|
+
isVariableFont
|
|
57
61
|
totalStyles
|
|
58
62
|
featureStyle {
|
|
59
63
|
family {
|
|
@@ -821,6 +825,12 @@ const node = function () {
|
|
|
821
825
|
}, v3
|
|
822
826
|
/*: any*/
|
|
823
827
|
, {
|
|
828
|
+
"alias": null,
|
|
829
|
+
"args": null,
|
|
830
|
+
"kind": "ScalarField",
|
|
831
|
+
"name": "isVariableFont",
|
|
832
|
+
"storageKey": null
|
|
833
|
+
}, {
|
|
824
834
|
"alias": null,
|
|
825
835
|
"args": null,
|
|
826
836
|
"kind": "ScalarField",
|
|
@@ -859,6 +869,17 @@ const node = function () {
|
|
|
859
869
|
/*: any*/
|
|
860
870
|
],
|
|
861
871
|
"storageKey": null
|
|
872
|
+
}, {
|
|
873
|
+
"alias": null,
|
|
874
|
+
"args": null,
|
|
875
|
+
"concreteType": "VariableInstance",
|
|
876
|
+
"kind": "LinkedField",
|
|
877
|
+
"name": "variableInstances",
|
|
878
|
+
"plural": true,
|
|
879
|
+
"selections": [v3
|
|
880
|
+
/*: any*/
|
|
881
|
+
],
|
|
882
|
+
"storageKey": null
|
|
862
883
|
}],
|
|
863
884
|
"type": "FontStyle",
|
|
864
885
|
"abstractKey": null
|
|
@@ -1035,12 +1056,12 @@ const node = function () {
|
|
|
1035
1056
|
}]
|
|
1036
1057
|
},
|
|
1037
1058
|
"params": {
|
|
1038
|
-
"cacheID": "
|
|
1059
|
+
"cacheID": "7eb965ae3059f311c71e2998b26a59b9",
|
|
1039
1060
|
"id": null,
|
|
1040
1061
|
"metadata": {},
|
|
1041
1062
|
"name": "CartOrderUpdateMutation",
|
|
1042
1063
|
"operationKind": "mutation",
|
|
1043
|
-
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1064
|
+
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\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 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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\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 families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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"
|
|
1044
1065
|
}
|
|
1045
1066
|
};
|
|
1046
1067
|
}();
|
|
@@ -46,12 +46,16 @@ fragment CartItem_node on OrderItem {
|
|
|
46
46
|
id
|
|
47
47
|
}
|
|
48
48
|
name
|
|
49
|
+
variableInstances {
|
|
50
|
+
name
|
|
51
|
+
}
|
|
49
52
|
}
|
|
50
53
|
... on Bundle {
|
|
51
54
|
name
|
|
52
55
|
}
|
|
53
56
|
... on FontCollection {
|
|
54
57
|
name
|
|
58
|
+
isVariableFont
|
|
55
59
|
totalStyles
|
|
56
60
|
featureStyle {
|
|
57
61
|
family {
|
|
@@ -950,6 +954,12 @@ const node = function () {
|
|
|
950
954
|
}, v1
|
|
951
955
|
/*: any*/
|
|
952
956
|
, {
|
|
957
|
+
"alias": null,
|
|
958
|
+
"args": null,
|
|
959
|
+
"kind": "ScalarField",
|
|
960
|
+
"name": "isVariableFont",
|
|
961
|
+
"storageKey": null
|
|
962
|
+
}, {
|
|
953
963
|
"alias": null,
|
|
954
964
|
"args": null,
|
|
955
965
|
"kind": "ScalarField",
|
|
@@ -988,6 +998,17 @@ const node = function () {
|
|
|
988
998
|
/*: any*/
|
|
989
999
|
],
|
|
990
1000
|
"storageKey": null
|
|
1001
|
+
}, {
|
|
1002
|
+
"alias": null,
|
|
1003
|
+
"args": null,
|
|
1004
|
+
"concreteType": "VariableInstance",
|
|
1005
|
+
"kind": "LinkedField",
|
|
1006
|
+
"name": "variableInstances",
|
|
1007
|
+
"plural": true,
|
|
1008
|
+
"selections": [v1
|
|
1009
|
+
/*: any*/
|
|
1010
|
+
],
|
|
1011
|
+
"storageKey": null
|
|
991
1012
|
}],
|
|
992
1013
|
"type": "FontStyle",
|
|
993
1014
|
"abstractKey": null
|
|
@@ -1164,12 +1185,12 @@ const node = function () {
|
|
|
1164
1185
|
}]
|
|
1165
1186
|
},
|
|
1166
1187
|
"params": {
|
|
1167
|
-
"cacheID": "
|
|
1188
|
+
"cacheID": "81f634a49e3f7208739e4dd16d45d9c2",
|
|
1168
1189
|
"id": null,
|
|
1169
1190
|
"metadata": {},
|
|
1170
1191
|
"name": "CartQuery",
|
|
1171
1192
|
"operationKind": "query",
|
|
1172
|
-
"text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1193
|
+
"text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\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 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 clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\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 phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\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 StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1173
1194
|
}
|
|
1174
1195
|
};
|
|
1175
1196
|
}();
|