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.
Files changed (175) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/CharacterViewer/index.js +5 -4
  3. package/dist/components/FontdueProvider/FontdueProviderClientComponent.js +4 -3
  4. package/dist/components/FontdueProvider/useAuxUIOwner.d.ts +1 -0
  5. package/dist/components/FontdueProvider/useAuxUIOwner.js +28 -0
  6. package/dist/components/Root/index.js +20 -19
  7. package/dist/components/TypeTester/TypeTesterFeatures.js +2 -1
  8. package/dist/components/TypeTester/TypeTesterFeaturesButton.js +5 -3
  9. package/dist/components/TypeTester/TypeTesterStandalone.d.ts +2 -2
  10. package/dist/components/TypeTester/TypeTesterStandalone.js +2 -1
  11. package/dist/components/TypeTester/TypeTesterStandalone.preload.d.ts +14 -0
  12. package/dist/components/TypeTester/TypeTesterStandalone.preload.js +19 -0
  13. package/dist/components/TypeTester/types.d.ts +2 -0
  14. package/dist/components/TypeTester/types.js +10 -1
  15. package/dist/components/TypeTesters/TypeTestersElement.d.ts +2 -1
  16. package/dist/components/TypeTesters/TypeTestersElement.js +3 -1
  17. package/dist/components/TypeTesters/index.d.ts +2 -0
  18. package/dist/components/TypeTesters/index.js +5 -2
  19. package/dist/config.d.ts +6 -0
  20. package/dist/config.js +20 -0
  21. package/dist/corsError.js +42 -7
  22. package/dist/index.d.ts +2 -0
  23. package/dist/index.js +1 -0
  24. package/dist/retryImport.d.ts +13 -0
  25. package/dist/retryImport.js +26 -0
  26. package/dist-bundle/FontdueProvider.js +6 -0
  27. package/dist-bundle/FontdueProvider.js.map +1 -0
  28. package/dist-bundle/TypeTester.js +7 -0
  29. package/dist-bundle/TypeTester.js.map +1 -0
  30. package/dist-bundle/TypeTester.preload.js +75 -0
  31. package/dist-bundle/TypeTester.preload.js.map +1 -0
  32. package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js +20843 -0
  33. package/dist-bundle/chunks/ComponentsContext-CmkN9J4X.js.map +1 -0
  34. package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js +95 -0
  35. package/dist-bundle/chunks/CorsErrorModal-C1g_-3Re.js.map +1 -0
  36. package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js +27486 -0
  37. package/dist-bundle/chunks/TypeTesterStandalone-BMWuv8Ca.js.map +1 -0
  38. package/dist-bundle/chunks/consent-DMvR5rEh.js +84 -0
  39. package/dist-bundle/chunks/consent-DMvR5rEh.js.map +1 -0
  40. package/dist-bundle/chunks/index-BNSbxp7B.js +78 -0
  41. package/dist-bundle/chunks/index-BNSbxp7B.js.map +1 -0
  42. package/dist-bundle/chunks/index-C4ak9qTL.js +423 -0
  43. package/dist-bundle/chunks/index-C4ak9qTL.js.map +1 -0
  44. package/dist-bundle/chunks/index-DsvF5W13.js +159 -0
  45. package/dist-bundle/chunks/index-DsvF5W13.js.map +1 -0
  46. package/dist-bundle/chunks/index-o29NNufd.js +131 -0
  47. package/dist-bundle/chunks/index-o29NNufd.js.map +1 -0
  48. package/dist-bundle/index.js +23 -0
  49. package/dist-bundle/index.js.map +1 -0
  50. package/package.json +1 -1
  51. package/dist/__generated__/CartItem_license.graphql.d.ts +0 -27
  52. package/dist/__generated__/CartItem_license.graphql.js +0 -76
  53. package/dist/__generated__/CartItem_licenseSelection.graphql.d.ts +0 -34
  54. package/dist/__generated__/CartItem_licenseSelection.graphql.js +0 -106
  55. package/dist/__generated__/CartItem_product.graphql.d.ts +0 -32
  56. package/dist/__generated__/CartItem_product.graphql.js +0 -124
  57. package/dist/__generated__/CartItem_variable.graphql.d.ts +0 -23
  58. package/dist/__generated__/CartItem_variable.graphql.js +0 -67
  59. package/dist/__generated__/CartItem_viewer.graphql.d.ts +0 -30
  60. package/dist/__generated__/CartItem_viewer.graphql.js +0 -87
  61. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.d.ts +0 -21
  62. package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +0 -919
  63. package/dist/__generated__/CartStateApplyCouponMutation.graphql.d.ts +0 -21
  64. package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +0 -274
  65. package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.d.ts +0 -22
  66. package/dist/__generated__/CartTotalsCreateSnapshotMutation.graphql.js +0 -84
  67. package/dist/__generated__/Cart_viewer.graphql.d.ts +0 -20
  68. package/dist/__generated__/Cart_viewer.graphql.js +0 -49
  69. package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +0 -21
  70. package/dist/__generated__/CharacterViewer_Query.graphql.js +0 -230
  71. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.d.ts +0 -25
  72. package/dist/__generated__/CharacterViewer_SlugQuery.graphql.js +0 -257
  73. package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.d.ts +0 -17
  74. package/dist/__generated__/CouponCodeInput_Refetch_Query.graphql.js +0 -201
  75. package/dist/__generated__/CouponCodeInput_order.graphql.d.ts +0 -13
  76. package/dist/__generated__/CouponCodeInput_order.graphql.js +0 -28
  77. package/dist/__generated__/CouponCodeInput_viewer.graphql.d.ts +0 -25
  78. package/dist/__generated__/CouponCodeInput_viewer.graphql.js +0 -88
  79. package/dist/__generated__/CouponCodeRefetchQuery.graphql.d.ts +0 -22
  80. package/dist/__generated__/CouponCodeRefetchQuery.graphql.js +0 -178
  81. package/dist/__generated__/Family_viewer.graphql.d.ts +0 -17
  82. package/dist/__generated__/FontFamilies_node.graphql.d.ts +0 -20
  83. package/dist/__generated__/FontFamilies_node.graphql.js +0 -49
  84. package/dist/__generated__/NewsletterSignup_Query.graphql.d.ts +0 -21
  85. package/dist/__generated__/NewsletterSignup_Query.graphql.js +0 -99
  86. package/dist/__generated__/NewsletterSignup_viewer.graphql.d.ts +0 -20
  87. package/dist/__generated__/NewsletterSignup_viewer.graphql.js +0 -56
  88. package/dist/__generated__/OrderVariableSelectionMutation.graphql.d.ts +0 -69
  89. package/dist/__generated__/OrderVariableSelectionMutation_viewer.graphql.d.ts +0 -30
  90. package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.d.ts +0 -26
  91. package/dist/__generated__/PriceBarSection_RefetchQuery.graphql.js +0 -168
  92. package/dist/__generated__/PriceBarSection_viewer.graphql.d.ts +0 -17
  93. package/dist/__generated__/PriceBar_viewer.graphql.d.ts +0 -17
  94. package/dist/__generated__/SKUPriceRefetchQuery.graphql.d.ts +0 -31
  95. package/dist/__generated__/SKUPriceRefetchQuery.graphql.js +0 -130
  96. package/dist/__generated__/SKUPriceUpdateQuery.graphql.d.ts +0 -29
  97. package/dist/__generated__/SKUPrice_RefetchQuery.graphql.d.ts +0 -26
  98. package/dist/__generated__/SKUPrice_RefetchQuery.graphql.js +0 -129
  99. package/dist/__generated__/SKUPrice_viewer.graphql.d.ts +0 -19
  100. package/dist/__generated__/SelectButton_viewer.graphql.d.ts +0 -17
  101. package/dist/__generated__/SpecimenLink_node.graphql.d.ts +0 -21
  102. package/dist/__generated__/SpecimenLink_node.graphql.js +0 -55
  103. package/dist/__generated__/StoreModalBundleButton_viewer.graphql.d.ts +0 -17
  104. package/dist/__generated__/StoreModalFamilyButton_viewer.graphql.d.ts +0 -17
  105. package/dist/__generated__/StoreModalFamily_viewer.graphql.d.ts +0 -17
  106. package/dist/__generated__/StoreModalOrderVariableSelectionHookQuery.graphql.d.ts +0 -26
  107. package/dist/__generated__/StoreModalOrderVariableSelectionOrderUpdateMutation.graphql.d.ts +0 -60
  108. package/dist/__generated__/StoreModalOrderVariableSelectionRefetchQuery.graphql.d.ts +0 -26
  109. package/dist/__generated__/StoreModalOrderVariableSelectionVariable_order.graphql.d.ts +0 -27
  110. package/dist/__generated__/StoreModalOrderVariableSelectionVariable_variable.graphql.d.ts +0 -24
  111. package/dist/__generated__/StoreModalProductContent_viewer.graphql.d.ts +0 -30
  112. package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.d.ts +0 -20
  113. package/dist/__generated__/StoreModalProductLicenseSelection_viewer.graphql.js +0 -51
  114. package/dist/__generated__/StoreModalProductViewerRefetchQuery.graphql.d.ts +0 -31
  115. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.d.ts +0 -25
  116. package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +0 -442
  117. package/dist/__generated__/StoreModalReviewQuery.graphql.d.ts +0 -22
  118. package/dist/__generated__/StoreModalReviewQuery.graphql.js +0 -491
  119. package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.d.ts +0 -63
  120. package/dist/__generated__/StoreModalReviewUpdateOrderMutation.graphql.js +0 -445
  121. package/dist/__generated__/StoreModalReview_order.graphql.d.ts +0 -59
  122. package/dist/__generated__/StoreModalReview_order.graphql.js +0 -244
  123. package/dist/__generated__/StoreModalReview_viewer.graphql.d.ts +0 -19
  124. package/dist/__generated__/StoreModalReview_viewer.graphql.js +0 -47
  125. package/dist/__generated__/StoreModalStyleButton_viewer.graphql.d.ts +0 -17
  126. package/dist/__generated__/TestFontsForm_viewer.graphql.d.ts +0 -29
  127. package/dist/__generated__/TestFontsForm_viewer.graphql.js +0 -101
  128. package/dist/__generated__/TestModeBanner_viewer.graphql.d.ts +0 -23
  129. package/dist/__generated__/TestModeBanner_viewer.graphql.js +0 -64
  130. package/dist/__generated__/ThemeConfig_viewer.graphql.d.ts +0 -19
  131. package/dist/__generated__/ThemeConfig_viewer.graphql.js +0 -43
  132. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.d.ts +0 -32
  133. package/dist/__generated__/TypeTesterStandalone_StyleQuery.graphql.js +0 -385
  134. package/dist/__generated__/TypeTesterStyleSelect_family.graphql.d.ts +0 -33
  135. package/dist/__generated__/TypeTesterStyleSelect_fontStyle.graphql.d.ts +0 -27
  136. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.d.ts +0 -41
  137. package/dist/__generated__/TypeTester_NewStyleQuery.graphql.js +0 -344
  138. package/dist/__generated__/TypeTester_sku.graphql.d.ts +0 -21
  139. package/dist/__generated__/TypeTester_sku.graphql.js +0 -57
  140. package/dist/__generated__/useOrderVariables_order.graphql.d.ts +0 -24
  141. package/dist/__tests__/collectionBundleSelection.test.d.ts +0 -1
  142. package/dist/components/BuyButton/BuyButton.server.d.ts +0 -3
  143. package/dist/components/BuyButton/BuyButton.server.js +0 -39
  144. package/dist/components/CartButton/index-server.d.ts +0 -3
  145. package/dist/components/CartButton/index-server.js +0 -18
  146. package/dist/components/OrderVariableSelection/OrderVariableSelectionMutation.d.ts +0 -7
  147. package/dist/components/SelectField/index.d.ts +0 -13
  148. package/dist/components/SelectField/index.js +0 -49
  149. package/dist/components/StoreModal/StoreModalReview.d.ts +0 -6
  150. package/dist/components/StoreModal/StoreModalReview.js +0 -221
  151. package/dist/components/StoreModal/StoreModalRouterContext.d.ts +0 -7
  152. package/dist/components/StoreModal/StoreModalRouterContext.js +0 -11
  153. package/dist/components/StoreModal/createRouter.d.ts +0 -41
  154. package/dist/components/StoreModal/createRouter.js +0 -48
  155. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.d.ts +0 -9
  156. package/dist/components/StoreModalProductLicenseSelection/ContainerElement.js +0 -25
  157. package/dist/components/Stylesheet/index.d.ts +0 -7
  158. package/dist/components/Stylesheet/index.js +0 -43
  159. package/dist/components/TestModeBanner/index.server.d.ts +0 -2
  160. package/dist/components/TestModeBanner/index.server.js +0 -17
  161. package/dist/components/elements/StoreModalReviewConfirm/index.d.ts +0 -12
  162. package/dist/components/elements/StoreModalReviewConfirm/index.js +0 -50
  163. package/dist/components/elements/StoreModalReviewItem/index.d.ts +0 -9
  164. package/dist/components/elements/StoreModalReviewItem/index.js +0 -21
  165. package/dist/components/elements/StoreModalReviewLayout/index.d.ts +0 -17
  166. package/dist/components/elements/StoreModalReviewLayout/index.js +0 -59
  167. package/dist/components/useFontLoaded.d.ts +0 -24
  168. package/dist/components/useFontLoaded.js +0 -60
  169. package/dist/deepMerge.d.ts +0 -4
  170. package/dist/deepMerge.js +0 -24
  171. package/dist/hooks/useOrderVariables.d.ts +0 -5
  172. package/dist/relay-environment.d.ts +0 -7
  173. package/dist/relay-environment.js +0 -34
  174. package/dist/utils/interpolateOrderVariableDescription.d.ts +0 -36
  175. package/dist/utils/interpolateOrderVariableDescription.test.d.ts +0 -1
