fontdue-js 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.d.ts +17 -0
- package/dist/__generated__/AddressFieldsRefetchQuery.graphql.js +244 -0
- package/dist/__generated__/AddressFields_viewer.graphql.d.ts +16 -0
- package/dist/__generated__/AddressFields_viewer.graphql.js +135 -23
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +2 -9
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +3 -0
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +95 -79
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +2 -9
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +3 -10
- package/dist/__generated__/CartOrder_UpdateErrors.graphql.d.ts +15 -0
- package/dist/__generated__/CartOrder_UpdateErrors.graphql.js +38 -0
- package/dist/__generated__/CartOrder_order.graphql.d.ts +0 -1
- package/dist/__generated__/CartOrder_order.graphql.js +1 -7
- package/dist/__generated__/CartQuery.graphql.js +2 -9
- package/dist/__generated__/CharacterViewer_Query.graphql.js +31 -5
- package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +31 -5
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +4 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.js +25 -3
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +2 -0
- package/dist/__generated__/CharacterViewer_family.graphql.js +13 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +2 -9
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +3 -10
- package/dist/__generated__/Checkout_viewer.graphql.d.ts +0 -6
- package/dist/__generated__/Checkout_viewer.graphql.js +2 -47
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +2 -9
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +4 -0
- package/dist/__generated__/StoreModalProductQuery.graphql.js +109 -74
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +2 -9
- package/dist/components/Cart/AddressFields.d.ts +2 -4
- package/dist/components/Cart/AddressFields.js +214 -183
- package/dist/components/Cart/CartItem/index.d.ts +1 -10
- package/dist/components/Cart/CartOrder.d.ts +11 -0
- package/dist/components/Cart/CartOrder.js +328 -376
- package/dist/components/Cart/Checkout.js +284 -422
- package/dist/components/Cart/CustomerFields.d.ts +3 -7
- package/dist/components/Cart/CustomerFields.js +3 -1
- package/dist/components/Cart/types.d.ts +10 -0
- package/dist/components/CharacterViewer/index.js +11 -3
- package/dist/components/StoreModal/StoreModalCheckout.d.ts +2 -4
- package/dist/components/StoreModal/StoreModalCheckout.js +4 -13
- package/dist/components/StoreModal/StoreModalCheckoutContext.d.ts +1 -1
- package/dist/components/StoreModal/StoreModalCheckoutContext.js +5 -1
- package/dist/components/StoreModal/StoreModalProduct.js +6 -3
- package/dist/components/StoreModal/StoreModalReview.d.ts +2 -2
- package/dist/components/StoreModal/StoreModalReview.js +7 -11
- package/dist/components/StoreModal/routes.js +6 -2
- package/dist/components/StripeProvider/index.d.ts +7 -5
- package/dist/components/StripeProvider/index.js +20 -18
- package/dist/components/TestFontsForm/index.js +1 -1
- package/dist/components/TextField/index.d.ts +5 -4
- package/dist/components/TextField/index.js +1 -1
- package/fontdue.css +6 -4
- package/fontdue.css.map +1 -1
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ConcreteRequest } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type AddressFieldsRefetchQueryVariables = {
|
|
4
|
+
countryCode: string;
|
|
5
|
+
includeCountryCode?: boolean | null;
|
|
6
|
+
};
|
|
7
|
+
export declare type AddressFieldsRefetchQueryResponse = {
|
|
8
|
+
readonly viewer: {
|
|
9
|
+
readonly " $fragmentRefs": FragmentRefs<"AddressFields_viewer">;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare type AddressFieldsRefetchQuery = {
|
|
13
|
+
readonly response: AddressFieldsRefetchQueryResponse;
|
|
14
|
+
readonly variables: AddressFieldsRefetchQueryVariables;
|
|
15
|
+
};
|
|
16
|
+
declare const node: ConcreteRequest;
|
|
17
|
+
export default node;
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
|
|
10
|
+
/* eslint-disable */
|
|
11
|
+
// @ts-nocheck
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
query AddressFieldsRefetchQuery(
|
|
15
|
+
$countryCode: String! = ""
|
|
16
|
+
$includeCountryCode: Boolean = false
|
|
17
|
+
) {
|
|
18
|
+
viewer {
|
|
19
|
+
...AddressFields_viewer_4626Te
|
|
20
|
+
id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
fragment AddressFields_viewer_4626Te on Viewer {
|
|
25
|
+
countries {
|
|
26
|
+
code
|
|
27
|
+
name
|
|
28
|
+
}
|
|
29
|
+
countryData(countryCode: $countryCode) @include(if: $includeCountryCode) {
|
|
30
|
+
response {
|
|
31
|
+
require
|
|
32
|
+
stateNameType
|
|
33
|
+
localityNameType
|
|
34
|
+
sublocalityNameType
|
|
35
|
+
zipNameType
|
|
36
|
+
valid
|
|
37
|
+
subRegions {
|
|
38
|
+
key
|
|
39
|
+
name
|
|
40
|
+
}
|
|
41
|
+
isEuCountry
|
|
42
|
+
vatCountryCode
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
*/
|
|
47
|
+
const node = function () {
|
|
48
|
+
var v0 = [{
|
|
49
|
+
"defaultValue": "",
|
|
50
|
+
"kind": "LocalArgument",
|
|
51
|
+
"name": "countryCode"
|
|
52
|
+
}, {
|
|
53
|
+
"defaultValue": false,
|
|
54
|
+
"kind": "LocalArgument",
|
|
55
|
+
"name": "includeCountryCode"
|
|
56
|
+
}],
|
|
57
|
+
v1 = {
|
|
58
|
+
"kind": "Variable",
|
|
59
|
+
"name": "countryCode",
|
|
60
|
+
"variableName": "countryCode"
|
|
61
|
+
},
|
|
62
|
+
v2 = {
|
|
63
|
+
"alias": null,
|
|
64
|
+
"args": null,
|
|
65
|
+
"kind": "ScalarField",
|
|
66
|
+
"name": "name",
|
|
67
|
+
"storageKey": null
|
|
68
|
+
};
|
|
69
|
+
return {
|
|
70
|
+
"fragment": {
|
|
71
|
+
"argumentDefinitions": v0
|
|
72
|
+
/*: any*/
|
|
73
|
+
,
|
|
74
|
+
"kind": "Fragment",
|
|
75
|
+
"metadata": null,
|
|
76
|
+
"name": "AddressFieldsRefetchQuery",
|
|
77
|
+
"selections": [{
|
|
78
|
+
"alias": null,
|
|
79
|
+
"args": null,
|
|
80
|
+
"concreteType": "Viewer",
|
|
81
|
+
"kind": "LinkedField",
|
|
82
|
+
"name": "viewer",
|
|
83
|
+
"plural": false,
|
|
84
|
+
"selections": [{
|
|
85
|
+
"args": [v1
|
|
86
|
+
/*: any*/
|
|
87
|
+
, {
|
|
88
|
+
"kind": "Variable",
|
|
89
|
+
"name": "includeCountryCode",
|
|
90
|
+
"variableName": "includeCountryCode"
|
|
91
|
+
}],
|
|
92
|
+
"kind": "FragmentSpread",
|
|
93
|
+
"name": "AddressFields_viewer"
|
|
94
|
+
}],
|
|
95
|
+
"storageKey": null
|
|
96
|
+
}],
|
|
97
|
+
"type": "RootQueryType",
|
|
98
|
+
"abstractKey": null
|
|
99
|
+
},
|
|
100
|
+
"kind": "Request",
|
|
101
|
+
"operation": {
|
|
102
|
+
"argumentDefinitions": v0
|
|
103
|
+
/*: any*/
|
|
104
|
+
,
|
|
105
|
+
"kind": "Operation",
|
|
106
|
+
"name": "AddressFieldsRefetchQuery",
|
|
107
|
+
"selections": [{
|
|
108
|
+
"alias": null,
|
|
109
|
+
"args": null,
|
|
110
|
+
"concreteType": "Viewer",
|
|
111
|
+
"kind": "LinkedField",
|
|
112
|
+
"name": "viewer",
|
|
113
|
+
"plural": false,
|
|
114
|
+
"selections": [{
|
|
115
|
+
"alias": null,
|
|
116
|
+
"args": null,
|
|
117
|
+
"concreteType": "Country",
|
|
118
|
+
"kind": "LinkedField",
|
|
119
|
+
"name": "countries",
|
|
120
|
+
"plural": true,
|
|
121
|
+
"selections": [{
|
|
122
|
+
"alias": null,
|
|
123
|
+
"args": null,
|
|
124
|
+
"kind": "ScalarField",
|
|
125
|
+
"name": "code",
|
|
126
|
+
"storageKey": null
|
|
127
|
+
}, v2
|
|
128
|
+
/*: any*/
|
|
129
|
+
],
|
|
130
|
+
"storageKey": null
|
|
131
|
+
}, {
|
|
132
|
+
"alias": null,
|
|
133
|
+
"args": null,
|
|
134
|
+
"kind": "ScalarField",
|
|
135
|
+
"name": "id",
|
|
136
|
+
"storageKey": null
|
|
137
|
+
}, {
|
|
138
|
+
"condition": "includeCountryCode",
|
|
139
|
+
"kind": "Condition",
|
|
140
|
+
"passingValue": true,
|
|
141
|
+
"selections": [{
|
|
142
|
+
"alias": null,
|
|
143
|
+
"args": [v1
|
|
144
|
+
/*: any*/
|
|
145
|
+
],
|
|
146
|
+
"concreteType": "CountryDataResponse",
|
|
147
|
+
"kind": "LinkedField",
|
|
148
|
+
"name": "countryData",
|
|
149
|
+
"plural": false,
|
|
150
|
+
"selections": [{
|
|
151
|
+
"alias": null,
|
|
152
|
+
"args": null,
|
|
153
|
+
"concreteType": "CountryData",
|
|
154
|
+
"kind": "LinkedField",
|
|
155
|
+
"name": "response",
|
|
156
|
+
"plural": false,
|
|
157
|
+
"selections": [{
|
|
158
|
+
"alias": null,
|
|
159
|
+
"args": null,
|
|
160
|
+
"kind": "ScalarField",
|
|
161
|
+
"name": "require",
|
|
162
|
+
"storageKey": null
|
|
163
|
+
}, {
|
|
164
|
+
"alias": null,
|
|
165
|
+
"args": null,
|
|
166
|
+
"kind": "ScalarField",
|
|
167
|
+
"name": "stateNameType",
|
|
168
|
+
"storageKey": null
|
|
169
|
+
}, {
|
|
170
|
+
"alias": null,
|
|
171
|
+
"args": null,
|
|
172
|
+
"kind": "ScalarField",
|
|
173
|
+
"name": "localityNameType",
|
|
174
|
+
"storageKey": null
|
|
175
|
+
}, {
|
|
176
|
+
"alias": null,
|
|
177
|
+
"args": null,
|
|
178
|
+
"kind": "ScalarField",
|
|
179
|
+
"name": "sublocalityNameType",
|
|
180
|
+
"storageKey": null
|
|
181
|
+
}, {
|
|
182
|
+
"alias": null,
|
|
183
|
+
"args": null,
|
|
184
|
+
"kind": "ScalarField",
|
|
185
|
+
"name": "zipNameType",
|
|
186
|
+
"storageKey": null
|
|
187
|
+
}, {
|
|
188
|
+
"alias": null,
|
|
189
|
+
"args": null,
|
|
190
|
+
"kind": "ScalarField",
|
|
191
|
+
"name": "valid",
|
|
192
|
+
"storageKey": null
|
|
193
|
+
}, {
|
|
194
|
+
"alias": null,
|
|
195
|
+
"args": null,
|
|
196
|
+
"concreteType": "CountrySubRegion",
|
|
197
|
+
"kind": "LinkedField",
|
|
198
|
+
"name": "subRegions",
|
|
199
|
+
"plural": true,
|
|
200
|
+
"selections": [{
|
|
201
|
+
"alias": null,
|
|
202
|
+
"args": null,
|
|
203
|
+
"kind": "ScalarField",
|
|
204
|
+
"name": "key",
|
|
205
|
+
"storageKey": null
|
|
206
|
+
}, v2
|
|
207
|
+
/*: any*/
|
|
208
|
+
],
|
|
209
|
+
"storageKey": null
|
|
210
|
+
}, {
|
|
211
|
+
"alias": null,
|
|
212
|
+
"args": null,
|
|
213
|
+
"kind": "ScalarField",
|
|
214
|
+
"name": "isEuCountry",
|
|
215
|
+
"storageKey": null
|
|
216
|
+
}, {
|
|
217
|
+
"alias": null,
|
|
218
|
+
"args": null,
|
|
219
|
+
"kind": "ScalarField",
|
|
220
|
+
"name": "vatCountryCode",
|
|
221
|
+
"storageKey": null
|
|
222
|
+
}],
|
|
223
|
+
"storageKey": null
|
|
224
|
+
}],
|
|
225
|
+
"storageKey": null
|
|
226
|
+
}]
|
|
227
|
+
}],
|
|
228
|
+
"storageKey": null
|
|
229
|
+
}]
|
|
230
|
+
},
|
|
231
|
+
"params": {
|
|
232
|
+
"cacheID": "64155a1289c393b56d3baebb06f8f4e5",
|
|
233
|
+
"id": null,
|
|
234
|
+
"metadata": {},
|
|
235
|
+
"name": "AddressFieldsRefetchQuery",
|
|
236
|
+
"operationKind": "query",
|
|
237
|
+
"text": "query AddressFieldsRefetchQuery(\n $countryCode: String! = \"\"\n $includeCountryCode: Boolean = false\n) {\n viewer {\n ...AddressFields_viewer_4626Te\n id\n }\n}\n\nfragment AddressFields_viewer_4626Te on Viewer {\n countries {\n code\n name\n }\n countryData(countryCode: $countryCode) @include(if: $includeCountryCode) {\n response {\n require\n stateNameType\n localityNameType\n sublocalityNameType\n zipNameType\n valid\n subRegions {\n key\n name\n }\n isEuCountry\n vatCountryCode\n }\n }\n}\n"
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
}();
|
|
241
|
+
|
|
242
|
+
node.hash = 'f4433ebc3e6d0bf87e70b488cde24227';
|
|
243
|
+
var _default = node;
|
|
244
|
+
exports.default = _default;
|
|
@@ -5,6 +5,22 @@ export declare type AddressFields_viewer = {
|
|
|
5
5
|
readonly code: string;
|
|
6
6
|
readonly name: string;
|
|
7
7
|
} | null>;
|
|
8
|
+
readonly countryData?: {
|
|
9
|
+
readonly response: {
|
|
10
|
+
readonly require: ReadonlyArray<string> | null;
|
|
11
|
+
readonly stateNameType: string | null;
|
|
12
|
+
readonly localityNameType: string | null;
|
|
13
|
+
readonly sublocalityNameType: string | null;
|
|
14
|
+
readonly zipNameType: string | null;
|
|
15
|
+
readonly valid: ReadonlyArray<string> | null;
|
|
16
|
+
readonly subRegions: ReadonlyArray<{
|
|
17
|
+
readonly key: string;
|
|
18
|
+
readonly name: string;
|
|
19
|
+
}> | null;
|
|
20
|
+
readonly isEuCountry: boolean;
|
|
21
|
+
readonly vatCountryCode: string | null;
|
|
22
|
+
} | null;
|
|
23
|
+
} | null;
|
|
8
24
|
readonly " $refType": "AddressFields_viewer";
|
|
9
25
|
};
|
|
10
26
|
export declare type AddressFields_viewer$data = AddressFields_viewer;
|
|
@@ -9,36 +9,148 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
// @ts-nocheck
|
|
12
|
-
const node = {
|
|
13
|
-
|
|
14
|
-
"kind": "Fragment",
|
|
15
|
-
"metadata": null,
|
|
16
|
-
"name": "AddressFields_viewer",
|
|
17
|
-
"selections": [{
|
|
12
|
+
const node = function () {
|
|
13
|
+
var v0 = {
|
|
18
14
|
"alias": null,
|
|
19
15
|
"args": null,
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
16
|
+
"kind": "ScalarField",
|
|
17
|
+
"name": "name",
|
|
18
|
+
"storageKey": null
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
"argumentDefinitions": [{
|
|
22
|
+
"defaultValue": "",
|
|
23
|
+
"kind": "LocalArgument",
|
|
24
|
+
"name": "countryCode"
|
|
25
|
+
}, {
|
|
26
|
+
"defaultValue": false,
|
|
27
|
+
"kind": "LocalArgument",
|
|
28
|
+
"name": "includeCountryCode"
|
|
29
|
+
}],
|
|
30
|
+
"kind": "Fragment",
|
|
31
|
+
"metadata": {
|
|
32
|
+
"refetch": {
|
|
33
|
+
"connection": null,
|
|
34
|
+
"fragmentPathInResult": ["viewer"],
|
|
35
|
+
"operation": require('./AddressFieldsRefetchQuery.graphql.ts')
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"name": "AddressFields_viewer",
|
|
24
39
|
"selections": [{
|
|
25
40
|
"alias": null,
|
|
26
41
|
"args": null,
|
|
27
|
-
"
|
|
28
|
-
"
|
|
42
|
+
"concreteType": "Country",
|
|
43
|
+
"kind": "LinkedField",
|
|
44
|
+
"name": "countries",
|
|
45
|
+
"plural": true,
|
|
46
|
+
"selections": [{
|
|
47
|
+
"alias": null,
|
|
48
|
+
"args": null,
|
|
49
|
+
"kind": "ScalarField",
|
|
50
|
+
"name": "code",
|
|
51
|
+
"storageKey": null
|
|
52
|
+
}, v0
|
|
53
|
+
/*: any*/
|
|
54
|
+
],
|
|
29
55
|
"storageKey": null
|
|
30
56
|
}, {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
57
|
+
"condition": "includeCountryCode",
|
|
58
|
+
"kind": "Condition",
|
|
59
|
+
"passingValue": true,
|
|
60
|
+
"selections": [{
|
|
61
|
+
"alias": null,
|
|
62
|
+
"args": [{
|
|
63
|
+
"kind": "Variable",
|
|
64
|
+
"name": "countryCode",
|
|
65
|
+
"variableName": "countryCode"
|
|
66
|
+
}],
|
|
67
|
+
"concreteType": "CountryDataResponse",
|
|
68
|
+
"kind": "LinkedField",
|
|
69
|
+
"name": "countryData",
|
|
70
|
+
"plural": false,
|
|
71
|
+
"selections": [{
|
|
72
|
+
"alias": null,
|
|
73
|
+
"args": null,
|
|
74
|
+
"concreteType": "CountryData",
|
|
75
|
+
"kind": "LinkedField",
|
|
76
|
+
"name": "response",
|
|
77
|
+
"plural": false,
|
|
78
|
+
"selections": [{
|
|
79
|
+
"alias": null,
|
|
80
|
+
"args": null,
|
|
81
|
+
"kind": "ScalarField",
|
|
82
|
+
"name": "require",
|
|
83
|
+
"storageKey": null
|
|
84
|
+
}, {
|
|
85
|
+
"alias": null,
|
|
86
|
+
"args": null,
|
|
87
|
+
"kind": "ScalarField",
|
|
88
|
+
"name": "stateNameType",
|
|
89
|
+
"storageKey": null
|
|
90
|
+
}, {
|
|
91
|
+
"alias": null,
|
|
92
|
+
"args": null,
|
|
93
|
+
"kind": "ScalarField",
|
|
94
|
+
"name": "localityNameType",
|
|
95
|
+
"storageKey": null
|
|
96
|
+
}, {
|
|
97
|
+
"alias": null,
|
|
98
|
+
"args": null,
|
|
99
|
+
"kind": "ScalarField",
|
|
100
|
+
"name": "sublocalityNameType",
|
|
101
|
+
"storageKey": null
|
|
102
|
+
}, {
|
|
103
|
+
"alias": null,
|
|
104
|
+
"args": null,
|
|
105
|
+
"kind": "ScalarField",
|
|
106
|
+
"name": "zipNameType",
|
|
107
|
+
"storageKey": null
|
|
108
|
+
}, {
|
|
109
|
+
"alias": null,
|
|
110
|
+
"args": null,
|
|
111
|
+
"kind": "ScalarField",
|
|
112
|
+
"name": "valid",
|
|
113
|
+
"storageKey": null
|
|
114
|
+
}, {
|
|
115
|
+
"alias": null,
|
|
116
|
+
"args": null,
|
|
117
|
+
"concreteType": "CountrySubRegion",
|
|
118
|
+
"kind": "LinkedField",
|
|
119
|
+
"name": "subRegions",
|
|
120
|
+
"plural": true,
|
|
121
|
+
"selections": [{
|
|
122
|
+
"alias": null,
|
|
123
|
+
"args": null,
|
|
124
|
+
"kind": "ScalarField",
|
|
125
|
+
"name": "key",
|
|
126
|
+
"storageKey": null
|
|
127
|
+
}, v0
|
|
128
|
+
/*: any*/
|
|
129
|
+
],
|
|
130
|
+
"storageKey": null
|
|
131
|
+
}, {
|
|
132
|
+
"alias": null,
|
|
133
|
+
"args": null,
|
|
134
|
+
"kind": "ScalarField",
|
|
135
|
+
"name": "isEuCountry",
|
|
136
|
+
"storageKey": null
|
|
137
|
+
}, {
|
|
138
|
+
"alias": null,
|
|
139
|
+
"args": null,
|
|
140
|
+
"kind": "ScalarField",
|
|
141
|
+
"name": "vatCountryCode",
|
|
142
|
+
"storageKey": null
|
|
143
|
+
}],
|
|
144
|
+
"storageKey": null
|
|
145
|
+
}],
|
|
146
|
+
"storageKey": null
|
|
147
|
+
}]
|
|
36
148
|
}],
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
node.hash = '
|
|
149
|
+
"type": "Viewer",
|
|
150
|
+
"abstractKey": null
|
|
151
|
+
};
|
|
152
|
+
}();
|
|
153
|
+
|
|
154
|
+
node.hash = 'f4433ebc3e6d0bf87e70b488cde24227';
|
|
43
155
|
var _default = node;
|
|
44
156
|
exports.default = _default;
|
|
@@ -139,7 +139,6 @@ fragment CartOrder_order on Order {
|
|
|
139
139
|
}
|
|
140
140
|
stripePaymentIntent {
|
|
141
141
|
status
|
|
142
|
-
clientSecret
|
|
143
142
|
}
|
|
144
143
|
canCompleteWithCoupon
|
|
145
144
|
completedWithCoupon
|
|
@@ -1007,12 +1006,6 @@ const node = function () {
|
|
|
1007
1006
|
"kind": "ScalarField",
|
|
1008
1007
|
"name": "status",
|
|
1009
1008
|
"storageKey": null
|
|
1010
|
-
}, {
|
|
1011
|
-
"alias": null,
|
|
1012
|
-
"args": null,
|
|
1013
|
-
"kind": "ScalarField",
|
|
1014
|
-
"name": "clientSecret",
|
|
1015
|
-
"storageKey": null
|
|
1016
1009
|
}],
|
|
1017
1010
|
"storageKey": null
|
|
1018
1011
|
}],
|
|
@@ -1022,12 +1015,12 @@ const node = function () {
|
|
|
1022
1015
|
}]
|
|
1023
1016
|
},
|
|
1024
1017
|
"params": {
|
|
1025
|
-
"cacheID": "
|
|
1018
|
+
"cacheID": "c36c87d5a77272cf5c58c85c54bf333b",
|
|
1026
1019
|
"id": null,
|
|
1027
1020
|
"metadata": {},
|
|
1028
1021
|
"name": "CartOrderApplyCouponMutation",
|
|
1029
1022
|
"operationKind": "mutation",
|
|
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
|
|
1023
|
+
"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 }\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"
|
|
1031
1024
|
}
|
|
1032
1025
|
};
|
|
1033
1026
|
}();
|
|
@@ -4,6 +4,9 @@ export declare type CartOrderCompleteOrderMutationVariables = {};
|
|
|
4
4
|
export declare type CartOrderCompleteOrderMutationResponse = {
|
|
5
5
|
readonly completeOrder: {
|
|
6
6
|
readonly order: {
|
|
7
|
+
readonly stripePaymentIntent: {
|
|
8
|
+
readonly clientSecret: string | null;
|
|
9
|
+
} | null;
|
|
7
10
|
readonly " $fragmentRefs": FragmentRefs<"CartOrder_order">;
|
|
8
11
|
} | null;
|
|
9
12
|
readonly requiresAction: string | null;
|