fontdue-js 2.20.1 → 2.22.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 +11 -0
- package/dist/components/CharacterViewer/index.js +5 -4
- package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +4 -3
- package/dist/components/FontdueProvider/useAuxUIOwner.d.ts +1 -0
- package/dist/components/FontdueProvider/useAuxUIOwner.js +28 -0
- package/dist/components/Root/index.js +20 -19
- package/dist/components/TypeTester/TypeTesterFeatures.js +2 -1
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +5 -3
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -2
- package/dist/components/TypeTester/TypeTesterStandalone.js +2 -1
- package/dist/components/TypeTester/TypeTesterStandalone.preload.d.ts +14 -0
- package/dist/components/TypeTester/TypeTesterStandalone.preload.js +19 -0
- package/dist/components/TypeTester/types.d.ts +2 -0
- package/dist/components/TypeTester/types.js +10 -1
- package/dist/components/TypeTesters/TypeTestersElement.d.ts +2 -1
- package/dist/components/TypeTesters/TypeTestersElement.js +3 -1
- package/dist/components/TypeTesters/index.d.ts +2 -0
- package/dist/components/TypeTesters/index.js +5 -2
- package/dist/config.d.ts +6 -0
- package/dist/config.js +20 -0
- package/dist/corsError.js +42 -7
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/retryImport.d.ts +13 -0
- package/dist/retryImport.js +26 -0
- package/dist-bundle/FontdueProvider.js +6 -0
- package/dist-bundle/FontdueProvider.js.map +1 -0
- package/dist-bundle/TypeTester.js +7 -0
- package/dist-bundle/TypeTester.js.map +1 -0
- package/dist-bundle/TypeTester.preload.js +75 -0
- package/dist-bundle/TypeTester.preload.js.map +1 -0
- package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js +20843 -0
- package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js.map +1 -0
- package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js +95 -0
- package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js.map +1 -0
- package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js +27486 -0
- package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js.map +1 -0
- package/dist-bundle/chunks/consent-DMvR5rEh.js +84 -0
- package/dist-bundle/chunks/consent-DMvR5rEh.js.map +1 -0
- package/dist-bundle/chunks/index-BNSbxp7B.js +78 -0
- package/dist-bundle/chunks/index-BNSbxp7B.js.map +1 -0
- package/dist-bundle/chunks/index-C4ak9qTL.js +423 -0
- package/dist-bundle/chunks/index-C4ak9qTL.js.map +1 -0
- package/dist-bundle/chunks/index-DsvF5W13.js +159 -0
- package/dist-bundle/chunks/index-DsvF5W13.js.map +1 -0
- package/dist-bundle/chunks/index-o29NNufd.js +131 -0
- package/dist-bundle/chunks/index-o29NNufd.js.map +1 -0
- package/dist-bundle/index.js +23 -0
- package/dist-bundle/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/__generated__/CartItem_license.graphql.d.ts +0 -27
- package/dist/__generated__/CartItem_license.graphql.js +0 -76
- package/dist/__generated__/CartItem_licenseSelection.graphql.d.ts +0 -34
- package/dist/__generated__/CartItem_licenseSelection.graphql.js +0 -106
- package/dist/__generated__/CartItem_product.graphql.d.ts +0 -32
- package/dist/__generated__/CartItem_product.graphql.js +0 -124
- package/dist/__generated__/CartItem_variable.graphql.d.ts +0 -23
- package/dist/__generated__/CartItem_variable.graphql.js +0 -67
- package/dist/__generated__/CartItem_viewer.graphql.d.ts +0 -30
- package/dist/__generated__/CartItem_viewer.graphql.js +0 -87
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.d.ts +0 -21
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +0 -919
- package/dist/__generated__/CartStateApplyCouponMutation.graphql.d.ts +0 -21
- package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +0 -274
- package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.d.ts +0 -22
- package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.js +0 -84
- package/dist/__generated__/Cart_viewer.graphql.d.ts +0 -20
- package/dist/__generated__/Cart_viewer.graphql.js +0 -49
- package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +0 -21
- package/dist/__generated__/CharacterViewer_Query.graphql.js +0 -230
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +0 -25
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +0 -257
- package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.d.ts +0 -17
- package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.js +0 -201
- package/dist/__generated__/CouponCodeInput_order.graphql.d.ts +0 -13
- package/dist/__generated__/CouponCodeInput_order.graphql.js +0 -28
- package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +0 -25
- package/dist/__generated__/CouponCodeInput_viewer.graphql.js +0 -88
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +0 -22
- package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +0 -178
- package/dist/__generated__/Family_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/FontFamilies_node.graphql.d.ts +0 -20
- package/dist/__generated__/FontFamilies_node.graphql.js +0 -49
- package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +0 -21
- package/dist/__generated__/NewsletterSignup_Query.graphql.js +0 -99
- package/dist/__generated__/NewsletterSignup_viewer.graphql.d.ts +0 -20
- package/dist/__generated__/NewsletterSignup_viewer.graphql.js +0 -56
- package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +0 -69
- package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +0 -30
- package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.d.ts +0 -26
- package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.js +0 -168
- package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/PriceBar_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +0 -31
- package/dist/__generated__/SKUPriceRefetchQuery.graphql.js +0 -130
- package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +0 -29
- package/dist/__generated__/SKUPrice_RefetchQuery.graphql.d.ts +0 -26
- package/dist/__generated__/SKUPrice_RefetchQuery.graphql.js +0 -129
- package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +0 -19
- package/dist/__generated__/SelectButton_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/SpecimenLink_node.graphql.d.ts +0 -21
- package/dist/__generated__/SpecimenLink_node.graphql.js +0 -55
- package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +0 -26
- package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +0 -60
- package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +0 -26
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +0 -27
- package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +0 -24
- package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +0 -30
- package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.d.ts +0 -20
- package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.js +0 -51
- package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +0 -31
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +0 -25
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +0 -442
- package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +0 -22
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +0 -491
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +0 -63
- package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.js +0 -445
- package/dist/__generated__/StoreModalReview_order.graphql.d.ts +0 -59
- package/dist/__generated__/StoreModalReview_order.graphql.js +0 -244
- package/dist/__generated__/StoreModalReview_viewer.graphql.d.ts +0 -19
- package/dist/__generated__/StoreModalReview_viewer.graphql.js +0 -47
- package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +0 -17
- package/dist/__generated__/TestFontsForm_viewer.graphql.d.ts +0 -29
- package/dist/__generated__/TestFontsForm_viewer.graphql.js +0 -101
- package/dist/__generated__/TestModeBanner_viewer.graphql.d.ts +0 -23
- package/dist/__generated__/TestModeBanner_viewer.graphql.js +0 -64
- package/dist/__generated__/ThemeConfig_viewer.graphql.d.ts +0 -19
- package/dist/__generated__/ThemeConfig_viewer.graphql.js +0 -43
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +0 -32
- package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +0 -385
- package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +0 -33
- package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +0 -27
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +0 -41
- package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +0 -344
- package/dist/__generated__/TypeTester_sku.graphql.d.ts +0 -21
- package/dist/__generated__/TypeTester_sku.graphql.js +0 -57
- package/dist/__generated__/useOrderVariables_order.graphql.d.ts +0 -24
- package/dist/__tests__/collectionBundleSelection.test.d.ts +0 -1
- package/dist/components/BuyButton/BuyButton.server.d.ts +0 -3
- package/dist/components/BuyButton/BuyButton.server.js +0 -39
- package/dist/components/CartButton/index-server.d.ts +0 -3
- package/dist/components/CartButton/index-server.js +0 -18
- package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +0 -7
- package/dist/components/SelectField/index.d.ts +0 -13
- package/dist/components/SelectField/index.js +0 -49
- package/dist/components/StoreModal/StoreModalReview.d.ts +0 -6
- package/dist/components/StoreModal/StoreModalReview.js +0 -221
- package/dist/components/StoreModal/StoreModalRouterContext.d.ts +0 -7
- package/dist/components/StoreModal/StoreModalRouterContext.js +0 -11
- package/dist/components/StoreModal/createRouter.d.ts +0 -41
- package/dist/components/StoreModal/createRouter.js +0 -48
- package/dist/components/StoreModalProductLicenseSelection/ContainerElement.d.ts +0 -9
- package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +0 -25
- package/dist/components/Stylesheet/index.d.ts +0 -7
- package/dist/components/Stylesheet/index.js +0 -43
- package/dist/components/TestModeBanner/index.server.d.ts +0 -2
- package/dist/components/TestModeBanner/index.server.js +0 -17
- package/dist/components/elements/StoreModalReviewConfirm/index.d.ts +0 -12
- package/dist/components/elements/StoreModalReviewConfirm/index.js +0 -50
- package/dist/components/elements/StoreModalReviewItem/index.d.ts +0 -9
- package/dist/components/elements/StoreModalReviewItem/index.js +0 -21
- package/dist/components/elements/StoreModalReviewLayout/index.d.ts +0 -17
- package/dist/components/elements/StoreModalReviewLayout/index.js +0 -59
- package/dist/components/useFontLoaded.d.ts +0 -24
- package/dist/components/useFontLoaded.js +0 -60
- package/dist/deepMerge.d.ts +0 -4
- package/dist/deepMerge.js +0 -24
- package/dist/hooks/useOrderVariables.d.ts +0 -5
- package/dist/relay-environment.d.ts +0 -7
- package/dist/relay-environment.js +0 -34
- package/dist/utils/interpolateOrderVariableDescription.d.ts +0 -36
- package/dist/utils/interpolateOrderVariableDescription.test.d.ts +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ConcreteRequest } from "relay-runtime";
|
|
2
|
-
import { FragmentRefs } from "relay-runtime";
|
|
3
|
-
export declare type ApplyCouponInput = {
|
|
4
|
-
code?: string | null;
|
|
5
|
-
};
|
|
6
|
-
export declare type CartStateApplyCouponMutationVariables = {
|
|
7
|
-
input: ApplyCouponInput;
|
|
8
|
-
};
|
|
9
|
-
export declare type CartStateApplyCouponMutationResponse = {
|
|
10
|
-
readonly applyCoupon: {
|
|
11
|
-
readonly order: {
|
|
12
|
-
readonly " $fragmentRefs": FragmentRefs<"CouponCodeInput_order" | "CartTotals_order">;
|
|
13
|
-
} | null;
|
|
14
|
-
} | null;
|
|
15
|
-
};
|
|
16
|
-
export declare type CartStateApplyCouponMutation = {
|
|
17
|
-
readonly response: CartStateApplyCouponMutationResponse;
|
|
18
|
-
readonly variables: CartStateApplyCouponMutationVariables;
|
|
19
|
-
};
|
|
20
|
-
declare const node: ConcreteRequest;
|
|
21
|
-
export default node;
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/* tslint:disable */
|
|
8
|
-
/* eslint-disable */
|
|
9
|
-
// @ts-nocheck
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
mutation CartStateApplyCouponMutation(
|
|
13
|
-
$input: ApplyCouponInput!
|
|
14
|
-
) {
|
|
15
|
-
applyCoupon(input: $input) {
|
|
16
|
-
order {
|
|
17
|
-
...CouponCodeInput_order
|
|
18
|
-
...CartTotals_order
|
|
19
|
-
id
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
fragment CartTotals_order on Order {
|
|
25
|
-
subtotal {
|
|
26
|
-
...Price_price
|
|
27
|
-
}
|
|
28
|
-
discount {
|
|
29
|
-
amount {
|
|
30
|
-
amount
|
|
31
|
-
...Price_price
|
|
32
|
-
}
|
|
33
|
-
coupon {
|
|
34
|
-
...CouponText_coupon
|
|
35
|
-
id
|
|
36
|
-
}
|
|
37
|
-
id
|
|
38
|
-
}
|
|
39
|
-
discountedSubtotal {
|
|
40
|
-
...Price_price
|
|
41
|
-
}
|
|
42
|
-
total {
|
|
43
|
-
amount
|
|
44
|
-
...Price_price
|
|
45
|
-
}
|
|
46
|
-
taxes {
|
|
47
|
-
...Price_price
|
|
48
|
-
}
|
|
49
|
-
taxName
|
|
50
|
-
gstIncluded
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
fragment CouponCodeInput_order on Order {
|
|
54
|
-
id
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
fragment CouponText_coupon on Coupon {
|
|
58
|
-
type
|
|
59
|
-
percentAmount
|
|
60
|
-
creditAmountRemaining {
|
|
61
|
-
amount
|
|
62
|
-
currency
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
fragment Price_price on Money {
|
|
67
|
-
amount
|
|
68
|
-
currency
|
|
69
|
-
}
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
|
-
const node = function () {
|
|
73
|
-
var v0 = [{
|
|
74
|
-
"defaultValue": null,
|
|
75
|
-
"kind": "LocalArgument",
|
|
76
|
-
"name": "input"
|
|
77
|
-
}],
|
|
78
|
-
v1 = [{
|
|
79
|
-
"kind": "Variable",
|
|
80
|
-
"name": "input",
|
|
81
|
-
"variableName": "input"
|
|
82
|
-
}],
|
|
83
|
-
v2 = {
|
|
84
|
-
"alias": null,
|
|
85
|
-
"args": null,
|
|
86
|
-
"kind": "ScalarField",
|
|
87
|
-
"name": "id",
|
|
88
|
-
"storageKey": null
|
|
89
|
-
},
|
|
90
|
-
v3 = [{
|
|
91
|
-
"alias": null,
|
|
92
|
-
"args": null,
|
|
93
|
-
"kind": "ScalarField",
|
|
94
|
-
"name": "amount",
|
|
95
|
-
"storageKey": null
|
|
96
|
-
}, {
|
|
97
|
-
"alias": null,
|
|
98
|
-
"args": null,
|
|
99
|
-
"kind": "ScalarField",
|
|
100
|
-
"name": "currency",
|
|
101
|
-
"storageKey": null
|
|
102
|
-
}];
|
|
103
|
-
return {
|
|
104
|
-
"fragment": {
|
|
105
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
106
|
-
"kind": "Fragment",
|
|
107
|
-
"metadata": null,
|
|
108
|
-
"name": "CartStateApplyCouponMutation",
|
|
109
|
-
"selections": [{
|
|
110
|
-
"alias": null,
|
|
111
|
-
"args": v1 /*: any*/,
|
|
112
|
-
"concreteType": "ApplyCouponPayload",
|
|
113
|
-
"kind": "LinkedField",
|
|
114
|
-
"name": "applyCoupon",
|
|
115
|
-
"plural": false,
|
|
116
|
-
"selections": [{
|
|
117
|
-
"alias": null,
|
|
118
|
-
"args": null,
|
|
119
|
-
"concreteType": "Order",
|
|
120
|
-
"kind": "LinkedField",
|
|
121
|
-
"name": "order",
|
|
122
|
-
"plural": false,
|
|
123
|
-
"selections": [{
|
|
124
|
-
"args": null,
|
|
125
|
-
"kind": "FragmentSpread",
|
|
126
|
-
"name": "CouponCodeInput_order"
|
|
127
|
-
}, {
|
|
128
|
-
"args": null,
|
|
129
|
-
"kind": "FragmentSpread",
|
|
130
|
-
"name": "CartTotals_order"
|
|
131
|
-
}],
|
|
132
|
-
"storageKey": null
|
|
133
|
-
}],
|
|
134
|
-
"storageKey": null
|
|
135
|
-
}],
|
|
136
|
-
"type": "RootMutationType",
|
|
137
|
-
"abstractKey": null
|
|
138
|
-
},
|
|
139
|
-
"kind": "Request",
|
|
140
|
-
"operation": {
|
|
141
|
-
"argumentDefinitions": v0 /*: any*/,
|
|
142
|
-
"kind": "Operation",
|
|
143
|
-
"name": "CartStateApplyCouponMutation",
|
|
144
|
-
"selections": [{
|
|
145
|
-
"alias": null,
|
|
146
|
-
"args": v1 /*: any*/,
|
|
147
|
-
"concreteType": "ApplyCouponPayload",
|
|
148
|
-
"kind": "LinkedField",
|
|
149
|
-
"name": "applyCoupon",
|
|
150
|
-
"plural": false,
|
|
151
|
-
"selections": [{
|
|
152
|
-
"alias": null,
|
|
153
|
-
"args": null,
|
|
154
|
-
"concreteType": "Order",
|
|
155
|
-
"kind": "LinkedField",
|
|
156
|
-
"name": "order",
|
|
157
|
-
"plural": false,
|
|
158
|
-
"selections": [v2 /*: any*/, {
|
|
159
|
-
"alias": null,
|
|
160
|
-
"args": null,
|
|
161
|
-
"concreteType": "Money",
|
|
162
|
-
"kind": "LinkedField",
|
|
163
|
-
"name": "subtotal",
|
|
164
|
-
"plural": false,
|
|
165
|
-
"selections": v3 /*: any*/,
|
|
166
|
-
"storageKey": null
|
|
167
|
-
}, {
|
|
168
|
-
"alias": null,
|
|
169
|
-
"args": null,
|
|
170
|
-
"concreteType": "Discount",
|
|
171
|
-
"kind": "LinkedField",
|
|
172
|
-
"name": "discount",
|
|
173
|
-
"plural": false,
|
|
174
|
-
"selections": [{
|
|
175
|
-
"alias": null,
|
|
176
|
-
"args": null,
|
|
177
|
-
"concreteType": "Money",
|
|
178
|
-
"kind": "LinkedField",
|
|
179
|
-
"name": "amount",
|
|
180
|
-
"plural": false,
|
|
181
|
-
"selections": v3 /*: any*/,
|
|
182
|
-
"storageKey": null
|
|
183
|
-
}, {
|
|
184
|
-
"alias": null,
|
|
185
|
-
"args": null,
|
|
186
|
-
"concreteType": "Coupon",
|
|
187
|
-
"kind": "LinkedField",
|
|
188
|
-
"name": "coupon",
|
|
189
|
-
"plural": false,
|
|
190
|
-
"selections": [{
|
|
191
|
-
"alias": null,
|
|
192
|
-
"args": null,
|
|
193
|
-
"kind": "ScalarField",
|
|
194
|
-
"name": "type",
|
|
195
|
-
"storageKey": null
|
|
196
|
-
}, {
|
|
197
|
-
"alias": null,
|
|
198
|
-
"args": null,
|
|
199
|
-
"kind": "ScalarField",
|
|
200
|
-
"name": "percentAmount",
|
|
201
|
-
"storageKey": null
|
|
202
|
-
}, {
|
|
203
|
-
"alias": null,
|
|
204
|
-
"args": null,
|
|
205
|
-
"concreteType": "Money",
|
|
206
|
-
"kind": "LinkedField",
|
|
207
|
-
"name": "creditAmountRemaining",
|
|
208
|
-
"plural": false,
|
|
209
|
-
"selections": v3 /*: any*/,
|
|
210
|
-
"storageKey": null
|
|
211
|
-
}, v2 /*: any*/],
|
|
212
|
-
|
|
213
|
-
"storageKey": null
|
|
214
|
-
}, v2 /*: any*/],
|
|
215
|
-
|
|
216
|
-
"storageKey": null
|
|
217
|
-
}, {
|
|
218
|
-
"alias": null,
|
|
219
|
-
"args": null,
|
|
220
|
-
"concreteType": "Money",
|
|
221
|
-
"kind": "LinkedField",
|
|
222
|
-
"name": "discountedSubtotal",
|
|
223
|
-
"plural": false,
|
|
224
|
-
"selections": v3 /*: any*/,
|
|
225
|
-
"storageKey": null
|
|
226
|
-
}, {
|
|
227
|
-
"alias": null,
|
|
228
|
-
"args": null,
|
|
229
|
-
"concreteType": "Money",
|
|
230
|
-
"kind": "LinkedField",
|
|
231
|
-
"name": "total",
|
|
232
|
-
"plural": false,
|
|
233
|
-
"selections": v3 /*: any*/,
|
|
234
|
-
"storageKey": null
|
|
235
|
-
}, {
|
|
236
|
-
"alias": null,
|
|
237
|
-
"args": null,
|
|
238
|
-
"concreteType": "Money",
|
|
239
|
-
"kind": "LinkedField",
|
|
240
|
-
"name": "taxes",
|
|
241
|
-
"plural": false,
|
|
242
|
-
"selections": v3 /*: any*/,
|
|
243
|
-
"storageKey": null
|
|
244
|
-
}, {
|
|
245
|
-
"alias": null,
|
|
246
|
-
"args": null,
|
|
247
|
-
"kind": "ScalarField",
|
|
248
|
-
"name": "taxName",
|
|
249
|
-
"storageKey": null
|
|
250
|
-
}, {
|
|
251
|
-
"alias": null,
|
|
252
|
-
"args": null,
|
|
253
|
-
"kind": "ScalarField",
|
|
254
|
-
"name": "gstIncluded",
|
|
255
|
-
"storageKey": null
|
|
256
|
-
}],
|
|
257
|
-
"storageKey": null
|
|
258
|
-
}],
|
|
259
|
-
"storageKey": null
|
|
260
|
-
}]
|
|
261
|
-
},
|
|
262
|
-
"params": {
|
|
263
|
-
"cacheID": "33e81e5f8180a4ce10e13e278d06465f",
|
|
264
|
-
"id": null,
|
|
265
|
-
"metadata": {},
|
|
266
|
-
"name": "CartStateApplyCouponMutation",
|
|
267
|
-
"operationKind": "mutation",
|
|
268
|
-
"text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\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 taxes {\n ...Price_price\n }\n taxName\n gstIncluded\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 Price_price on Money {\n amount\n currency\n}\n"
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
}();
|
|
272
|
-
node.hash = 'e6fc6e27365198e294823fe13d0aee27';
|
|
273
|
-
var _default = node;
|
|
274
|
-
exports.default = _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @generated SignedSource<<a4b4b22cee06bf7a0b71e5b62dbc94d0>>
|
|
3
|
-
* @lightSyntaxTransform
|
|
4
|
-
* @nogrep
|
|
5
|
-
*/
|
|
6
|
-
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
-
export type CartTotalsCreateSnapshotMutation$variables = Record<PropertyKey, never>;
|
|
8
|
-
export type CartTotalsCreateSnapshotMutation$data = {
|
|
9
|
-
readonly createOrderSnapshot: {
|
|
10
|
-
readonly orderSnapshot: {
|
|
11
|
-
readonly id: string | null;
|
|
12
|
-
readonly quotePdfUrl: string | null;
|
|
13
|
-
readonly shareUrl: string | null;
|
|
14
|
-
} | null;
|
|
15
|
-
} | null;
|
|
16
|
-
};
|
|
17
|
-
export type CartTotalsCreateSnapshotMutation = {
|
|
18
|
-
response: CartTotalsCreateSnapshotMutation$data;
|
|
19
|
-
variables: CartTotalsCreateSnapshotMutation$variables;
|
|
20
|
-
};
|
|
21
|
-
declare const node: ConcreteRequest;
|
|
22
|
-
export default node;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<a4b4b22cee06bf7a0b71e5b62dbc94d0>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = function () {
|
|
18
|
-
var v0 = [{
|
|
19
|
-
"alias": null,
|
|
20
|
-
"args": null,
|
|
21
|
-
"concreteType": "CreateOrderSnapshotPayload",
|
|
22
|
-
"kind": "LinkedField",
|
|
23
|
-
"name": "createOrderSnapshot",
|
|
24
|
-
"plural": false,
|
|
25
|
-
"selections": [{
|
|
26
|
-
"alias": null,
|
|
27
|
-
"args": null,
|
|
28
|
-
"concreteType": "OrderSnapshot",
|
|
29
|
-
"kind": "LinkedField",
|
|
30
|
-
"name": "orderSnapshot",
|
|
31
|
-
"plural": false,
|
|
32
|
-
"selections": [{
|
|
33
|
-
"alias": null,
|
|
34
|
-
"args": null,
|
|
35
|
-
"kind": "ScalarField",
|
|
36
|
-
"name": "id",
|
|
37
|
-
"storageKey": null
|
|
38
|
-
}, {
|
|
39
|
-
"alias": null,
|
|
40
|
-
"args": null,
|
|
41
|
-
"kind": "ScalarField",
|
|
42
|
-
"name": "quotePdfUrl",
|
|
43
|
-
"storageKey": null
|
|
44
|
-
}, {
|
|
45
|
-
"alias": null,
|
|
46
|
-
"args": null,
|
|
47
|
-
"kind": "ScalarField",
|
|
48
|
-
"name": "shareUrl",
|
|
49
|
-
"storageKey": null
|
|
50
|
-
}],
|
|
51
|
-
"storageKey": null
|
|
52
|
-
}],
|
|
53
|
-
"storageKey": null
|
|
54
|
-
}];
|
|
55
|
-
return {
|
|
56
|
-
"fragment": {
|
|
57
|
-
"argumentDefinitions": [],
|
|
58
|
-
"kind": "Fragment",
|
|
59
|
-
"metadata": null,
|
|
60
|
-
"name": "CartTotalsCreateSnapshotMutation",
|
|
61
|
-
"selections": v0 /*: any*/,
|
|
62
|
-
"type": "RootMutationType",
|
|
63
|
-
"abstractKey": null
|
|
64
|
-
},
|
|
65
|
-
"kind": "Request",
|
|
66
|
-
"operation": {
|
|
67
|
-
"argumentDefinitions": [],
|
|
68
|
-
"kind": "Operation",
|
|
69
|
-
"name": "CartTotalsCreateSnapshotMutation",
|
|
70
|
-
"selections": v0 /*: any*/
|
|
71
|
-
},
|
|
72
|
-
"params": {
|
|
73
|
-
"cacheID": "68ef1e5c60fc0176904bdfe545718bd9",
|
|
74
|
-
"id": null,
|
|
75
|
-
"metadata": {},
|
|
76
|
-
"name": "CartTotalsCreateSnapshotMutation",
|
|
77
|
-
"operationKind": "mutation",
|
|
78
|
-
"text": "mutation CartTotalsCreateSnapshotMutation {\n createOrderSnapshot {\n orderSnapshot {\n id\n quotePdfUrl\n shareUrl\n }\n }\n}\n"
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}();
|
|
82
|
-
node.hash = "97e00cf77f0cc65bb808123fe5944c02";
|
|
83
|
-
var _default = node;
|
|
84
|
-
exports.default = _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @generated SignedSource<<30ec53717dbb2d32a5444ff3a999a7a4>>
|
|
3
|
-
* @lightSyntaxTransform
|
|
4
|
-
* @nogrep
|
|
5
|
-
*/
|
|
6
|
-
import { ReaderFragment } from 'relay-runtime';
|
|
7
|
-
import { FragmentRefs } from "relay-runtime";
|
|
8
|
-
export declare type Cart_viewer$data = {
|
|
9
|
-
readonly currentOrder: {
|
|
10
|
-
readonly " $fragmentSpreads": FragmentRefs<"CartOrder_order">;
|
|
11
|
-
} | null;
|
|
12
|
-
readonly " $fragmentSpreads": FragmentRefs<"CartOrder_viewer" | "StripeProvider_viewer">;
|
|
13
|
-
readonly " $fragmentType": "Cart_viewer";
|
|
14
|
-
};
|
|
15
|
-
export declare type Cart_viewer$key = {
|
|
16
|
-
readonly " $data"?: Cart_viewer$data;
|
|
17
|
-
readonly " $fragmentSpreads": FragmentRefs<"Cart_viewer">;
|
|
18
|
-
};
|
|
19
|
-
declare const node: ReaderFragment;
|
|
20
|
-
export default node;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* @generated SignedSource<<30ec53717dbb2d32a5444ff3a999a7a4>>
|
|
9
|
-
* @lightSyntaxTransform
|
|
10
|
-
* @nogrep
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* tslint:disable */
|
|
14
|
-
/* eslint-disable */
|
|
15
|
-
// @ts-nocheck
|
|
16
|
-
|
|
17
|
-
const node = {
|
|
18
|
-
"argumentDefinitions": [],
|
|
19
|
-
"kind": "Fragment",
|
|
20
|
-
"metadata": null,
|
|
21
|
-
"name": "Cart_viewer",
|
|
22
|
-
"selections": [{
|
|
23
|
-
"args": null,
|
|
24
|
-
"kind": "FragmentSpread",
|
|
25
|
-
"name": "StripeProvider_viewer"
|
|
26
|
-
}, {
|
|
27
|
-
"args": null,
|
|
28
|
-
"kind": "FragmentSpread",
|
|
29
|
-
"name": "CartOrder_viewer"
|
|
30
|
-
}, {
|
|
31
|
-
"alias": null,
|
|
32
|
-
"args": null,
|
|
33
|
-
"concreteType": "Order",
|
|
34
|
-
"kind": "LinkedField",
|
|
35
|
-
"name": "currentOrder",
|
|
36
|
-
"plural": false,
|
|
37
|
-
"selections": [{
|
|
38
|
-
"args": null,
|
|
39
|
-
"kind": "FragmentSpread",
|
|
40
|
-
"name": "CartOrder_order"
|
|
41
|
-
}],
|
|
42
|
-
"storageKey": null
|
|
43
|
-
}],
|
|
44
|
-
"type": "Viewer",
|
|
45
|
-
"abstractKey": null
|
|
46
|
-
};
|
|
47
|
-
node.hash = "f8014219785183b543a2133a9ff912b0";
|
|
48
|
-
var _default = node;
|
|
49
|
-
exports.default = _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @generated SignedSource<<dc57c4be9b4e9c79a0eff9b20c752833>>
|
|
3
|
-
* @lightSyntaxTransform
|
|
4
|
-
* @nogrep
|
|
5
|
-
*/
|
|
6
|
-
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
-
import { FragmentRefs } from "relay-runtime";
|
|
8
|
-
export type CharacterViewer_Query$variables = {
|
|
9
|
-
collectionId: string;
|
|
10
|
-
};
|
|
11
|
-
export type CharacterViewer_Query$data = {
|
|
12
|
-
readonly node: {
|
|
13
|
-
readonly " $fragmentSpreads": FragmentRefs<"CharacterViewer_collection">;
|
|
14
|
-
} | null;
|
|
15
|
-
};
|
|
16
|
-
export type CharacterViewer_Query = {
|
|
17
|
-
response: CharacterViewer_Query$data;
|
|
18
|
-
variables: CharacterViewer_Query$variables;
|
|
19
|
-
};
|
|
20
|
-
declare const node: ConcreteRequest;
|
|
21
|
-
export default node;
|