fontdue-js 2.22.4 → 2.23.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 +4 -0
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.d.ts +4 -1
- package/dist/__generated__/CartItemAdditionalLicenses_orderItem.graphql.js +34 -22
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +13 -4
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +13 -4
- package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +13 -4
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +13 -4
- package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +13 -4
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +13 -4
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +13 -4
- package/dist/__generated__/FontdueProviderQuery.graphql.d.ts +19 -0
- package/dist/__generated__/FontdueProviderQuery.graphql.js +140 -0
- package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +34 -25
- package/dist/__generated__/PrecartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/PrecartQuery.graphql.js +17 -7
- package/dist/__generated__/Precart_collection.graphql.d.ts +4 -1
- package/dist/__generated__/Precart_collection.graphql.js +13 -3
- package/dist/__generated__/Precart_license.graphql.d.ts +4 -1
- package/dist/__generated__/Precart_license.graphql.js +19 -9
- package/dist/__generated__/ServerConfigProvider_viewer.graphql.d.ts +23 -0
- package/dist/__generated__/ServerConfigProvider_viewer.graphql.js +57 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +13 -4
- package/dist/__generated__/StoreModalProductLicense_license.graphql.d.ts +4 -1
- package/dist/__generated__/StoreModalProductLicense_license.graphql.js +11 -2
- package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductQuery.graphql.js +12 -3
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +42 -32
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +13 -4
- package/dist/__generated__/TestModeBanner_viewer.graphql.d.ts +19 -0
- package/dist/__generated__/TestModeBanner_viewer.graphql.js +36 -0
- package/dist/__generated__/ThemeConfig_viewer.graphql.d.ts +19 -0
- package/dist/__generated__/ThemeConfig_viewer.graphql.js +36 -0
- package/dist/__tests__/licenseExclusions.test.js +161 -0
- package/dist/components/BuyingOptions/index.d.ts +9 -0
- package/dist/components/Cart/CartItem/CartItemAdditionalLicenses.js +11 -5
- package/dist/components/CookieNotification/index.d.ts +13 -0
- package/dist/components/FontdueContextProvider/index.d.ts +17 -0
- package/dist/components/FontdueContextProvider/index.js +108 -0
- package/dist/components/FontdueContextProvider/index.server.d.ts +4 -0
- package/dist/components/FontdueContextProvider/index.server.js +7 -0
- package/dist/components/Precart/index.js +12 -7
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +10 -4
- package/dist/components/TypeTester/TypeTesterStandalone.preload.d.ts +3 -3
- package/dist/components/TypeTester/TypeTesterStandalone.preload.js +10 -9
- package/dist/config.d.ts +2 -1
- package/dist/config.js +17 -6
- package/dist/hooks/useResizeObserver.d.ts +11 -0
- package/dist/hooks/useResizeObserver.js +23 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/loadFontdueProviderQuery.d.ts +3 -0
- package/dist/loadFontdueProviderQuery.js +10 -0
- package/dist/reducer.d.ts +2 -0
- package/dist/reducer.js +3 -1
- package/dist/vite.d.ts +2 -0
- package/dist/vite.js +139 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<3dbc0ba8e9ea518248fc40171ed295de>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -529,7 +529,16 @@ const node = function () {
|
|
|
529
529
|
"kind": "LinkedField",
|
|
530
530
|
"name": "license",
|
|
531
531
|
"plural": false,
|
|
532
|
-
"selections": [v12 /*: any*/,
|
|
532
|
+
"selections": [v12 /*: any*/, {
|
|
533
|
+
"alias": null,
|
|
534
|
+
"args": null,
|
|
535
|
+
"concreteType": "License",
|
|
536
|
+
"kind": "LinkedField",
|
|
537
|
+
"name": "excludedLicenses",
|
|
538
|
+
"plural": true,
|
|
539
|
+
"selections": v16 /*: any*/,
|
|
540
|
+
"storageKey": null
|
|
541
|
+
}, v11 /*: any*/, {
|
|
533
542
|
"alias": null,
|
|
534
543
|
"args": null,
|
|
535
544
|
"concreteType": "LicenseVariable",
|
|
@@ -797,12 +806,12 @@ const node = function () {
|
|
|
797
806
|
}]
|
|
798
807
|
},
|
|
799
808
|
"params": {
|
|
800
|
-
"cacheID": "
|
|
809
|
+
"cacheID": "10adc8ac27d13d0bea5cc84bfe7c3d9c",
|
|
801
810
|
"id": null,
|
|
802
811
|
"metadata": {},
|
|
803
812
|
"name": "CheckoutUpdateOrderMutation",
|
|
804
813
|
"operationKind": "mutation",
|
|
805
|
-
"text": "mutation CheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment 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 ...useFontStyle_fontStyle\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\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
814
|
+
"text": "mutation CheckoutUpdateOrderMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n stripePaymentMethodId\n billingIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n licenseeIdentity {\n zip\n phoneNullable\n administrativeArea\n locality\n sublocality\n email\n vatNumber\n }\n }\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment 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 ...useFontStyle_fontStyle\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\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
806
815
|
}
|
|
807
816
|
};
|
|
808
817
|
}();
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<8a1ab76133c869f1e7c33e1e38525560>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
import { ConcreteRequest } from 'relay-runtime';
|
|
7
|
+
import { FragmentRefs } from "relay-runtime";
|
|
8
|
+
export type FontdueProviderQuery$variables = Record<PropertyKey, never>;
|
|
9
|
+
export type FontdueProviderQuery$data = {
|
|
10
|
+
readonly viewer: {
|
|
11
|
+
readonly " $fragmentSpreads": FragmentRefs<"ServerConfigProvider_viewer" | "TestModeBanner_viewer" | "ThemeConfig_viewer">;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export type FontdueProviderQuery = {
|
|
15
|
+
response: FontdueProviderQuery$data;
|
|
16
|
+
variables: FontdueProviderQuery$variables;
|
|
17
|
+
};
|
|
18
|
+
declare const node: ConcreteRequest;
|
|
19
|
+
export default node;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<8a1ab76133c869f1e7c33e1e38525560>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
// @ts-nocheck
|
|
10
|
+
|
|
11
|
+
const node = {
|
|
12
|
+
"fragment": {
|
|
13
|
+
"argumentDefinitions": [],
|
|
14
|
+
"kind": "Fragment",
|
|
15
|
+
"metadata": null,
|
|
16
|
+
"name": "FontdueProviderQuery",
|
|
17
|
+
"selections": [{
|
|
18
|
+
"alias": null,
|
|
19
|
+
"args": null,
|
|
20
|
+
"concreteType": "Viewer",
|
|
21
|
+
"kind": "LinkedField",
|
|
22
|
+
"name": "viewer",
|
|
23
|
+
"plural": false,
|
|
24
|
+
"selections": [{
|
|
25
|
+
"args": null,
|
|
26
|
+
"kind": "FragmentSpread",
|
|
27
|
+
"name": "ThemeConfig_viewer"
|
|
28
|
+
}, {
|
|
29
|
+
"args": null,
|
|
30
|
+
"kind": "FragmentSpread",
|
|
31
|
+
"name": "TestModeBanner_viewer"
|
|
32
|
+
}, {
|
|
33
|
+
"args": null,
|
|
34
|
+
"kind": "FragmentSpread",
|
|
35
|
+
"name": "ServerConfigProvider_viewer"
|
|
36
|
+
}],
|
|
37
|
+
"storageKey": null
|
|
38
|
+
}],
|
|
39
|
+
"type": "RootQueryType",
|
|
40
|
+
"abstractKey": null
|
|
41
|
+
},
|
|
42
|
+
"kind": "Request",
|
|
43
|
+
"operation": {
|
|
44
|
+
"argumentDefinitions": [],
|
|
45
|
+
"kind": "Operation",
|
|
46
|
+
"name": "FontdueProviderQuery",
|
|
47
|
+
"selections": [{
|
|
48
|
+
"alias": null,
|
|
49
|
+
"args": null,
|
|
50
|
+
"concreteType": "Viewer",
|
|
51
|
+
"kind": "LinkedField",
|
|
52
|
+
"name": "viewer",
|
|
53
|
+
"plural": false,
|
|
54
|
+
"selections": [{
|
|
55
|
+
"alias": null,
|
|
56
|
+
"args": null,
|
|
57
|
+
"concreteType": "ThemeConfig",
|
|
58
|
+
"kind": "LinkedField",
|
|
59
|
+
"name": "themeConfig",
|
|
60
|
+
"plural": false,
|
|
61
|
+
"selections": [{
|
|
62
|
+
"alias": null,
|
|
63
|
+
"args": null,
|
|
64
|
+
"kind": "ScalarField",
|
|
65
|
+
"name": "customProperties",
|
|
66
|
+
"storageKey": null
|
|
67
|
+
}],
|
|
68
|
+
"storageKey": null
|
|
69
|
+
}, {
|
|
70
|
+
"alias": null,
|
|
71
|
+
"args": null,
|
|
72
|
+
"concreteType": "TestMode",
|
|
73
|
+
"kind": "LinkedField",
|
|
74
|
+
"name": "testMode",
|
|
75
|
+
"plural": false,
|
|
76
|
+
"selections": [{
|
|
77
|
+
"alias": null,
|
|
78
|
+
"args": null,
|
|
79
|
+
"kind": "ScalarField",
|
|
80
|
+
"name": "isActive",
|
|
81
|
+
"storageKey": null
|
|
82
|
+
}],
|
|
83
|
+
"storageKey": null
|
|
84
|
+
}, {
|
|
85
|
+
"alias": null,
|
|
86
|
+
"args": null,
|
|
87
|
+
"concreteType": "FontdueConfig",
|
|
88
|
+
"kind": "LinkedField",
|
|
89
|
+
"name": "fontdueConfig",
|
|
90
|
+
"plural": false,
|
|
91
|
+
"selections": [{
|
|
92
|
+
"alias": null,
|
|
93
|
+
"args": null,
|
|
94
|
+
"concreteType": "FontdueTrackingConfig",
|
|
95
|
+
"kind": "LinkedField",
|
|
96
|
+
"name": "tracking",
|
|
97
|
+
"plural": false,
|
|
98
|
+
"selections": [{
|
|
99
|
+
"alias": null,
|
|
100
|
+
"args": null,
|
|
101
|
+
"kind": "ScalarField",
|
|
102
|
+
"name": "enabled",
|
|
103
|
+
"storageKey": null
|
|
104
|
+
}, {
|
|
105
|
+
"alias": null,
|
|
106
|
+
"args": null,
|
|
107
|
+
"kind": "ScalarField",
|
|
108
|
+
"name": "consentRequired",
|
|
109
|
+
"storageKey": null
|
|
110
|
+
}, {
|
|
111
|
+
"alias": null,
|
|
112
|
+
"args": null,
|
|
113
|
+
"kind": "ScalarField",
|
|
114
|
+
"name": "consentMessage",
|
|
115
|
+
"storageKey": null
|
|
116
|
+
}],
|
|
117
|
+
"storageKey": null
|
|
118
|
+
}],
|
|
119
|
+
"storageKey": null
|
|
120
|
+
}, {
|
|
121
|
+
"alias": null,
|
|
122
|
+
"args": null,
|
|
123
|
+
"kind": "ScalarField",
|
|
124
|
+
"name": "id",
|
|
125
|
+
"storageKey": null
|
|
126
|
+
}],
|
|
127
|
+
"storageKey": null
|
|
128
|
+
}]
|
|
129
|
+
},
|
|
130
|
+
"params": {
|
|
131
|
+
"cacheID": "8d7caa322aacca72f5aa7fcbef53fd77",
|
|
132
|
+
"id": null,
|
|
133
|
+
"metadata": {},
|
|
134
|
+
"name": "FontdueProviderQuery",
|
|
135
|
+
"operationKind": "query",
|
|
136
|
+
"text": "query FontdueProviderQuery {\n viewer {\n ...ThemeConfig_viewer\n ...TestModeBanner_viewer\n ...ServerConfigProvider_viewer\n id\n }\n}\n\nfragment ServerConfigProvider_viewer on Viewer {\n fontdueConfig {\n tracking {\n enabled\n consentRequired\n consentMessage\n }\n }\n}\n\nfragment TestModeBanner_viewer on Viewer {\n testMode {\n isActive\n }\n}\n\nfragment ThemeConfig_viewer on Viewer {\n themeConfig {\n customProperties\n }\n}\n"
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
node.hash = "5cbd582990daa28a99839c20abbc8bda";
|
|
140
|
+
export default node;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<7d7ce8a542b5ac6a3a53b2506ecea168>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -32,21 +32,21 @@ const node = function () {
|
|
|
32
32
|
"name": "id",
|
|
33
33
|
"storageKey": null
|
|
34
34
|
},
|
|
35
|
-
v3 =
|
|
35
|
+
v3 = [v2 /*: any*/],
|
|
36
|
+
v4 = {
|
|
36
37
|
"alias": null,
|
|
37
38
|
"args": null,
|
|
38
39
|
"kind": "ScalarField",
|
|
39
40
|
"name": "name",
|
|
40
41
|
"storageKey": null
|
|
41
42
|
},
|
|
42
|
-
|
|
43
|
+
v5 = {
|
|
43
44
|
"alias": null,
|
|
44
45
|
"args": null,
|
|
45
46
|
"kind": "ScalarField",
|
|
46
47
|
"name": "amount",
|
|
47
48
|
"storageKey": null
|
|
48
49
|
},
|
|
49
|
-
v5 = [v2 /*: any*/],
|
|
50
50
|
v6 = {
|
|
51
51
|
"alias": null,
|
|
52
52
|
"args": null,
|
|
@@ -54,10 +54,10 @@ const node = function () {
|
|
|
54
54
|
"kind": "LinkedField",
|
|
55
55
|
"name": "licenseOptions",
|
|
56
56
|
"plural": true,
|
|
57
|
-
"selections":
|
|
57
|
+
"selections": v3 /*: any*/,
|
|
58
58
|
"storageKey": null
|
|
59
59
|
},
|
|
60
|
-
v7 = [
|
|
60
|
+
v7 = [v5 /*: any*/, {
|
|
61
61
|
"alias": null,
|
|
62
62
|
"args": null,
|
|
63
63
|
"kind": "ScalarField",
|
|
@@ -137,7 +137,7 @@ const node = function () {
|
|
|
137
137
|
}],
|
|
138
138
|
"storageKey": null
|
|
139
139
|
},
|
|
140
|
-
v12 = [v9 /*: any*/,
|
|
140
|
+
v12 = [v9 /*: any*/, v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, v2 /*: any*/],
|
|
141
141
|
v13 = {
|
|
142
142
|
"alias": null,
|
|
143
143
|
"args": null,
|
|
@@ -145,7 +145,7 @@ const node = function () {
|
|
|
145
145
|
"name": "totalStyles",
|
|
146
146
|
"storageKey": null
|
|
147
147
|
},
|
|
148
|
-
v14 = [
|
|
148
|
+
v14 = [v4 /*: any*/, v2 /*: any*/],
|
|
149
149
|
v15 = {
|
|
150
150
|
"alias": null,
|
|
151
151
|
"args": null,
|
|
@@ -163,7 +163,7 @@ const node = function () {
|
|
|
163
163
|
"name": "email",
|
|
164
164
|
"storageKey": null
|
|
165
165
|
},
|
|
166
|
-
v17 = [
|
|
166
|
+
v17 = [v4 /*: any*/, {
|
|
167
167
|
"alias": null,
|
|
168
168
|
"args": null,
|
|
169
169
|
"kind": "ScalarField",
|
|
@@ -325,7 +325,16 @@ const node = function () {
|
|
|
325
325
|
"kind": "LinkedField",
|
|
326
326
|
"name": "license",
|
|
327
327
|
"plural": false,
|
|
328
|
-
"selections": [v2 /*: any*/,
|
|
328
|
+
"selections": [v2 /*: any*/, {
|
|
329
|
+
"alias": null,
|
|
330
|
+
"args": null,
|
|
331
|
+
"concreteType": "License",
|
|
332
|
+
"kind": "LinkedField",
|
|
333
|
+
"name": "excludedLicenses",
|
|
334
|
+
"plural": true,
|
|
335
|
+
"selections": v3 /*: any*/,
|
|
336
|
+
"storageKey": null
|
|
337
|
+
}, v4 /*: any*/, {
|
|
329
338
|
"alias": null,
|
|
330
339
|
"args": null,
|
|
331
340
|
"concreteType": "LicenseVariable",
|
|
@@ -339,7 +348,7 @@ const node = function () {
|
|
|
339
348
|
"kind": "LinkedField",
|
|
340
349
|
"name": "licenseOptions",
|
|
341
350
|
"plural": true,
|
|
342
|
-
"selections": [v2 /*: any*/,
|
|
351
|
+
"selections": [v2 /*: any*/, v4 /*: any*/, v5 /*: any*/],
|
|
343
352
|
"storageKey": null
|
|
344
353
|
}],
|
|
345
354
|
"storageKey": null
|
|
@@ -358,7 +367,7 @@ const node = function () {
|
|
|
358
367
|
"kind": "ScalarField",
|
|
359
368
|
"name": "units",
|
|
360
369
|
"storageKey": null
|
|
361
|
-
},
|
|
370
|
+
}, v4 /*: any*/, {
|
|
362
371
|
"alias": null,
|
|
363
372
|
"args": null,
|
|
364
373
|
"kind": "ScalarField",
|
|
@@ -379,7 +388,7 @@ const node = function () {
|
|
|
379
388
|
"kind": "ScalarField",
|
|
380
389
|
"name": "amounts",
|
|
381
390
|
"storageKey": null
|
|
382
|
-
},
|
|
391
|
+
}, v4 /*: any*/, v5 /*: any*/],
|
|
383
392
|
"storageKey": null
|
|
384
393
|
}, {
|
|
385
394
|
"alias": null,
|
|
@@ -423,7 +432,7 @@ const node = function () {
|
|
|
423
432
|
"plural": false,
|
|
424
433
|
"selections": v12 /*: any*/,
|
|
425
434
|
"storageKey": null
|
|
426
|
-
},
|
|
435
|
+
}, v4 /*: any*/, {
|
|
427
436
|
"alias": null,
|
|
428
437
|
"args": null,
|
|
429
438
|
"kind": "ScalarField",
|
|
@@ -443,12 +452,12 @@ const node = function () {
|
|
|
443
452
|
"plural": true,
|
|
444
453
|
"selections": v12 /*: any*/,
|
|
445
454
|
"storageKey": null
|
|
446
|
-
},
|
|
455
|
+
}, v4 /*: any*/, v15 /*: any*/],
|
|
447
456
|
"type": "Bundle",
|
|
448
457
|
"abstractKey": null
|
|
449
458
|
}, {
|
|
450
459
|
"kind": "InlineFragment",
|
|
451
|
-
"selections": [v9 /*: any*/,
|
|
460
|
+
"selections": [v9 /*: any*/, v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, {
|
|
452
461
|
"alias": null,
|
|
453
462
|
"args": null,
|
|
454
463
|
"concreteType": "FontCollection",
|
|
@@ -464,14 +473,14 @@ const node = function () {
|
|
|
464
473
|
"kind": "LinkedField",
|
|
465
474
|
"name": "variableInstances",
|
|
466
475
|
"plural": true,
|
|
467
|
-
"selections": [
|
|
476
|
+
"selections": [v4 /*: any*/],
|
|
468
477
|
"storageKey": null
|
|
469
478
|
}],
|
|
470
479
|
"type": "FontStyle",
|
|
471
480
|
"abstractKey": null
|
|
472
481
|
}, {
|
|
473
482
|
"kind": "InlineFragment",
|
|
474
|
-
"selections": [
|
|
483
|
+
"selections": [v4 /*: any*/, v13 /*: any*/, v15 /*: any*/],
|
|
475
484
|
"type": "CollectionBundle",
|
|
476
485
|
"abstractKey": null
|
|
477
486
|
}, {
|
|
@@ -483,7 +492,7 @@ const node = function () {
|
|
|
483
492
|
"kind": "LinkedField",
|
|
484
493
|
"name": "licenses",
|
|
485
494
|
"plural": true,
|
|
486
|
-
"selections": [v2 /*: any*/,
|
|
495
|
+
"selections": [v2 /*: any*/, v4 /*: any*/, {
|
|
487
496
|
"alias": null,
|
|
488
497
|
"args": null,
|
|
489
498
|
"concreteType": "LicenseVariable",
|
|
@@ -499,7 +508,7 @@ const node = function () {
|
|
|
499
508
|
"abstractKey": "__isLicenseable"
|
|
500
509
|
}, {
|
|
501
510
|
"kind": "InlineFragment",
|
|
502
|
-
"selections":
|
|
511
|
+
"selections": v3 /*: any*/,
|
|
503
512
|
"type": "Node",
|
|
504
513
|
"abstractKey": "__isNode"
|
|
505
514
|
}],
|
|
@@ -530,7 +539,7 @@ const node = function () {
|
|
|
530
539
|
"kind": "LinkedField",
|
|
531
540
|
"name": "customer",
|
|
532
541
|
"plural": false,
|
|
533
|
-
"selections": [
|
|
542
|
+
"selections": [v4 /*: any*/, v16 /*: any*/, {
|
|
534
543
|
"alias": null,
|
|
535
544
|
"args": null,
|
|
536
545
|
"kind": "ScalarField",
|
|
@@ -708,7 +717,7 @@ const node = function () {
|
|
|
708
717
|
"kind": "LinkedField",
|
|
709
718
|
"name": "orderVariable",
|
|
710
719
|
"plural": false,
|
|
711
|
-
"selections":
|
|
720
|
+
"selections": v3 /*: any*/,
|
|
712
721
|
"storageKey": null
|
|
713
722
|
}, {
|
|
714
723
|
"alias": null,
|
|
@@ -717,7 +726,7 @@ const node = function () {
|
|
|
717
726
|
"kind": "LinkedField",
|
|
718
727
|
"name": "orderVariableOption",
|
|
719
728
|
"plural": false,
|
|
720
|
-
"selections":
|
|
729
|
+
"selections": v3 /*: any*/,
|
|
721
730
|
"storageKey": null
|
|
722
731
|
}, {
|
|
723
732
|
"alias": null,
|
|
@@ -779,12 +788,12 @@ const node = function () {
|
|
|
779
788
|
}]
|
|
780
789
|
},
|
|
781
790
|
"params": {
|
|
782
|
-
"cacheID": "
|
|
791
|
+
"cacheID": "d124020ee71b36dbbea10386c3481b22",
|
|
783
792
|
"id": null,
|
|
784
793
|
"metadata": {},
|
|
785
794
|
"name": "PrecartAddToCartMutation",
|
|
786
795
|
"operationKind": "mutation",
|
|
787
|
-
"text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment 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 ...useFontStyle_fontStyle\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\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
796
|
+
"text": "mutation PrecartAddToCartMutation(\n $input: CreateOrderItemsInput!\n) {\n createOrderItems(input: $input) {\n order {\n ...CartButton_order\n ...CartOrder_order\n ...AddToCartBanner_order\n id\n }\n }\n}\n\nfragment AddToCartBanner_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n sku {\n product {\n __typename\n ... on FontCollection {\n name\n }\n ... on FontStyle {\n name\n family {\n name\n id\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on CollectionBundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n }\n}\n\nfragment CartButton_order on Order {\n stripeCharge {\n paid\n }\n orderItems {\n id\n }\n subtotal {\n ...Price_price\n }\n}\n\nfragment CartItemAdditionalLicenses_licenses on License {\n id\n name\n}\n\nfragment CartItemAdditionalLicenses_orderItem on OrderItem {\n licenseSelections {\n license {\n id\n excludedLicenses {\n id\n }\n }\n id\n }\n}\n\nfragment CartItemLicense_selection on LicenseSelection {\n id\n license {\n id\n name\n licenseVariables {\n id\n ...CartItemVariable_variable\n }\n }\n licenseVariable {\n id\n }\n ...CartItemVariable_selection\n}\n\nfragment CartItemProduct_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n id\n }\n name\n variableInstances {\n name\n }\n }\n ... on Bundle {\n name\n fontCollection {\n name\n id\n }\n }\n ... on FontCollection {\n name\n isVariableFont\n totalStyles\n }\n ... on CollectionBundle {\n name\n totalStyles\n fontCollection {\n name\n id\n }\n }\n}\n\nfragment CartItemVariable_selection on LicenseSelection {\n id\n variableText\n license {\n id\n }\n licenseVariable {\n ...VariableTableAmounts_variable\n id\n name\n variableType\n licenseOptions {\n id\n }\n }\n licenseOption {\n ...VariableTableAmounts_option\n id\n name\n amount\n }\n}\n\nfragment CartItemVariable_variable on LicenseVariable {\n id\n licenseOptions {\n id\n name\n amount\n }\n}\n\nfragment CartItem_node on OrderItem {\n ...CartItemAdditionalLicenses_orderItem\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n ...CartItemProduct_product\n __typename\n ... on Licenseable {\n __isLicenseable: __typename\n licenses {\n ...CartItemAdditionalLicenses_licenses\n id\n licenseVariables {\n id\n licenseOptions {\n id\n }\n }\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n ...CartItemLicense_selection\n id\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CartTotals_order\n ...CartState_order\n id\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 orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n id\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 CartState_order on Order {\n id\n orderItems {\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n orderVariableSelections {\n orderVariable {\n id\n }\n orderVariableOption {\n id\n }\n countryCode\n id\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxRate\n taxes {\n ...Price_price\n }\n taxName\n taxNotApplicable\n taxNotApplicableReason\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 phoneNullable\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phoneNullable\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 }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmount {\n amount\n currency\n }\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment 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 ...useFontStyle_fontStyle\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\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n }\n}\n"
|
|
788
797
|
}
|
|
789
798
|
};
|
|
790
799
|
}();
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<a0ad091a52f06b6a576578c048c56521>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -92,7 +92,8 @@ const node = function () {
|
|
|
92
92
|
"selections": [v7 /*: any*/],
|
|
93
93
|
"storageKey": null
|
|
94
94
|
}],
|
|
95
|
-
v12 =
|
|
95
|
+
v12 = [v5 /*: any*/],
|
|
96
|
+
v13 = {
|
|
96
97
|
"alias": null,
|
|
97
98
|
"args": null,
|
|
98
99
|
"kind": "ScalarField",
|
|
@@ -202,7 +203,7 @@ const node = function () {
|
|
|
202
203
|
"abstractKey": null
|
|
203
204
|
}, {
|
|
204
205
|
"kind": "InlineFragment",
|
|
205
|
-
"selections":
|
|
206
|
+
"selections": v12 /*: any*/,
|
|
206
207
|
"type": "Node",
|
|
207
208
|
"abstractKey": "__isNode"
|
|
208
209
|
}],
|
|
@@ -254,7 +255,7 @@ const node = function () {
|
|
|
254
255
|
"kind": "ScalarField",
|
|
255
256
|
"name": "description",
|
|
256
257
|
"storageKey": "description(format:\"HTML\")"
|
|
257
|
-
},
|
|
258
|
+
}, v13 /*: any*/, {
|
|
258
259
|
"alias": "variables",
|
|
259
260
|
"args": null,
|
|
260
261
|
"concreteType": "LicenseVariable",
|
|
@@ -274,7 +275,7 @@ const node = function () {
|
|
|
274
275
|
"kind": "LinkedField",
|
|
275
276
|
"name": "licenseOptions",
|
|
276
277
|
"plural": true,
|
|
277
|
-
"selections": [v5 /*: any*/, v7 /*: any*/,
|
|
278
|
+
"selections": [v5 /*: any*/, v7 /*: any*/, v13 /*: any*/],
|
|
278
279
|
"storageKey": null
|
|
279
280
|
}],
|
|
280
281
|
"storageKey": null
|
|
@@ -284,6 +285,15 @@ const node = function () {
|
|
|
284
285
|
"kind": "ScalarField",
|
|
285
286
|
"name": "defaultSelected",
|
|
286
287
|
"storageKey": null
|
|
288
|
+
}, {
|
|
289
|
+
"alias": null,
|
|
290
|
+
"args": null,
|
|
291
|
+
"concreteType": "License",
|
|
292
|
+
"kind": "LinkedField",
|
|
293
|
+
"name": "excludedLicenses",
|
|
294
|
+
"plural": true,
|
|
295
|
+
"selections": v12 /*: any*/,
|
|
296
|
+
"storageKey": null
|
|
287
297
|
}],
|
|
288
298
|
"storageKey": null
|
|
289
299
|
}],
|
|
@@ -294,12 +304,12 @@ const node = function () {
|
|
|
294
304
|
}]
|
|
295
305
|
},
|
|
296
306
|
"params": {
|
|
297
|
-
"cacheID": "
|
|
307
|
+
"cacheID": "49a992226cb1f0aa0af296cca5773b09",
|
|
298
308
|
"id": null,
|
|
299
309
|
"metadata": {},
|
|
300
310
|
"name": "PrecartQuery",
|
|
301
311
|
"operationKind": "query",
|
|
302
|
-
"text": "query PrecartQuery(\n $licenseOptionsSpecs: [LicenseOptionsSpec]!\n $selectedSkuIds: [ID]!\n $collectionId: ID!\n) {\n viewer {\n ...Precart_viewer_DvL55\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...Precart_collection\n id\n }\n}\n\nfragment License_node on License {\n id\n url\n name\n description(format: HTML)\n multiplier\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n multiplier\n }\n }\n}\n\nfragment Precart_collection on FontCollection {\n name\n licenses {\n ...License_node\n name\n id\n defaultSelected\n variables: licenseVariables {\n id\n options: licenseOptions {\n id\n }\n }\n }\n}\n\nfragment Precart_viewer_DvL55 on Viewer {\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptionsSpecs) {\n skus {\n id\n price(licenseOptions: $licenseOptionsSpecs) {\n amount\n ...Price_price\n }\n product {\n __typename\n ... on FontCollection {\n name\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptionsSpecs) {\n amount\n }\n }\n ... on Bundle {\n name\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptionsSpecs) {\n amount\n }\n }\n ... on FontStyle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n subtotal {\n amount\n currency\n ...Price_price\n }\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
312
|
+
"text": "query PrecartQuery(\n $licenseOptionsSpecs: [LicenseOptionsSpec]!\n $selectedSkuIds: [ID]!\n $collectionId: ID!\n) {\n viewer {\n ...Precart_viewer_DvL55\n id\n }\n collection: node(id: $collectionId) {\n __typename\n ...Precart_collection\n id\n }\n}\n\nfragment License_node on License {\n id\n url\n name\n description(format: HTML)\n multiplier\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n multiplier\n }\n }\n}\n\nfragment Precart_collection on FontCollection {\n name\n licenses {\n ...License_node\n name\n id\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n options: licenseOptions {\n id\n }\n }\n }\n}\n\nfragment Precart_viewer_DvL55 on Viewer {\n precart(skuIds: $selectedSkuIds, licenseOptions: $licenseOptionsSpecs) {\n skus {\n id\n price(licenseOptions: $licenseOptionsSpecs) {\n amount\n ...Price_price\n }\n product {\n __typename\n ... on FontCollection {\n name\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptionsSpecs) {\n amount\n }\n }\n ... on Bundle {\n name\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptionsSpecs) {\n amount\n }\n }\n ... on FontStyle {\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n subtotal {\n amount\n currency\n ...Price_price\n }\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
303
313
|
}
|
|
304
314
|
};
|
|
305
315
|
}();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<1a52df694a9c2262a5b0b92c7b6d7d51>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -8,6 +8,9 @@ import { FragmentRefs } from "relay-runtime";
|
|
|
8
8
|
export type Precart_collection$data = {
|
|
9
9
|
readonly licenses: ReadonlyArray<{
|
|
10
10
|
readonly defaultSelected: boolean | null;
|
|
11
|
+
readonly excludedLicenses: ReadonlyArray<{
|
|
12
|
+
readonly id: string;
|
|
13
|
+
}>;
|
|
11
14
|
readonly id: string;
|
|
12
15
|
readonly name: string | null;
|
|
13
16
|
readonly variables: ReadonlyArray<{
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* @generated SignedSource<<
|
|
8
|
+
* @generated SignedSource<<1a52df694a9c2262a5b0b92c7b6d7d51>>
|
|
9
9
|
* @lightSyntaxTransform
|
|
10
10
|
* @nogrep
|
|
11
11
|
*/
|
|
@@ -28,7 +28,8 @@ const node = function () {
|
|
|
28
28
|
"kind": "ScalarField",
|
|
29
29
|
"name": "id",
|
|
30
30
|
"storageKey": null
|
|
31
|
-
}
|
|
31
|
+
},
|
|
32
|
+
v2 = [v1 /*: any*/];
|
|
32
33
|
return {
|
|
33
34
|
"argumentDefinitions": [],
|
|
34
35
|
"kind": "Fragment",
|
|
@@ -51,6 +52,15 @@ const node = function () {
|
|
|
51
52
|
"kind": "ScalarField",
|
|
52
53
|
"name": "defaultSelected",
|
|
53
54
|
"storageKey": null
|
|
55
|
+
}, {
|
|
56
|
+
"alias": null,
|
|
57
|
+
"args": null,
|
|
58
|
+
"concreteType": "License",
|
|
59
|
+
"kind": "LinkedField",
|
|
60
|
+
"name": "excludedLicenses",
|
|
61
|
+
"plural": true,
|
|
62
|
+
"selections": v2 /*: any*/,
|
|
63
|
+
"storageKey": null
|
|
54
64
|
}, {
|
|
55
65
|
"alias": "variables",
|
|
56
66
|
"args": null,
|
|
@@ -65,7 +75,7 @@ const node = function () {
|
|
|
65
75
|
"kind": "LinkedField",
|
|
66
76
|
"name": "licenseOptions",
|
|
67
77
|
"plural": true,
|
|
68
|
-
"selections":
|
|
78
|
+
"selections": v2 /*: any*/,
|
|
69
79
|
"storageKey": null
|
|
70
80
|
}],
|
|
71
81
|
"storageKey": null
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @generated SignedSource<<
|
|
2
|
+
* @generated SignedSource<<22b60fe320184f799553a9299027bd80>>
|
|
3
3
|
* @lightSyntaxTransform
|
|
4
4
|
* @nogrep
|
|
5
5
|
*/
|
|
@@ -7,6 +7,9 @@ import { ReaderFragment } from 'relay-runtime';
|
|
|
7
7
|
import { FragmentRefs } from "relay-runtime";
|
|
8
8
|
export type Precart_license$data = {
|
|
9
9
|
readonly defaultSelected: boolean | null;
|
|
10
|
+
readonly excludedLicenses: ReadonlyArray<{
|
|
11
|
+
readonly id: string;
|
|
12
|
+
}>;
|
|
10
13
|
readonly id: string;
|
|
11
14
|
readonly name: string | null;
|
|
12
15
|
readonly variables: ReadonlyArray<{
|