fontdue-js 0.1.0-alpha3 → 0.1.0-alpha30
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/.nvmrc +1 -0
- package/BuyButton.d.ts +3 -0
- package/BuyButton.js +1 -0
- package/CartButton.d.ts +3 -0
- package/CartButton.js +1 -0
- package/FontdueProvider.d.ts +3 -0
- package/FontdueProvider.js +1 -0
- package/NewsletterSignup.d.ts +3 -0
- package/NewsletterSignup.js +1 -0
- package/README.md +30 -2
- package/StoreModal.d.ts +3 -0
- package/StoreModal.js +1 -0
- package/TestFontsForm.d.ts +3 -0
- package/TestFontsForm.js +1 -0
- package/TypeTester.d.ts +3 -0
- package/TypeTester.js +1 -0
- package/TypeTesters.d.ts +3 -0
- package/TypeTesters.js +1 -0
- package/dist/__generated__/CartOrderApplyCouponMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrderUpdateMutation.graphql.js +9 -2
- package/dist/__generated__/CartOrder_viewer.graphql.js +7 -3
- package/dist/__generated__/CartQuery.graphql.js +16 -5
- package/dist/__generated__/CartStateApplyCouponMutation.graphql.js +9 -2
- package/dist/__generated__/CartStateRemoveDiscountMutation.graphql.js +9 -2
- package/dist/__generated__/CartStateUpdateMutation.graphql.js +9 -2
- package/dist/__generated__/CartTotals_order.graphql.d.ts +1 -0
- package/dist/__generated__/CartTotals_order.graphql.js +7 -1
- package/dist/__generated__/CharacterViewer_Query.graphql.d.ts +16 -0
- package/dist/__generated__/CharacterViewer_Query.graphql.js +255 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.d.ts +49 -0
- package/dist/__generated__/CharacterViewer_collection.graphql.js +135 -0
- package/dist/__generated__/CharacterViewer_family.graphql.d.ts +28 -0
- package/dist/__generated__/CharacterViewer_family.graphql.js +102 -0
- package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +9 -2
- package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +9 -2
- package/dist/__generated__/PrecartAddToCartMutation.graphql.js +9 -2
- package/dist/__generated__/StoreModalCartQuery.graphql.js +9 -2
- package/dist/__generated__/StoreModalReviewCompleteOrderMutation.graphql.js +9 -2
- package/dist/__generated__/StoreModalReviewQuery.graphql.js +9 -2
- package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +9 -2
- package/dist/__generated__/TestFontsForm_Query.graphql.js +18 -9
- package/dist/__generated__/TestFontsForm_viewer.graphql.js +69 -57
- package/dist/__generated__/TypeTesterData_typeTester.graphql.d.ts +1 -0
- package/dist/__generated__/TypeTesterData_typeTester.graphql.js +48 -40
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.d.ts +16 -0
- package/dist/__generated__/TypeTesterFloatingToolbar_testers.graphql.js +44 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +2 -0
- package/dist/__generated__/TypeTestersIDQuery.graphql.js +155 -64
- package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +2 -0
- package/dist/__generated__/TypeTestersSlugQuery.graphql.js +157 -66
- package/dist/__generated__/TypeTesters_collection.graphql.d.ts +7 -1
- package/dist/__generated__/TypeTesters_collection.graphql.js +49 -5
- package/dist/components/AddToCartBanner/index.js +2 -2
- package/dist/components/BuyButton/index.d.ts +3 -3
- package/dist/components/BuyButton/index.js +0 -18
- package/dist/components/Cart/AddressFields.js +2 -2
- package/dist/components/Cart/CartItem/VariableTextInput.js +1 -1
- package/dist/components/Cart/CartItem/index.js +5 -5
- package/dist/components/Cart/CartOrder.js +1 -1
- package/dist/components/Cart/CartTotals.js +3 -3
- package/dist/components/Cart/Checkout.js +4 -3
- package/dist/components/Cart/CustomerFields.js +55 -45
- package/dist/components/CharacterViewer/index.d.ts +6 -0
- package/dist/components/CharacterViewer/index.js +245 -0
- package/dist/components/Checkbox/index.d.ts +4 -0
- package/dist/components/{FontLoader → Checkbox}/index.js +17 -47
- package/dist/components/ConfigContext.d.ts +6 -0
- package/dist/components/CouponText/index.js +1 -1
- package/dist/components/Family/index.js +1 -1
- package/dist/components/FontStyle/index.js +1 -1
- package/dist/components/FontdueProvider/index.d.ts +2 -2
- package/dist/components/Icons/Align.d.ts +4 -0
- package/dist/components/Icons/Align.js +63 -0
- package/dist/components/Icons/CheckboxCrossed.d.ts +3 -0
- package/dist/components/Icons/CheckboxCrossed.js +30 -0
- package/dist/components/Icons/index.d.ts +1 -0
- package/dist/components/Icons/index.js +8 -0
- package/dist/components/NewsletterSignup/index.d.ts +2 -0
- package/dist/components/NewsletterSignup/index.js +4 -2
- package/dist/components/Price/index.js +1 -1
- package/dist/components/PriceBar/PriceBarSection.js +2 -2
- package/dist/components/Root/index.d.ts +4 -0
- package/dist/components/Root/index.js +94 -50
- package/dist/components/Root/productState.js +1 -1
- package/dist/components/Select/index.d.ts +11 -0
- package/dist/components/Select/index.js +44 -0
- package/dist/components/StoreModal/StoreModalCart.js +8 -3
- package/dist/components/StoreModal/StoreModalCheckout.js +6 -2
- package/dist/components/StoreModal/StoreModalFamilyButton.js +4 -4
- package/dist/components/StoreModal/StoreModalIndex.js +28 -16
- package/dist/components/StoreModal/StoreModalProduct.js +9 -3
- package/dist/components/StoreModal/createRouter.js +0 -1
- package/dist/components/StoreModal/types.d.ts +4 -0
- package/dist/components/StoreModal/types.js +5 -0
- package/dist/components/StoreModalProductLicenseSelection/LicenseElement.js +24 -12
- package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +1 -1
- package/dist/components/StoreModalProductLicenseSelection/index.js +1 -1
- package/dist/components/StoreModalProductSummary/index.js +3 -1
- package/dist/components/TestFontsForm/index.d.ts +2 -1
- package/dist/components/TestFontsForm/index.js +25 -28
- package/dist/components/ThemeConfig/index.js +1 -1
- package/dist/components/TypeTester/TypeTesterAlignButtons.d.ts +8 -0
- package/dist/components/TypeTester/TypeTesterAlignButtons.js +39 -0
- package/dist/components/TypeTester/TypeTesterContent.d.ts +7 -2
- package/dist/components/TypeTester/TypeTesterContent.js +22 -6
- package/dist/components/TypeTester/TypeTesterContext.d.ts +51 -7
- package/dist/components/TypeTester/TypeTesterContext.js +119 -9
- package/dist/components/TypeTester/TypeTesterFeatures.d.ts +1 -2
- package/dist/components/TypeTester/TypeTesterFeatures.js +113 -15
- package/dist/components/TypeTester/TypeTesterFeaturesButton.js +2 -1
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.d.ts +8 -0
- package/dist/components/TypeTester/TypeTesterFloatingToolbar.js +93 -0
- package/dist/components/TypeTester/TypeTesterInput.js +1 -1
- package/dist/components/TypeTester/TypeTesterStandalone.d.ts +4 -0
- package/dist/components/TypeTester/TypeTesterStandalone.js +19 -7
- package/dist/components/TypeTester/TypeTesterState.d.ts +23 -25
- package/dist/components/TypeTester/TypeTesterState.js +69 -71
- package/dist/components/TypeTester/TypeTesterStyleSelect.js +20 -26
- package/dist/components/TypeTester/TypeTesterStyleSelectData.d.ts +1 -1
- package/dist/components/TypeTester/TypeTesterStyleSelectData.js +3 -1
- package/dist/components/TypeTester/TypeTesterToolbar.d.ts +9 -0
- package/dist/components/TypeTester/TypeTesterToolbar.js +57 -0
- package/dist/components/TypeTester/index.d.ts +20 -6
- package/dist/components/TypeTester/index.js +121 -112
- package/dist/components/TypeTester/types.d.ts +1 -0
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +4 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +24 -13
- package/dist/components/TypeTesterData/index.js +2 -1
- package/dist/components/TypeTesters/index.d.ts +9 -4
- package/dist/components/TypeTesters/index.js +80 -26
- package/dist/components/elements/EmptyCart/index.js +1 -3
- package/dist/components/elements/StoreModalIndexItem/index.js +18 -16
- package/dist/components/elements/StoreModalReviewConfirm/index.js +7 -1
- package/dist/components/elements/StoreModalReviewLayout/index.js +1 -1
- package/dist/components/useFontStyle.js +1 -1
- package/dist/relay-environment.js +1 -1
- package/dist/utils.js +3 -3
- package/dist/vanilla/FontStyle.js +1 -1
- package/fontdue.css +1654 -1059
- package/fontdue.css.map +1 -0
- package/package.json +14 -12
- package/useFontStyle.d.ts +3 -0
- package/useFontStyle.js +1 -0
- package/dist/index.js +0 -63
- package/dist/type-tester.js +0 -23
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v14.13.1
|
package/BuyButton.d.ts
ADDED
package/BuyButton.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/BuyButton');
|
package/CartButton.d.ts
ADDED
package/CartButton.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/CartButton');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/FontdueProvider');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/NewsletterSignup');
|
package/README.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# fontdue-js
|
|
2
2
|
|
|
3
|
-
[Fontdue.js](https://docs.fontdue.com)
|
|
3
|
+
This package exports [Fontdue.js](https://docs.fontdue.com) componnets for React projects.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
1. Wrap the root of your project with the [`FontdueProvider`](#fontdueprovider) component. For example in a Next.js app, add it to your `_app.tsx`.
|
|
8
|
+
2. Replace the `url` property with your Fontdue store URL.
|
|
9
|
+
3. Render the [`StoreModal`](#storemodal) component so that is it available on every page.
|
|
10
|
+
4. Import the `fontdue-js/fontdue.css` CSS file. (This example uses Next.js)
|
|
11
|
+
|
|
12
|
+
```tsx
|
|
13
|
+
import type { AppProps } from 'next/app';
|
|
14
|
+
import Head from 'next/head';
|
|
15
|
+
import React from 'react';
|
|
16
|
+
import FontdueProvider from 'fontdue-js/dist/components/FontdueProvider';
|
|
17
|
+
import StoreModal from 'fontdue-js/dist/components/StoreModal';
|
|
18
|
+
import 'fontdue-js/fontdue.css';
|
|
19
|
+
|
|
20
|
+
function MyApp({ Component, pageProps }: AppProps) {
|
|
21
|
+
return (
|
|
22
|
+
<React.Fragment>
|
|
23
|
+
<FontdueProvider url="https://example.fontdue.com" config={{}}>
|
|
24
|
+
<Component {...pageProps} />
|
|
25
|
+
|
|
26
|
+
<StoreModal />
|
|
27
|
+
</FontdueProvider>
|
|
28
|
+
</React.Fragment>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default MyApp;
|
|
33
|
+
```
|
package/StoreModal.d.ts
ADDED
package/StoreModal.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/StoreModal');
|
package/TestFontsForm.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/TestFontsForm');
|
package/TypeTester.d.ts
ADDED
package/TypeTester.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/TypeTester/TypeTesterStandalone');
|
package/TypeTesters.d.ts
ADDED
package/TypeTesters.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/components/TypeTesters');
|
|
@@ -167,6 +167,7 @@ fragment CartTotals_order on Order {
|
|
|
167
167
|
...Price_price
|
|
168
168
|
}
|
|
169
169
|
isVatTax
|
|
170
|
+
gstIncluded
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
fragment Checkout_order on Order {
|
|
@@ -696,6 +697,12 @@ const node = function () {
|
|
|
696
697
|
"kind": "ScalarField",
|
|
697
698
|
"name": "isVatTax",
|
|
698
699
|
"storageKey": null
|
|
700
|
+
}, {
|
|
701
|
+
"alias": null,
|
|
702
|
+
"args": null,
|
|
703
|
+
"kind": "ScalarField",
|
|
704
|
+
"name": "gstIncluded",
|
|
705
|
+
"storageKey": null
|
|
699
706
|
}, {
|
|
700
707
|
"alias": null,
|
|
701
708
|
"args": null,
|
|
@@ -994,12 +1001,12 @@ const node = function () {
|
|
|
994
1001
|
}]
|
|
995
1002
|
},
|
|
996
1003
|
"params": {
|
|
997
|
-
"cacheID": "
|
|
1004
|
+
"cacheID": "5f276290a3daf13c2f37cac95572d49a",
|
|
998
1005
|
"id": null,
|
|
999
1006
|
"metadata": {},
|
|
1000
1007
|
"name": "CartOrderApplyCouponMutation",
|
|
1001
1008
|
"operationKind": "mutation",
|
|
1002
|
-
"text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
1009
|
+
"text": "mutation CartOrderApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
1003
1010
|
}
|
|
1004
1011
|
};
|
|
1005
1012
|
}();
|
|
@@ -166,6 +166,7 @@ fragment CartTotals_order on Order {
|
|
|
166
166
|
...Price_price
|
|
167
167
|
}
|
|
168
168
|
isVatTax
|
|
169
|
+
gstIncluded
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
fragment Checkout_order on Order {
|
|
@@ -686,6 +687,12 @@ const node = function () {
|
|
|
686
687
|
"kind": "ScalarField",
|
|
687
688
|
"name": "isVatTax",
|
|
688
689
|
"storageKey": null
|
|
690
|
+
}, {
|
|
691
|
+
"alias": null,
|
|
692
|
+
"args": null,
|
|
693
|
+
"kind": "ScalarField",
|
|
694
|
+
"name": "gstIncluded",
|
|
695
|
+
"storageKey": null
|
|
689
696
|
}, {
|
|
690
697
|
"alias": null,
|
|
691
698
|
"args": null,
|
|
@@ -986,12 +993,12 @@ const node = function () {
|
|
|
986
993
|
}]
|
|
987
994
|
},
|
|
988
995
|
"params": {
|
|
989
|
-
"cacheID": "
|
|
996
|
+
"cacheID": "4fbcd447d226f9ea662410efc57a8e44",
|
|
990
997
|
"id": null,
|
|
991
998
|
"metadata": {},
|
|
992
999
|
"name": "CartOrderCompleteOrderMutation",
|
|
993
1000
|
"operationKind": "mutation",
|
|
994
|
-
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
1001
|
+
"text": "mutation CartOrderCompleteOrderMutation {\n completeOrder {\n order {\n ...CartOrder_order\n id\n }\n requiresAction\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
995
1002
|
}
|
|
996
1003
|
};
|
|
997
1004
|
}();
|
|
@@ -165,6 +165,7 @@ fragment CartTotals_order on Order {
|
|
|
165
165
|
...Price_price
|
|
166
166
|
}
|
|
167
167
|
isVatTax
|
|
168
|
+
gstIncluded
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
fragment Checkout_order on Order {
|
|
@@ -676,6 +677,12 @@ const node = function () {
|
|
|
676
677
|
"kind": "ScalarField",
|
|
677
678
|
"name": "isVatTax",
|
|
678
679
|
"storageKey": null
|
|
680
|
+
}, {
|
|
681
|
+
"alias": null,
|
|
682
|
+
"args": null,
|
|
683
|
+
"kind": "ScalarField",
|
|
684
|
+
"name": "gstIncluded",
|
|
685
|
+
"storageKey": null
|
|
679
686
|
}, {
|
|
680
687
|
"alias": null,
|
|
681
688
|
"args": null,
|
|
@@ -974,12 +981,12 @@ const node = function () {
|
|
|
974
981
|
}]
|
|
975
982
|
},
|
|
976
983
|
"params": {
|
|
977
|
-
"cacheID": "
|
|
984
|
+
"cacheID": "49d4ce604267dc51fd45bad88e584910",
|
|
978
985
|
"id": null,
|
|
979
986
|
"metadata": {},
|
|
980
987
|
"name": "CartOrderRemoveDiscountMutation",
|
|
981
988
|
"operationKind": "mutation",
|
|
982
|
-
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
989
|
+
"text": "mutation CartOrderRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CartOrder_order\n id\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
983
990
|
}
|
|
984
991
|
};
|
|
985
992
|
}();
|
|
@@ -172,6 +172,7 @@ fragment CartTotals_order on Order {
|
|
|
172
172
|
...Price_price
|
|
173
173
|
}
|
|
174
174
|
isVatTax
|
|
175
|
+
gstIncluded
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
fragment Checkout_order on Order {
|
|
@@ -728,6 +729,12 @@ const node = function () {
|
|
|
728
729
|
"kind": "ScalarField",
|
|
729
730
|
"name": "isVatTax",
|
|
730
731
|
"storageKey": null
|
|
732
|
+
}, {
|
|
733
|
+
"alias": null,
|
|
734
|
+
"args": null,
|
|
735
|
+
"kind": "ScalarField",
|
|
736
|
+
"name": "gstIncluded",
|
|
737
|
+
"storageKey": null
|
|
731
738
|
}, {
|
|
732
739
|
"alias": null,
|
|
733
740
|
"args": null,
|
|
@@ -1028,12 +1035,12 @@ const node = function () {
|
|
|
1028
1035
|
}]
|
|
1029
1036
|
},
|
|
1030
1037
|
"params": {
|
|
1031
|
-
"cacheID": "
|
|
1038
|
+
"cacheID": "76e1eeee28e4dd09a6af4bedcfc55e62",
|
|
1032
1039
|
"id": null,
|
|
1033
1040
|
"metadata": {},
|
|
1034
1041
|
"name": "CartOrderUpdateMutation",
|
|
1035
1042
|
"operationKind": "mutation",
|
|
1036
|
-
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
1043
|
+
"text": "mutation CartOrderUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartOrder_order\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\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"
|
|
1037
1044
|
}
|
|
1038
1045
|
};
|
|
1039
1046
|
}();
|
|
@@ -23,10 +23,14 @@ const node = {
|
|
|
23
23
|
"plural": false,
|
|
24
24
|
"selections": [{
|
|
25
25
|
"alias": null,
|
|
26
|
-
"args":
|
|
26
|
+
"args": [{
|
|
27
|
+
"kind": "Literal",
|
|
28
|
+
"name": "format",
|
|
29
|
+
"value": "HTML"
|
|
30
|
+
}],
|
|
27
31
|
"kind": "ScalarField",
|
|
28
32
|
"name": "eulaAgreementLabel",
|
|
29
|
-
"storageKey":
|
|
33
|
+
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
30
34
|
}],
|
|
31
35
|
"storageKey": null
|
|
32
36
|
}, {
|
|
@@ -45,6 +49,6 @@ const node = {
|
|
|
45
49
|
"type": "Viewer",
|
|
46
50
|
"abstractKey": null
|
|
47
51
|
};
|
|
48
|
-
node.hash = '
|
|
52
|
+
node.hash = '43e3f6416c11542af964035f3c40bade';
|
|
49
53
|
var _default = node;
|
|
50
54
|
exports.default = _default;
|
|
@@ -165,7 +165,7 @@ fragment CartOrder_viewer on Viewer {
|
|
|
165
165
|
...CartItem_viewer
|
|
166
166
|
...Checkout_viewer
|
|
167
167
|
settings {
|
|
168
|
-
eulaAgreementLabel
|
|
168
|
+
eulaAgreementLabel(format: HTML)
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
|
|
@@ -195,6 +195,7 @@ fragment CartTotals_order on Order {
|
|
|
195
195
|
...Price_price
|
|
196
196
|
}
|
|
197
197
|
isVatTax
|
|
198
|
+
gstIncluded
|
|
198
199
|
}
|
|
199
200
|
|
|
200
201
|
fragment Cart_viewer on Viewer {
|
|
@@ -565,10 +566,14 @@ const node = function () {
|
|
|
565
566
|
"storageKey": null
|
|
566
567
|
}, {
|
|
567
568
|
"alias": null,
|
|
568
|
-
"args":
|
|
569
|
+
"args": [{
|
|
570
|
+
"kind": "Literal",
|
|
571
|
+
"name": "format",
|
|
572
|
+
"value": "HTML"
|
|
573
|
+
}],
|
|
569
574
|
"kind": "ScalarField",
|
|
570
575
|
"name": "eulaAgreementLabel",
|
|
571
|
-
"storageKey":
|
|
576
|
+
"storageKey": "eulaAgreementLabel(format:\"HTML\")"
|
|
572
577
|
}],
|
|
573
578
|
"storageKey": null
|
|
574
579
|
}, {
|
|
@@ -853,6 +858,12 @@ const node = function () {
|
|
|
853
858
|
"kind": "ScalarField",
|
|
854
859
|
"name": "isVatTax",
|
|
855
860
|
"storageKey": null
|
|
861
|
+
}, {
|
|
862
|
+
"alias": null,
|
|
863
|
+
"args": null,
|
|
864
|
+
"kind": "ScalarField",
|
|
865
|
+
"name": "gstIncluded",
|
|
866
|
+
"storageKey": null
|
|
856
867
|
}, {
|
|
857
868
|
"alias": null,
|
|
858
869
|
"args": null,
|
|
@@ -1153,12 +1164,12 @@ const node = function () {
|
|
|
1153
1164
|
}]
|
|
1154
1165
|
},
|
|
1155
1166
|
"params": {
|
|
1156
|
-
"cacheID": "
|
|
1167
|
+
"cacheID": "6d2cccc94493648a20e0b16441b2cdc6",
|
|
1157
1168
|
"id": null,
|
|
1158
1169
|
"metadata": {},
|
|
1159
1170
|
"name": "CartQuery",
|
|
1160
1171
|
"operationKind": "query",
|
|
1161
|
-
"text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1172
|
+
"text": "query CartQuery {\n viewer {\n ...Cart_viewer\n id\n }\n}\n\nfragment AddressFields_viewer on Viewer {\n countries {\n code\n name\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartItem_viewer on Viewer {\n licenses(licenseTypes: [RETAIL]) {\n id\n name\n variables: licenseVariables {\n id\n name\n variableType\n options: licenseOptions {\n id\n amount\n name\n }\n }\n }\n}\n\nfragment CartOrder_order on Order {\n ...Checkout_order\n ...Download_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n licenseSelections {\n license {\n id\n }\n licenseVariable {\n id\n variableType\n }\n licenseOption {\n id\n }\n variableText\n id\n }\n }\n discount {\n id\n }\n customer {\n email\n name\n anonymous\n id\n }\n billingIdentity {\n ...IdentityBox_identity\n }\n licenseeIdentity {\n ...IdentityBox_identity\n }\n licenseeIsBillingIdentity\n stripePaymentMethod {\n card {\n last4\n brand\n }\n }\n stripePaymentIntent {\n status\n clientSecret\n }\n canCompleteWithCoupon\n completedWithCoupon\n}\n\nfragment CartOrder_viewer on Viewer {\n ...CartItem_viewer\n ...Checkout_viewer\n settings {\n eulaAgreementLabel(format: HTML)\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment Cart_viewer on Viewer {\n ...StripeProvider_viewer\n ...CartOrder_viewer\n currentOrder {\n ...CartOrder_order\n id\n }\n}\n\nfragment Checkout_order on Order {\n canCompleteWithCoupon\n customer {\n name\n email\n newsletterOptIn\n id\n }\n billingIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIdentity {\n name\n organization\n email\n phone\n street\n locality\n sublocality\n country\n administrativeArea\n zip\n vatNumber\n }\n licenseeIsBillingIdentity\n}\n\nfragment Checkout_viewer on Viewer {\n ...AddressFields_viewer\n settings {\n uiFontName\n newsletterOptInLabel\n }\n themeConfig {\n customProperties\n }\n}\n\nfragment CollectionAa_product on SkuProduct {\n __isSkuProduct: __typename\n __typename\n ... on FontCollection {\n featureStyle {\n ...FontStyle_fontStyle\n id\n }\n families: children(collectionTypes: [FAMILY]) {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n id\n }\n }\n ... on Bundle {\n fontStyles {\n ...FontStyle_fontStyle\n id\n }\n }\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Download_order on Order {\n id\n archiveUrl\n customer {\n email\n id\n }\n completedWithCoupon\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n cssFamily\n name\n}\n\nfragment IdentityBox_identity on Identity {\n email\n phoneFormatted\n addressFormatted\n vatNumber\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment StripeProvider_viewer on Viewer {\n settings {\n uiFontUrl\n }\n stripeCredentials {\n stripePublishableKey\n }\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n"
|
|
1162
1173
|
}
|
|
1163
1174
|
};
|
|
1164
1175
|
}();
|
|
@@ -49,6 +49,7 @@ fragment CartTotals_order on Order {
|
|
|
49
49
|
...Price_price
|
|
50
50
|
}
|
|
51
51
|
isVatTax
|
|
52
|
+
gstIncluded
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
fragment CouponCodeInput_order on Order {
|
|
@@ -271,6 +272,12 @@ const node = function () {
|
|
|
271
272
|
"kind": "ScalarField",
|
|
272
273
|
"name": "isVatTax",
|
|
273
274
|
"storageKey": null
|
|
275
|
+
}, {
|
|
276
|
+
"alias": null,
|
|
277
|
+
"args": null,
|
|
278
|
+
"kind": "ScalarField",
|
|
279
|
+
"name": "gstIncluded",
|
|
280
|
+
"storageKey": null
|
|
274
281
|
}],
|
|
275
282
|
"storageKey": null
|
|
276
283
|
}],
|
|
@@ -278,12 +285,12 @@ const node = function () {
|
|
|
278
285
|
}]
|
|
279
286
|
},
|
|
280
287
|
"params": {
|
|
281
|
-
"cacheID": "
|
|
288
|
+
"cacheID": "aea5ec8259351db00cffabf915914cf2",
|
|
282
289
|
"id": null,
|
|
283
290
|
"metadata": {},
|
|
284
291
|
"name": "CartStateApplyCouponMutation",
|
|
285
292
|
"operationKind": "mutation",
|
|
286
|
-
"text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
293
|
+
"text": "mutation CartStateApplyCouponMutation(\n $input: ApplyCouponInput!\n) {\n applyCoupon(input: $input) {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
287
294
|
}
|
|
288
295
|
};
|
|
289
296
|
}();
|
|
@@ -47,6 +47,7 @@ fragment CartTotals_order on Order {
|
|
|
47
47
|
...Price_price
|
|
48
48
|
}
|
|
49
49
|
isVatTax
|
|
50
|
+
gstIncluded
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
fragment CouponCodeInput_order on Order {
|
|
@@ -251,6 +252,12 @@ const node = function () {
|
|
|
251
252
|
"kind": "ScalarField",
|
|
252
253
|
"name": "isVatTax",
|
|
253
254
|
"storageKey": null
|
|
255
|
+
}, {
|
|
256
|
+
"alias": null,
|
|
257
|
+
"args": null,
|
|
258
|
+
"kind": "ScalarField",
|
|
259
|
+
"name": "gstIncluded",
|
|
260
|
+
"storageKey": null
|
|
254
261
|
}],
|
|
255
262
|
"storageKey": null
|
|
256
263
|
}],
|
|
@@ -258,12 +265,12 @@ const node = function () {
|
|
|
258
265
|
}]
|
|
259
266
|
},
|
|
260
267
|
"params": {
|
|
261
|
-
"cacheID": "
|
|
268
|
+
"cacheID": "eded25cbb8765902fba05cc57e6e9b7f",
|
|
262
269
|
"id": null,
|
|
263
270
|
"metadata": {},
|
|
264
271
|
"name": "CartStateRemoveDiscountMutation",
|
|
265
272
|
"operationKind": "mutation",
|
|
266
|
-
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
273
|
+
"text": "mutation CartStateRemoveDiscountMutation {\n removeDiscount {\n order {\n ...CouponCodeInput_order\n ...CartTotals_order\n id\n }\n }\n}\n\nfragment CartTotals_order on Order {\n subtotal {\n ...Price_price\n }\n discount {\n amount {\n amount\n ...Price_price\n }\n coupon {\n ...CouponText_coupon\n id\n }\n id\n }\n discountedSubtotal {\n ...Price_price\n }\n total {\n amount\n ...Price_price\n }\n taxes {\n ...Price_price\n }\n isVatTax\n gstIncluded\n}\n\nfragment CouponCodeInput_order on Order {\n id\n}\n\nfragment CouponText_coupon on Coupon {\n type\n percentAmount\n creditAmountRemaining {\n amount\n currency\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n"
|
|
267
274
|
}
|
|
268
275
|
};
|
|
269
276
|
}();
|
|
@@ -144,6 +144,7 @@ fragment CartTotals_order on Order {
|
|
|
144
144
|
...Price_price
|
|
145
145
|
}
|
|
146
146
|
isVatTax
|
|
147
|
+
gstIncluded
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
fragment CollectionAa_product on SkuProduct {
|
|
@@ -751,6 +752,12 @@ const node = function () {
|
|
|
751
752
|
"kind": "ScalarField",
|
|
752
753
|
"name": "isVatTax",
|
|
753
754
|
"storageKey": null
|
|
755
|
+
}, {
|
|
756
|
+
"alias": null,
|
|
757
|
+
"args": null,
|
|
758
|
+
"kind": "ScalarField",
|
|
759
|
+
"name": "gstIncluded",
|
|
760
|
+
"storageKey": null
|
|
754
761
|
}],
|
|
755
762
|
"storageKey": null
|
|
756
763
|
}, v2
|
|
@@ -760,12 +767,12 @@ const node = function () {
|
|
|
760
767
|
}]
|
|
761
768
|
},
|
|
762
769
|
"params": {
|
|
763
|
-
"cacheID": "
|
|
770
|
+
"cacheID": "962824d18d39679f4a548787a04d909e",
|
|
764
771
|
"id": null,
|
|
765
772
|
"metadata": {},
|
|
766
773
|
"name": "CartStateUpdateMutation",
|
|
767
774
|
"operationKind": "mutation",
|
|
768
|
-
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 isVatTax\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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
|
|
775
|
+
"text": "mutation CartStateUpdateMutation(\n $input: UpdateOrderInput!\n) {\n updateOrder(input: $input) {\n order {\n ...CartState_order\n ...CouponCodeInput_order\n ...CartTotals_order\n orderItems {\n ...CartItem_node\n id\n }\n id\n }\n errors {\n orderItems {\n licenseSelections\n }\n }\n }\n}\n\nfragment CartItem_node on OrderItem {\n id\n price {\n ...Price_price\n }\n sku {\n price {\n ...Price_price\n }\n product {\n __typename\n __isSkuProduct: __typename\n ...CollectionAa_product\n ...FontStyle_fontStyle\n ... on FontStyle {\n family {\n name\n cssUrl\n id\n }\n name\n }\n ... on Bundle {\n name\n }\n ... on FontCollection {\n name\n totalStyles\n featureStyle {\n family {\n cssUrl\n id\n }\n id\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n licenseSelections {\n id\n license {\n id\n name\n multiplier\n }\n variable: licenseVariable {\n id\n variableType\n ...VariableTableAmounts_variable\n }\n option: licenseOption {\n id\n amount\n multiplier\n name\n ...VariableTableAmounts_option\n }\n variableText\n }\n}\n\nfragment CartState_order on Order {\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}\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 isVatTax\n gstIncluded\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 FontStyle_fontStyle on FontStyle {\n cssFamily\n name\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"
|
|
769
776
|
}
|
|
770
777
|
};
|
|
771
778
|
}();
|
|
@@ -24,6 +24,7 @@ export declare type CartTotals_order = {
|
|
|
24
24
|
readonly " $fragmentRefs": FragmentRefs<"Price_price">;
|
|
25
25
|
} | null;
|
|
26
26
|
readonly isVatTax: boolean | null;
|
|
27
|
+
readonly gstIncluded: boolean | null;
|
|
27
28
|
readonly " $refType": "CartTotals_order";
|
|
28
29
|
};
|
|
29
30
|
export declare type CartTotals_order$data = CartTotals_order;
|
|
@@ -115,12 +115,18 @@ const node = function () {
|
|
|
115
115
|
"kind": "ScalarField",
|
|
116
116
|
"name": "isVatTax",
|
|
117
117
|
"storageKey": null
|
|
118
|
+
}, {
|
|
119
|
+
"alias": null,
|
|
120
|
+
"args": null,
|
|
121
|
+
"kind": "ScalarField",
|
|
122
|
+
"name": "gstIncluded",
|
|
123
|
+
"storageKey": null
|
|
118
124
|
}],
|
|
119
125
|
"type": "Order",
|
|
120
126
|
"abstractKey": null
|
|
121
127
|
};
|
|
122
128
|
}();
|
|
123
129
|
|
|
124
|
-
node.hash = '
|
|
130
|
+
node.hash = 'b4e8ff4b5b5525af89e9f80a08a657e5';
|
|
125
131
|
var _default = node;
|
|
126
132
|
exports.default = _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ConcreteRequest } from "relay-runtime";
|
|
2
|
+
import { FragmentRefs } from "relay-runtime";
|
|
3
|
+
export declare type CharacterViewer_QueryVariables = {
|
|
4
|
+
collectionId: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type CharacterViewer_QueryResponse = {
|
|
7
|
+
readonly node: {
|
|
8
|
+
readonly " $fragmentRefs": FragmentRefs<"CharacterViewer_collection">;
|
|
9
|
+
} | null;
|
|
10
|
+
};
|
|
11
|
+
export declare type CharacterViewer_Query = {
|
|
12
|
+
readonly response: CharacterViewer_QueryResponse;
|
|
13
|
+
readonly variables: CharacterViewer_QueryVariables;
|
|
14
|
+
};
|
|
15
|
+
declare const node: ConcreteRequest;
|
|
16
|
+
export default node;
|