@@ -1,201 +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
- query CouponCodeInput_Refetch_Query(
13
- $code: String!
14
- $includeCoupon: Boolean!
15
- ) {
16
- viewer {
17
- ...CouponCodeInput_viewer_i9A7a
18
- id
19
- }
20
- }
21
-
22
- fragment CouponCodeInput_viewer_i9A7a on Viewer {
23
- coupon(code: $code) @include(if: $includeCoupon) {
24
- __typename
25
- ... on Coupon {
26
- ...CouponText_coupon
27
- }
28
- ... on Error {
29
- message
30
- }
31
- ... on Node {
32
- __isNode: __typename
33
- id
34
- }
35
- }
36
- }
37
-
38
- fragment CouponText_coupon on Coupon {
39
- type
40
- percentAmount
41
- creditAmountRemaining {
42
- amount
43
- currency
44
- }
45
- }
46
- */
47
-
48
- const node = function () {
49
- var v0 = [{
50
- "defaultValue": null,
51
- "kind": "LocalArgument",
52
- "name": "code"
53
- }, {
54
- "defaultValue": null,
55
- "kind": "LocalArgument",
56
- "name": "includeCoupon"
57
- }],
58
- v1 = {
59
- "kind": "Variable",
60
- "name": "code",
61
- "variableName": "code"
62
- },
63
- v2 = {
64
- "alias": null,
65
- "args": null,
66
- "kind": "ScalarField",
67
- "name": "id",
68
- "storageKey": null
69
- };
70
- return {
71
- "fragment": {
72
- "argumentDefinitions": v0 /*: any*/,
73
- "kind": "Fragment",
74
- "metadata": null,
75
- "name": "CouponCodeInput_Refetch_Query",
76
- "selections": [{
77
- "alias": null,
78
- "args": null,
79
- "concreteType": "Viewer",
80
- "kind": "LinkedField",
81
- "name": "viewer",
82
- "plural": false,
83
- "selections": [{
84
- "args": [v1 /*: any*/, {
85
- "kind": "Variable",
86
- "name": "includeCoupon",
87
- "variableName": "includeCoupon"
88
- }],
89
- "kind": "FragmentSpread",
90
- "name": "CouponCodeInput_viewer"
91
- }],
92
- "storageKey": null
93
- }],
94
- "type": "RootQueryType",
95
- "abstractKey": null
96
- },
97
- "kind": "Request",
98
- "operation": {
99
- "argumentDefinitions": v0 /*: any*/,
100
- "kind": "Operation",
101
- "name": "CouponCodeInput_Refetch_Query",
102
- "selections": [{
103
- "alias": null,
104
- "args": null,
105
- "concreteType": "Viewer",
106
- "kind": "LinkedField",
107
- "name": "viewer",
108
- "plural": false,
109
- "selections": [v2 /*: any*/, {
110
- "condition": "includeCoupon",
111
- "kind": "Condition",
112
- "passingValue": true,
113
- "selections": [{
114
- "alias": null,
115
- "args": [v1 /*: any*/],
116
-
117
- "concreteType": null,
118
- "kind": "LinkedField",
119
- "name": "coupon",
120
- "plural": false,
121
- "selections": [{
122
- "alias": null,
123
- "args": null,
124
- "kind": "ScalarField",
125
- "name": "__typename",
126
- "storageKey": null
127
- }, {
128
- "kind": "InlineFragment",
129
- "selections": [{
130
- "alias": null,
131
- "args": null,
132
- "kind": "ScalarField",
133
- "name": "type",
134
- "storageKey": null
135
- }, {
136
- "alias": null,
137
- "args": null,
138
- "kind": "ScalarField",
139
- "name": "percentAmount",
140
- "storageKey": null
141
- }, {
142
- "alias": null,
143
- "args": null,
144
- "concreteType": "Money",
145
- "kind": "LinkedField",
146
- "name": "creditAmountRemaining",
147
- "plural": false,
148
- "selections": [{
149
- "alias": null,
150
- "args": null,
151
- "kind": "ScalarField",
152
- "name": "amount",
153
- "storageKey": null
154
- }, {
155
- "alias": null,
156
- "args": null,
157
- "kind": "ScalarField",
158
- "name": "currency",
159
- "storageKey": null
160
- }],
161
- "storageKey": null
162
- }],
163
- "type": "Coupon",
164
- "abstractKey": null
165
- }, {
166
- "kind": "InlineFragment",
167
- "selections": [{
168
- "alias": null,
169
- "args": null,
170
- "kind": "ScalarField",
171
- "name": "message",
172
- "storageKey": null
173
- }],
174
- "type": "Error",
175
- "abstractKey": null
176
- }, {
177
- "kind": "InlineFragment",
178
- "selections": [v2 /*: any*/],
179
-
180
- "type": "Node",
181
- "abstractKey": "__isNode"
182
- }],
183
- "storageKey": null
184
- }]
185
- }],
186
- "storageKey": null
187
- }]
188
- },
189
- "params": {
190
- "cacheID": "bd9dea68c13943e4f03f441ecbe8f1ba",
191
- "id": null,
192
- "metadata": {},
193
- "name": "CouponCodeInput_Refetch_Query",
194
- "operationKind": "query",
195
- "text": "query CouponCodeInput_Refetch_Query(\n $code: String!\n $includeCoupon: Boolean!\n) {\n viewer {\n ...CouponCodeInput_viewer_i9A7a\n id\n }\n}\n\nfragment CouponCodeInput_viewer_i9A7a on Viewer {\n coupon(code: $code) @include(if: $includeCoupon) {\n __typename\n ... on Coupon {\n ...CouponText_coupon\n }\n ... on Error {\n message\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n"
196
- }
197
- };
198
- }();
199
- node.hash = '894ee303cd425b2cae16c3f87b1672b7';
200
- var _default = node;
201
- exports.default = _default;
@@ -1,13 +0,0 @@
1
- import { ReaderFragment } from "relay-runtime";
2
- import { FragmentRefs } from "relay-runtime";
3
- export declare type CouponCodeInput_order = {
4
- readonly id: string;
5
- readonly " $refType": "CouponCodeInput_order";
6
- };
7
- export declare type CouponCodeInput_order$data = CouponCodeInput_order;
8
- export declare type CouponCodeInput_order$key = {
9
- readonly " $data"?: CouponCodeInput_order$data;
10
- readonly " $fragmentRefs": FragmentRefs<"CouponCodeInput_order">;
11
- };
12
- declare const node: ReaderFragment;
13
- export default node;
@@ -1,28 +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
- const node = {
12
- "argumentDefinitions": [],
13
- "kind": "Fragment",
14
- "metadata": null,
15
- "name": "CouponCodeInput_order",
16
- "selections": [{
17
- "alias": null,
18
- "args": null,
19
- "kind": "ScalarField",
20
- "name": "id",
21
- "storageKey": null
22
- }],
23
- "type": "Order",
24
- "abstractKey": null
25
- };
26
- node.hash = 'c8d5ed322df527b9a149154956c4d927';
27
- var _default = node;
28
- exports.default = _default;
@@ -1,25 +0,0 @@
1
- /**
2
- * @generated SignedSource<<747741e741f1f3ba76d80e5ad7144459>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
- import { ReaderFragment } from 'relay-runtime';
7
- import { FragmentRefs } from "relay-runtime";
8
- export type CouponCodeInput_viewer$data = {
9
- readonly coupon?: {
10
- readonly __typename: "Coupon";
11
- readonly " $fragmentSpreads": FragmentRefs<"CouponText_coupon">;
12
- } | {
13
- readonly __typename: "Error";
14
- readonly message: string | null;
15
- } | {
16
- readonly __typename: "%other";
17
- } | null;
18
- readonly " $fragmentType": "CouponCodeInput_viewer";
19
- };
20
- export type CouponCodeInput_viewer$key = {
21
- readonly " $data"?: CouponCodeInput_viewer$data;
22
- readonly " $fragmentSpreads": FragmentRefs<"CouponCodeInput_viewer">;
23
- };
24
- declare const node: ReaderFragment;
25
- export default node;
@@ -1,88 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _CouponCodeRefetchQuery = _interopRequireDefault(require("./CouponCodeRefetchQuery.graphql"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- /**
10
- * @generated SignedSource<<747741e741f1f3ba76d80e5ad7144459>>
11
- * @lightSyntaxTransform
12
- * @nogrep
13
- */
14
-
15
- /* tslint:disable */
16
- /* eslint-disable */
17
- // @ts-nocheck
18
-
19
- const node = {
20
- "argumentDefinitions": [{
21
- "defaultValue": "",
22
- "kind": "LocalArgument",
23
- "name": "code"
24
- }, {
25
- "defaultValue": false,
26
- "kind": "LocalArgument",
27
- "name": "includeCoupon"
28
- }],
29
- "kind": "Fragment",
30
- "metadata": {
31
- "refetch": {
32
- "connection": null,
33
- "fragmentPathInResult": ["viewer"],
34
- "operation": _CouponCodeRefetchQuery.default
35
- }
36
- },
37
- "name": "CouponCodeInput_viewer",
38
- "selections": [{
39
- "condition": "includeCoupon",
40
- "kind": "Condition",
41
- "passingValue": true,
42
- "selections": [{
43
- "alias": null,
44
- "args": [{
45
- "kind": "Variable",
46
- "name": "code",
47
- "variableName": "code"
48
- }],
49
- "concreteType": null,
50
- "kind": "LinkedField",
51
- "name": "coupon",
52
- "plural": false,
53
- "selections": [{
54
- "alias": null,
55
- "args": null,
56
- "kind": "ScalarField",
57
- "name": "__typename",
58
- "storageKey": null
59
- }, {
60
- "kind": "InlineFragment",
61
- "selections": [{
62
- "args": null,
63
- "kind": "FragmentSpread",
64
- "name": "CouponText_coupon"
65
- }],
66
- "type": "Coupon",
67
- "abstractKey": null
68
- }, {
69
- "kind": "InlineFragment",
70
- "selections": [{
71
- "alias": null,
72
- "args": null,
73
- "kind": "ScalarField",
74
- "name": "message",
75
- "storageKey": null
76
- }],
77
- "type": "Error",
78
- "abstractKey": null
79
- }],
80
- "storageKey": null
81
- }]
82
- }],
83
- "type": "Viewer",
84
- "abstractKey": null
85
- };
86
- node.hash = "06207af721d062f5fb4c32dc2a260e74";
87
- var _default = node;
88
- exports.default = _default;
@@ -1,22 +0,0 @@
1
- /**
2
- * @generated SignedSource<<6d9db8ee3fc136c368f5a87d2fb9dc6e>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
- import { ConcreteRequest } from 'relay-runtime';
7
- import { FragmentRefs } from "relay-runtime";
8
- export type CouponCodeRefetchQuery$variables = {
9
- code?: string | null;
10
- includeCoupon?: boolean | null;
11
- };
12
- export type CouponCodeRefetchQuery$data = {
13
- readonly viewer: {
14
- readonly " $fragmentSpreads": FragmentRefs<"CouponCodeInput_viewer">;
15
- };
16
- };
17
- export type CouponCodeRefetchQuery = {
18
- response: CouponCodeRefetchQuery$data;
19
- variables: CouponCodeRefetchQuery$variables;
20
- };
21
- declare const node: ConcreteRequest;
22
- export default node;
@@ -1,178 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- /**
8
- * @generated SignedSource<<6d9db8ee3fc136c368f5a87d2fb9dc6e>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- const node = function () {
18
- var v0 = [{
19
- "defaultValue": "",
20
- "kind": "LocalArgument",
21
- "name": "code"
22
- }, {
23
- "defaultValue": false,
24
- "kind": "LocalArgument",
25
- "name": "includeCoupon"
26
- }],
27
- v1 = {
28
- "kind": "Variable",
29
- "name": "code",
30
- "variableName": "code"
31
- },
32
- v2 = [{
33
- "alias": null,
34
- "args": null,
35
- "kind": "ScalarField",
36
- "name": "amount",
37
- "storageKey": null
38
- }, {
39
- "alias": null,
40
- "args": null,
41
- "kind": "ScalarField",
42
- "name": "currency",
43
- "storageKey": null
44
- }],
45
- v3 = {
46
- "alias": null,
47
- "args": null,
48
- "kind": "ScalarField",
49
- "name": "id",
50
- "storageKey": null
51
- };
52
- return {
53
- "fragment": {
54
- "argumentDefinitions": v0 /*: any*/,
55
- "kind": "Fragment",
56
- "metadata": null,
57
- "name": "CouponCodeRefetchQuery",
58
- "selections": [{
59
- "alias": null,
60
- "args": null,
61
- "concreteType": "Viewer",
62
- "kind": "LinkedField",
63
- "name": "viewer",
64
- "plural": false,
65
- "selections": [{
66
- "args": [v1 /*: any*/, {
67
- "kind": "Variable",
68
- "name": "includeCoupon",
69
- "variableName": "includeCoupon"
70
- }],
71
- "kind": "FragmentSpread",
72
- "name": "CouponCodeInput_viewer"
73
- }],
74
- "storageKey": null
75
- }],
76
- "type": "RootQueryType",
77
- "abstractKey": null
78
- },
79
- "kind": "Request",
80
- "operation": {
81
- "argumentDefinitions": v0 /*: any*/,
82
- "kind": "Operation",
83
- "name": "CouponCodeRefetchQuery",
84
- "selections": [{
85
- "alias": null,
86
- "args": null,
87
- "concreteType": "Viewer",
88
- "kind": "LinkedField",
89
- "name": "viewer",
90
- "plural": false,
91
- "selections": [{
92
- "condition": "includeCoupon",
93
- "kind": "Condition",
94
- "passingValue": true,
95
- "selections": [{
96
- "alias": null,
97
- "args": [v1 /*: any*/],
98
- "concreteType": null,
99
- "kind": "LinkedField",
100
- "name": "coupon",
101
- "plural": false,
102
- "selections": [{
103
- "alias": null,
104
- "args": null,
105
- "kind": "ScalarField",
106
- "name": "__typename",
107
- "storageKey": null
108
- }, {
109
- "kind": "InlineFragment",
110
- "selections": [{
111
- "alias": null,
112
- "args": null,
113
- "kind": "ScalarField",
114
- "name": "type",
115
- "storageKey": null
116
- }, {
117
- "alias": null,
118
- "args": null,
119
- "kind": "ScalarField",
120
- "name": "percentAmount",
121
- "storageKey": null
122
- }, {
123
- "alias": null,
124
- "args": null,
125
- "concreteType": "Money",
126
- "kind": "LinkedField",
127
- "name": "creditAmount",
128
- "plural": false,
129
- "selections": v2 /*: any*/,
130
- "storageKey": null
131
- }, {
132
- "alias": null,
133
- "args": null,
134
- "concreteType": "Money",
135
- "kind": "LinkedField",
136
- "name": "creditAmountRemaining",
137
- "plural": false,
138
- "selections": v2 /*: any*/,
139
- "storageKey": null
140
- }],
141
- "type": "Coupon",
142
- "abstractKey": null
143
- }, {
144
- "kind": "InlineFragment",
145
- "selections": [{
146
- "alias": null,
147
- "args": null,
148
- "kind": "ScalarField",
149
- "name": "message",
150
- "storageKey": null
151
- }],
152
- "type": "Error",
153
- "abstractKey": null
154
- }, {
155
- "kind": "InlineFragment",
156
- "selections": [v3 /*: any*/],
157
- "type": "Node",
158
- "abstractKey": "__isNode"
159
- }],
160
- "storageKey": null
161
- }]
162
- }, v3 /*: any*/],
163
- "storageKey": null
164
- }]
165
- },
166
- "params": {
167
- "cacheID": "f08c0f721fec69553d4c9f16ee5882f0",
168
- "id": null,
169
- "metadata": {},
170
- "name": "CouponCodeRefetchQuery",
171
- "operationKind": "query",
172
- "text": "query CouponCodeRefetchQuery(\n $code: String = \"\"\n $includeCoupon: Boolean = false\n) {\n viewer {\n ...CouponCodeInput_viewer_i9A7a\n id\n }\n}\n\nfragment CouponCodeInput_viewer_i9A7a on Viewer {\n coupon(code: $code) @include(if: $includeCoupon) {\n __typename\n ... on Coupon {\n ...CouponText_coupon\n }\n ... on Error {\n message\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n"
173
- }
174
- };
175
- }();
176
- node.hash = "06207af721d062f5fb4c32dc2a260e74";
177
- var _default = node;
178
- exports.default = _default;
@@ -1,17 +0,0 @@
1
- /**
2
- * @generated SignedSource<<8f18b710dfd154a0a33b3ccc983a96bb>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
- import { ReaderFragment } from 'relay-runtime';
7
- import { FragmentRefs } from "relay-runtime";
8
- export type Family_viewer$data = {
9
- readonly " $fragmentSpreads": FragmentRefs<"SKUPrice_viewer" | "SelectButton_viewer">;
10
- readonly " $fragmentType": "Family_viewer";
11
- };
12
- export type Family_viewer$key = {
13
- readonly " $data"?: Family_viewer$data;
14
- readonly " $fragmentSpreads": FragmentRefs<"Family_viewer">;
15
- };
16
- declare const node: ReaderFragment;
17
- export default node;
@@ -1,20 +0,0 @@
1
- /**
2
- * @generated SignedSource<<e7f7640b11ae6268caec4ee30517abe6>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
- import { ReaderFragment } from 'relay-runtime';
7
- import { FragmentRefs } from "relay-runtime";
8
- export declare type FontFamilies_node$data = {
9
- readonly families: ReadonlyArray<{
10
- readonly " $fragmentSpreads": FragmentRefs<"Family_node">;
11
- }> | null;
12
- readonly " $fragmentSpreads": FragmentRefs<"Family_node">;
13
- readonly " $fragmentType": "FontFamilies_node";
14
- };
15
- export declare type FontFamilies_node$key = {
16
- readonly " $data"?: FontFamilies_node$data;
17
- readonly " $fragmentSpreads": FragmentRefs<"FontFamilies_node">;
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<<e7f7640b11ae6268caec4ee30517abe6>>
9
- * @lightSyntaxTransform
10
- * @nogrep
11
- */
12
-
13
- /* tslint:disable */
14
- /* eslint-disable */
15
- // @ts-nocheck
16
-
17
- const node = function () {
18
- var v0 = {
19
- "args": null,
20
- "kind": "FragmentSpread",
21
- "name": "Family_node"
22
- };
23
- return {
24
- "argumentDefinitions": [],
25
- "kind": "Fragment",
26
- "metadata": null,
27
- "name": "FontFamilies_node",
28
- "selections": [v0 /*: any*/, {
29
- "alias": "families",
30
- "args": [{
31
- "kind": "Literal",
32
- "name": "collectionTypes",
33
- "value": ["FAMILY"]
34
- }],
35
- "concreteType": "FontCollection",
36
- "kind": "LinkedField",
37
- "name": "children",
38
- "plural": true,
39
- "selections": [v0 /*: any*/],
40
-
41
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
42
- }],
43
- "type": "FontCollection",
44
- "abstractKey": null
45
- };
46
- }();
47
- node.hash = "472d13cd7851f2c92785410aae4acf45";
48
- var _default = node;
49
- exports.default = _default;
@@ -1,21 +0,0 @@
1
- /**
2
- * @generated SignedSource<<ef4fd545077355bed1b06c6e5dd4cb84>>
3
- * @lightSyntaxTransform
4
- * @nogrep
5
- */
6
- import { ConcreteRequest } from 'relay-runtime';
7
- export type NewsletterSignup_Query$variables = {};
8
- export type NewsletterSignup_Query$data = {
9
- readonly viewer: {
10
- readonly settings: {
11
- readonly newsletterOptInLabel: string | null;
12
- readonly newsletterSuccessLabel: string | null;
13
- } | null;
14
- };
15
- };
16
- export type NewsletterSignup_Query = {
17
- response: NewsletterSignup_Query$data;
18
- variables: NewsletterSignup_Query$variables;
19
- };
20
- declare const node: ConcreteRequest;
21
- export default node;