@gofynd/fdk-store-gql 3.0.38-beta.9
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/.github/workflows/npm-publish.yml +29 -0
- package/README.md +84 -0
- package/azure-pipelines.yml +56 -0
- package/codegen.yml +6 -0
- package/lib/graphql/mutations/UnFollowById.handler.d.ts +3 -0
- package/lib/graphql/mutations/UnFollowById.handler.js +5 -0
- package/lib/graphql/mutations/UnFollowById.handler.js.map +1 -0
- package/lib/graphql/mutations/addItemsToCart.handler.d.ts +3 -0
- package/lib/graphql/mutations/addItemsToCart.handler.js +9 -0
- package/lib/graphql/mutations/addItemsToCart.handler.js.map +1 -0
- package/lib/graphql/mutations/applyCoupon.handler.d.ts +3 -0
- package/lib/graphql/mutations/applyCoupon.handler.js +7 -0
- package/lib/graphql/mutations/applyCoupon.handler.js.map +1 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.d.ts +3 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.js +7 -0
- package/lib/graphql/mutations/applyRewardPoints.handler.js.map +1 -0
- package/lib/graphql/mutations/followById.handler.d.ts +3 -0
- package/lib/graphql/mutations/followById.handler.js +5 -0
- package/lib/graphql/mutations/followById.handler.js.map +1 -0
- package/lib/graphql/mutations/getCartShareLink.handler.d.ts +3 -0
- package/lib/graphql/mutations/getCartShareLink.handler.js +7 -0
- package/lib/graphql/mutations/getCartShareLink.handler.js.map +1 -0
- package/lib/graphql/mutations/index.d.ts +2 -0
- package/lib/graphql/mutations/index.js +54 -0
- package/lib/graphql/mutations/index.js.map +1 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.js +7 -0
- package/lib/graphql/mutations/loginWithAppleIOS.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js +7 -0
- package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.js +7 -0
- package/lib/graphql/mutations/loginWithFacebook.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.js +7 -0
- package/lib/graphql/mutations/loginWithGoogle.handler.js.map +1 -0
- package/lib/graphql/mutations/loginWithOTP.handler.d.ts +3 -0
- package/lib/graphql/mutations/loginWithOTP.handler.js +7 -0
- package/lib/graphql/mutations/loginWithOTP.handler.js.map +1 -0
- package/lib/graphql/mutations/removeCoupon.handler.d.ts +3 -0
- package/lib/graphql/mutations/removeCoupon.handler.js +7 -0
- package/lib/graphql/mutations/removeCoupon.handler.js.map +1 -0
- package/lib/graphql/mutations/selectAddress.handler.d.ts +3 -0
- package/lib/graphql/mutations/selectAddress.handler.js +5 -0
- package/lib/graphql/mutations/selectAddress.handler.js.map +1 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.d.ts +3 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.js +5 -0
- package/lib/graphql/mutations/selectPaymentMode.handler.js.map +1 -0
- package/lib/graphql/mutations/updateAddress.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateAddress.handler.js +7 -0
- package/lib/graphql/mutations/updateAddress.handler.js.map +1 -0
- package/lib/graphql/mutations/updateCart.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateCart.handler.js +14 -0
- package/lib/graphql/mutations/updateCart.handler.js.map +1 -0
- package/lib/graphql/mutations/updateCartMeta.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateCartMeta.handler.js +7 -0
- package/lib/graphql/mutations/updateCartMeta.handler.js.map +1 -0
- package/lib/graphql/mutations/updateProfile.handler.d.ts +3 -0
- package/lib/graphql/mutations/updateProfile.handler.js +9 -0
- package/lib/graphql/mutations/updateProfile.handler.js.map +1 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.d.ts +3 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.js +7 -0
- package/lib/graphql/mutations/verifyEmailOtp.handler.js.map +1 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.d.ts +3 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.js +7 -0
- package/lib/graphql/mutations/verifyMobileOTP.handler.js.map +1 -0
- package/lib/graphql/query/address.handler.d.ts +3 -0
- package/lib/graphql/query/address.handler.js +7 -0
- package/lib/graphql/query/address.handler.js.map +1 -0
- package/lib/graphql/query/addresses.handler.d.ts +3 -0
- package/lib/graphql/query/addresses.handler.js +7 -0
- package/lib/graphql/query/addresses.handler.js.map +1 -0
- package/lib/graphql/query/aggregatorsConfig.handler.d.ts +3 -0
- package/lib/graphql/query/aggregatorsConfig.handler.js +7 -0
- package/lib/graphql/query/aggregatorsConfig.handler.js.map +1 -0
- package/lib/graphql/query/allCountries.handler.d.ts +3 -0
- package/lib/graphql/query/allCountries.handler.js +8 -0
- package/lib/graphql/query/allCountries.handler.js.map +1 -0
- package/lib/graphql/query/applicationConfiguration.handler.d.ts +3 -0
- package/lib/graphql/query/applicationConfiguration.handler.js +24 -0
- package/lib/graphql/query/applicationConfiguration.handler.js.map +1 -0
- package/lib/graphql/query/applicationContent.handler.d.ts +3 -0
- package/lib/graphql/query/applicationContent.handler.js +38 -0
- package/lib/graphql/query/applicationContent.handler.js.map +1 -0
- package/lib/graphql/query/applicationStaff.handler.d.ts +2 -0
- package/lib/graphql/query/applicationStaff.handler.js +7 -0
- package/lib/graphql/query/applicationStaff.handler.js.map +1 -0
- package/lib/graphql/query/blog.handler.d.ts +3 -0
- package/lib/graphql/query/blog.handler.js +7 -0
- package/lib/graphql/query/blog.handler.js.map +1 -0
- package/lib/graphql/query/brands.handler.d.ts +3 -0
- package/lib/graphql/query/brands.handler.js +8 -0
- package/lib/graphql/query/brands.handler.js.map +1 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.d.ts +3 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.js +7 -0
- package/lib/graphql/query/bulkDiscountOffers.handler.js.map +1 -0
- package/lib/graphql/query/cartHandler.d.ts +3 -0
- package/lib/graphql/query/cartHandler.js +9 -0
- package/lib/graphql/query/cartHandler.js.map +1 -0
- package/lib/graphql/query/cartShipmentDetails.handler.d.ts +3 -0
- package/lib/graphql/query/cartShipmentDetails.handler.js +7 -0
- package/lib/graphql/query/cartShipmentDetails.handler.js.map +1 -0
- package/lib/graphql/query/categories.handler.d.ts +3 -0
- package/lib/graphql/query/categories.handler.js +8 -0
- package/lib/graphql/query/categories.handler.js.map +1 -0
- package/lib/graphql/query/collection.handler.d.ts +3 -0
- package/lib/graphql/query/collection.handler.js +9 -0
- package/lib/graphql/query/collection.handler.js.map +1 -0
- package/lib/graphql/query/collectionItems.handler.d.ts +3 -0
- package/lib/graphql/query/collectionItems.handler.js +7 -0
- package/lib/graphql/query/collectionItems.handler.js.map +1 -0
- package/lib/graphql/query/collections.handler.d.ts +3 -0
- package/lib/graphql/query/collections.handler.js +7 -0
- package/lib/graphql/query/collections.handler.js.map +1 -0
- package/lib/graphql/query/coupons.handler.d.ts +3 -0
- package/lib/graphql/query/coupons.handler.js +7 -0
- package/lib/graphql/query/coupons.handler.js.map +1 -0
- package/lib/graphql/query/customPage.hadler.d.ts +2 -0
- package/lib/graphql/query/customPage.hadler.js +7 -0
- package/lib/graphql/query/customPage.hadler.js.map +1 -0
- package/lib/graphql/query/faqsByCategory.handler.d.ts +3 -0
- package/lib/graphql/query/faqsByCategory.handler.js +7 -0
- package/lib/graphql/query/faqsByCategory.handler.js.map +1 -0
- package/lib/graphql/query/followedListing.handler.d.ts +3 -0
- package/lib/graphql/query/followedListing.handler.js +7 -0
- package/lib/graphql/query/followedListing.handler.js.map +1 -0
- package/lib/graphql/query/followerCount.handler.d.ts +3 -0
- package/lib/graphql/query/followerCount.handler.js +7 -0
- package/lib/graphql/query/followerCount.handler.js.map +1 -0
- package/lib/graphql/query/index.d.ts +2 -0
- package/lib/graphql/query/index.js +83 -0
- package/lib/graphql/query/index.js.map +1 -0
- package/lib/graphql/query/localityHandler.d.ts +3 -0
- package/lib/graphql/query/localityHandler.js +7 -0
- package/lib/graphql/query/localityHandler.js.map +1 -0
- package/lib/graphql/query/order.handler.d.ts +3 -0
- package/lib/graphql/query/order.handler.js +5 -0
- package/lib/graphql/query/order.handler.js.map +1 -0
- package/lib/graphql/query/page.handler.d.ts +3 -0
- package/lib/graphql/query/page.handler.js +3 -0
- package/lib/graphql/query/page.handler.js.map +1 -0
- package/lib/graphql/query/paymentModeRoutes.handler.d.ts +3 -0
- package/lib/graphql/query/paymentModeRoutes.handler.js +8 -0
- package/lib/graphql/query/paymentModeRoutes.handler.js.map +1 -0
- package/lib/graphql/query/pincodeDetails.handler.d.ts +2 -0
- package/lib/graphql/query/pincodeDetails.handler.js +7 -0
- package/lib/graphql/query/pincodeDetails.handler.js.map +1 -0
- package/lib/graphql/query/platformConfig.handler.d.ts +3 -0
- package/lib/graphql/query/platformConfig.handler.js +7 -0
- package/lib/graphql/query/platformConfig.handler.js.map +1 -0
- package/lib/graphql/query/product.handler.d.ts +3 -0
- package/lib/graphql/query/product.handler.js +12 -0
- package/lib/graphql/query/product.handler.js.map +1 -0
- package/lib/graphql/query/productLadderPromotion.handler.d.ts +3 -0
- package/lib/graphql/query/productLadderPromotion.handler.js +7 -0
- package/lib/graphql/query/productLadderPromotion.handler.js.map +1 -0
- package/lib/graphql/query/productPrice.handler.d.ts +3 -0
- package/lib/graphql/query/productPrice.handler.js +5 -0
- package/lib/graphql/query/productPrice.handler.js.map +1 -0
- package/lib/graphql/query/productSellers.handler.d.ts +3 -0
- package/lib/graphql/query/productSellers.handler.js +7 -0
- package/lib/graphql/query/productSellers.handler.js.map +1 -0
- package/lib/graphql/query/products.handler.d.ts +3 -0
- package/lib/graphql/query/products.handler.js +9 -0
- package/lib/graphql/query/products.handler.js.map +1 -0
- package/lib/graphql/query/promotionOffers.handler.d.ts +3 -0
- package/lib/graphql/query/promotionOffers.handler.js +7 -0
- package/lib/graphql/query/promotionOffers.handler.js.map +1 -0
- package/lib/graphql/query/store.handler.d.ts +3 -0
- package/lib/graphql/query/store.handler.js +7 -0
- package/lib/graphql/query/store.handler.js.map +1 -0
- package/lib/graphql/query/theme.handler.d.ts +3 -0
- package/lib/graphql/query/theme.handler.js +13 -0
- package/lib/graphql/query/theme.handler.js.map +1 -0
- package/lib/graphql/query/user.handler.d.ts +3 -0
- package/lib/graphql/query/user.handler.js +12 -0
- package/lib/graphql/query/user.handler.js.map +1 -0
- package/lib/helpers/FPI-events.d.ts +34 -0
- package/lib/helpers/FPI-events.js +590 -0
- package/lib/helpers/FPI-events.js.map +1 -0
- package/lib/helpers/utils.d.ts +7 -0
- package/lib/helpers/utils.js +101 -0
- package/lib/helpers/utils.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +13 -0
- package/lib/index.js.map +1 -0
- package/lib/store/enums/keys.d.ts +35 -0
- package/lib/store/enums/keys.js +38 -0
- package/lib/store/enums/keys.js.map +1 -0
- package/lib/store/index.d.ts +24 -0
- package/lib/store/index.js +244 -0
- package/lib/store/index.js.map +1 -0
- package/lib/store/modules/custom.d.ts +8 -0
- package/lib/store/modules/custom.js +11 -0
- package/lib/store/modules/custom.js.map +1 -0
- package/lib/store/modules/payment.d.ts +6 -0
- package/lib/store/modules/payment.js +10 -0
- package/lib/store/modules/payment.js.map +1 -0
- package/lib/store/modules/theme.d.ts +17 -0
- package/lib/store/modules/theme.js +30 -0
- package/lib/store/modules/theme.js.map +1 -0
- package/lib/store/slices/address.d.ts +4 -0
- package/lib/store/slices/address.js +24 -0
- package/lib/store/slices/address.js.map +1 -0
- package/lib/store/slices/auth.d.ts +4 -0
- package/lib/store/slices/auth.js +25 -0
- package/lib/store/slices/auth.js.map +1 -0
- package/lib/store/slices/brands.d.ts +4 -0
- package/lib/store/slices/brands.js +18 -0
- package/lib/store/slices/brands.js.map +1 -0
- package/lib/store/slices/cart.d.ts +4 -0
- package/lib/store/slices/cart.js +62 -0
- package/lib/store/slices/cart.js.map +1 -0
- package/lib/store/slices/categories.d.ts +4 -0
- package/lib/store/slices/categories.js +17 -0
- package/lib/store/slices/categories.js.map +1 -0
- package/lib/store/slices/collection.d.ts +4 -0
- package/lib/store/slices/collection.js +25 -0
- package/lib/store/slices/collection.js.map +1 -0
- package/lib/store/slices/configuration.d.ts +4 -0
- package/lib/store/slices/configuration.js +45 -0
- package/lib/store/slices/configuration.js.map +1 -0
- package/lib/store/slices/content.d.ts +4 -0
- package/lib/store/slices/content.js +75 -0
- package/lib/store/slices/content.js.map +1 -0
- package/lib/store/slices/custom.d.ts +3 -0
- package/lib/store/slices/custom.js +17 -0
- package/lib/store/slices/custom.js.map +1 -0
- package/lib/store/slices/logistic.d.ts +4 -0
- package/lib/store/slices/logistic.js +81 -0
- package/lib/store/slices/logistic.js.map +1 -0
- package/lib/store/slices/order.d.ts +1 -0
- package/lib/store/slices/order.js +11 -0
- package/lib/store/slices/order.js.map +1 -0
- package/lib/store/slices/payment.d.ts +23 -0
- package/lib/store/slices/payment.js +57 -0
- package/lib/store/slices/payment.js.map +1 -0
- package/lib/store/slices/product.d.ts +4 -0
- package/lib/store/slices/product.js +70 -0
- package/lib/store/slices/product.js.map +1 -0
- package/lib/store/slices/products.d.ts +4 -0
- package/lib/store/slices/products.js +27 -0
- package/lib/store/slices/products.js.map +1 -0
- package/lib/store/slices/share.d.ts +1 -0
- package/lib/store/slices/share.js +11 -0
- package/lib/store/slices/share.js.map +1 -0
- package/lib/store/slices/theme.d.ts +25 -0
- package/lib/store/slices/theme.js +84 -0
- package/lib/store/slices/theme.js.map +1 -0
- package/lib/store/store.d.ts +64 -0
- package/lib/store/store.js +44 -0
- package/lib/store/store.js.map +1 -0
- package/lib/store/utils/gateways/ajiodhan.d.ts +8 -0
- package/lib/store/utils/gateways/ajiodhan.js +27 -0
- package/lib/store/utils/gateways/ajiodhan.js.map +1 -0
- package/lib/store/utils/gateways/ccavenue.d.ts +13 -0
- package/lib/store/utils/gateways/ccavenue.js +19 -0
- package/lib/store/utils/gateways/ccavenue.js.map +1 -0
- package/lib/store/utils/gateways/epaylater.d.ts +14 -0
- package/lib/store/utils/gateways/epaylater.js +28 -0
- package/lib/store/utils/gateways/epaylater.js.map +1 -0
- package/lib/store/utils/gateways/helper.d.ts +1 -0
- package/lib/store/utils/gateways/helper.js +17 -0
- package/lib/store/utils/gateways/helper.js.map +1 -0
- package/lib/store/utils/gateways/index.d.ts +1 -0
- package/lib/store/utils/gateways/index.js +27 -0
- package/lib/store/utils/gateways/index.js.map +1 -0
- package/lib/store/utils/gateways/jio.d.ts +12 -0
- package/lib/store/utils/gateways/jio.js +24 -0
- package/lib/store/utils/gateways/jio.js.map +1 -0
- package/lib/store/utils/gateways/jiopay.d.ts +21 -0
- package/lib/store/utils/gateways/jiopay.js +30 -0
- package/lib/store/utils/gateways/jiopay.js.map +1 -0
- package/lib/store/utils/gateways/juspay.d.ts +34 -0
- package/lib/store/utils/gateways/juspay.js +63 -0
- package/lib/store/utils/gateways/juspay.js.map +1 -0
- package/lib/store/utils/gateways/payumoney.d.ts +8 -0
- package/lib/store/utils/gateways/payumoney.js +17 -0
- package/lib/store/utils/gateways/payumoney.js.map +1 -0
- package/lib/store/utils/gateways/potlee.d.ts +63 -0
- package/lib/store/utils/gateways/potlee.js +315 -0
- package/lib/store/utils/gateways/potlee.js.map +1 -0
- package/lib/store/utils/gateways/razorpay.d.ts +46 -0
- package/lib/store/utils/gateways/razorpay.js +70 -0
- package/lib/store/utils/gateways/razorpay.js.map +1 -0
- package/lib/store/utils/gateways/rupifi.d.ts +17 -0
- package/lib/store/utils/gateways/rupifi.js +63 -0
- package/lib/store/utils/gateways/rupifi.js.map +1 -0
- package/lib/store/utils/gateways/simply.d.ts +43 -0
- package/lib/store/utils/gateways/simply.js +222 -0
- package/lib/store/utils/gateways/simply.js.map +1 -0
- package/lib/store/utils/gateways/standard_extension.d.ts +13 -0
- package/lib/store/utils/gateways/standard_extension.js +22 -0
- package/lib/store/utils/gateways/standard_extension.js.map +1 -0
- package/lib/store/utils/helper.d.ts +1 -0
- package/lib/store/utils/helper.js +17 -0
- package/lib/store/utils/helper.js.map +1 -0
- package/lib/store/utils/payment.d.ts +4 -0
- package/lib/store/utils/payment.js +496 -0
- package/lib/store/utils/payment.js.map +1 -0
- package/lib/store/utils/util.d.ts +14 -0
- package/lib/store/utils/util.js +67 -0
- package/lib/store/utils/util.js.map +1 -0
- package/lib/types/address.d.ts +7 -0
- package/lib/types/address.js +2 -0
- package/lib/types/address.js.map +1 -0
- package/lib/types/auth.d.ts +69 -0
- package/lib/types/auth.js +2 -0
- package/lib/types/auth.js.map +1 -0
- package/lib/types/brands.d.ts +6 -0
- package/lib/types/brands.js +2 -0
- package/lib/types/brands.js.map +1 -0
- package/lib/types/cart.d.ts +39 -0
- package/lib/types/cart.js +2 -0
- package/lib/types/cart.js.map +1 -0
- package/lib/types/categories.d.ts +5 -0
- package/lib/types/categories.js +2 -0
- package/lib/types/categories.js.map +1 -0
- package/lib/types/collection.d.ts +10 -0
- package/lib/types/collection.js +2 -0
- package/lib/types/collection.js.map +1 -0
- package/lib/types/configuration.d.ts +19 -0
- package/lib/types/configuration.js +2 -0
- package/lib/types/configuration.js.map +1 -0
- package/lib/types/content.d.ts +35 -0
- package/lib/types/content.js +2 -0
- package/lib/types/content.js.map +1 -0
- package/lib/types/custom.d.ts +12 -0
- package/lib/types/custom.js +2 -0
- package/lib/types/custom.js.map +1 -0
- package/lib/types/graphql.d.ts +11471 -0
- package/lib/types/graphql.js +198 -0
- package/lib/types/graphql.js.map +1 -0
- package/lib/types/index.d.ts +56 -0
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/logistic.d.ts +9 -0
- package/lib/types/logistic.js +2 -0
- package/lib/types/logistic.js.map +1 -0
- package/lib/types/product.d.ts +29 -0
- package/lib/types/product.js +2 -0
- package/lib/types/product.js.map +1 -0
- package/lib/types/products.d.ts +29 -0
- package/lib/types/products.js +2 -0
- package/lib/types/products.js.map +1 -0
- package/lib/types/theme.d.ts +26 -0
- package/lib/types/theme.js +2 -0
- package/lib/types/theme.js.map +1 -0
- package/package.json +45 -0
- package/schema.json +58765 -0
- package/webpack.config.js +23 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
export var Action;
|
|
2
|
+
(function (Action) {
|
|
3
|
+
Action["Merge"] = "merge";
|
|
4
|
+
Action["Replace"] = "replace";
|
|
5
|
+
})(Action || (Action = {}));
|
|
6
|
+
export var ActionEnum;
|
|
7
|
+
(function (ActionEnum) {
|
|
8
|
+
ActionEnum["Merge"] = "merge";
|
|
9
|
+
ActionEnum["Replace"] = "replace";
|
|
10
|
+
})(ActionEnum || (ActionEnum = {}));
|
|
11
|
+
export var AppType;
|
|
12
|
+
(function (AppType) {
|
|
13
|
+
AppType["Development"] = "development";
|
|
14
|
+
AppType["Live"] = "live";
|
|
15
|
+
})(AppType || (AppType = {}));
|
|
16
|
+
export var CommunicationActionEnum;
|
|
17
|
+
(function (CommunicationActionEnum) {
|
|
18
|
+
CommunicationActionEnum["Optin"] = "optin";
|
|
19
|
+
CommunicationActionEnum["Optout"] = "optout";
|
|
20
|
+
})(CommunicationActionEnum || (CommunicationActionEnum = {}));
|
|
21
|
+
export var CommunicationChannelEnum;
|
|
22
|
+
(function (CommunicationChannelEnum) {
|
|
23
|
+
CommunicationChannelEnum["Email"] = "email";
|
|
24
|
+
CommunicationChannelEnum["Sms"] = "sms";
|
|
25
|
+
CommunicationChannelEnum["Whatsapp"] = "whatsapp";
|
|
26
|
+
})(CommunicationChannelEnum || (CommunicationChannelEnum = {}));
|
|
27
|
+
export var DataLoaderType;
|
|
28
|
+
(function (DataLoaderType) {
|
|
29
|
+
DataLoaderType["Function"] = "function";
|
|
30
|
+
DataLoaderType["Url"] = "url";
|
|
31
|
+
})(DataLoaderType || (DataLoaderType = {}));
|
|
32
|
+
export var LocalityEnum;
|
|
33
|
+
(function (LocalityEnum) {
|
|
34
|
+
LocalityEnum["Pincode"] = "pincode";
|
|
35
|
+
LocalityEnum["Sector"] = "sector";
|
|
36
|
+
})(LocalityEnum || (LocalityEnum = {}));
|
|
37
|
+
export var LocalityType;
|
|
38
|
+
(function (LocalityType) {
|
|
39
|
+
LocalityType["City"] = "city";
|
|
40
|
+
LocalityType["Pincode"] = "pincode";
|
|
41
|
+
LocalityType["Sector"] = "sector";
|
|
42
|
+
LocalityType["State"] = "state";
|
|
43
|
+
})(LocalityType || (LocalityType = {}));
|
|
44
|
+
export var LocationTypeEnum;
|
|
45
|
+
(function (LocationTypeEnum) {
|
|
46
|
+
LocationTypeEnum["City"] = "city";
|
|
47
|
+
LocationTypeEnum["Country"] = "country";
|
|
48
|
+
LocationTypeEnum["State"] = "state";
|
|
49
|
+
})(LocationTypeEnum || (LocationTypeEnum = {}));
|
|
50
|
+
export var Operation;
|
|
51
|
+
(function (Operation) {
|
|
52
|
+
Operation["RemoveItem"] = "remove_item";
|
|
53
|
+
Operation["UpdateItem"] = "update_item";
|
|
54
|
+
})(Operation || (Operation = {}));
|
|
55
|
+
export var PageTypes;
|
|
56
|
+
(function (PageTypes) {
|
|
57
|
+
PageTypes["Custom"] = "custom";
|
|
58
|
+
PageTypes["Sections"] = "sections";
|
|
59
|
+
PageTypes["System"] = "system";
|
|
60
|
+
})(PageTypes || (PageTypes = {}));
|
|
61
|
+
export var PageVisibilityOfItem;
|
|
62
|
+
(function (PageVisibilityOfItem) {
|
|
63
|
+
PageVisibilityOfItem["Pdp"] = "pdp";
|
|
64
|
+
})(PageVisibilityOfItem || (PageVisibilityOfItem = {}));
|
|
65
|
+
export var PhoneTypeEnum;
|
|
66
|
+
(function (PhoneTypeEnum) {
|
|
67
|
+
PhoneTypeEnum["PhoneNumber"] = "phone_number";
|
|
68
|
+
PhoneTypeEnum["Tollfree"] = "tollfree";
|
|
69
|
+
})(PhoneTypeEnum || (PhoneTypeEnum = {}));
|
|
70
|
+
export var PriorityEnum;
|
|
71
|
+
(function (PriorityEnum) {
|
|
72
|
+
PriorityEnum["High"] = "high";
|
|
73
|
+
PriorityEnum["Low"] = "low";
|
|
74
|
+
PriorityEnum["Medium"] = "medium";
|
|
75
|
+
PriorityEnum["Urgent"] = "urgent";
|
|
76
|
+
})(PriorityEnum || (PriorityEnum = {}));
|
|
77
|
+
export var PushTokenAction;
|
|
78
|
+
(function (PushTokenAction) {
|
|
79
|
+
PushTokenAction["Create"] = "create";
|
|
80
|
+
PushTokenAction["Reset"] = "reset";
|
|
81
|
+
PushTokenAction["Update"] = "update";
|
|
82
|
+
})(PushTokenAction || (PushTokenAction = {}));
|
|
83
|
+
export var RedirectType;
|
|
84
|
+
(function (RedirectType) {
|
|
85
|
+
RedirectType["AppStore"] = "app_store";
|
|
86
|
+
RedirectType["Web"] = "web";
|
|
87
|
+
})(RedirectType || (RedirectType = {}));
|
|
88
|
+
export var ResponseEnum;
|
|
89
|
+
(function (ResponseEnum) {
|
|
90
|
+
ResponseEnum["No"] = "no";
|
|
91
|
+
ResponseEnum["Yes"] = "yes";
|
|
92
|
+
})(ResponseEnum || (ResponseEnum = {}));
|
|
93
|
+
export var SelectedType;
|
|
94
|
+
(function (SelectedType) {
|
|
95
|
+
SelectedType["Exact"] = "exact";
|
|
96
|
+
SelectedType["None"] = "none";
|
|
97
|
+
SelectedType["Query"] = "query";
|
|
98
|
+
})(SelectedType || (SelectedType = {}));
|
|
99
|
+
export var SessionEnum;
|
|
100
|
+
(function (SessionEnum) {
|
|
101
|
+
SessionEnum["Days"] = "Days";
|
|
102
|
+
SessionEnum["Hours"] = "Hours";
|
|
103
|
+
SessionEnum["Minutes"] = "Minutes";
|
|
104
|
+
})(SessionEnum || (SessionEnum = {}));
|
|
105
|
+
export var SimilarListItem;
|
|
106
|
+
(function (SimilarListItem) {
|
|
107
|
+
SimilarListItem["Basic"] = "basic";
|
|
108
|
+
SimilarListItem["Brand"] = "brand";
|
|
109
|
+
SimilarListItem["Category"] = "category";
|
|
110
|
+
SimilarListItem["Price"] = "price";
|
|
111
|
+
SimilarListItem["Seller"] = "seller";
|
|
112
|
+
SimilarListItem["Specs"] = "specs";
|
|
113
|
+
SimilarListItem["Visual"] = "visual";
|
|
114
|
+
})(SimilarListItem || (SimilarListItem = {}));
|
|
115
|
+
export var Sort_On;
|
|
116
|
+
(function (Sort_On) {
|
|
117
|
+
Sort_On["DiscountAsc"] = "discount_asc";
|
|
118
|
+
Sort_On["DiscountDsc"] = "discount_dsc";
|
|
119
|
+
Sort_On["Latest"] = "latest";
|
|
120
|
+
Sort_On["Popular"] = "popular";
|
|
121
|
+
Sort_On["PriceAsc"] = "price_asc";
|
|
122
|
+
Sort_On["PriceDsc"] = "price_dsc";
|
|
123
|
+
})(Sort_On || (Sort_On = {}));
|
|
124
|
+
export var StoreType;
|
|
125
|
+
(function (StoreType) {
|
|
126
|
+
StoreType["Hard"] = "hard";
|
|
127
|
+
StoreType["Soft"] = "soft";
|
|
128
|
+
})(StoreType || (StoreType = {}));
|
|
129
|
+
export var TagPositionEnum;
|
|
130
|
+
(function (TagPositionEnum) {
|
|
131
|
+
TagPositionEnum["BodyBottom"] = "body_bottom";
|
|
132
|
+
TagPositionEnum["BodyTop"] = "body_top";
|
|
133
|
+
TagPositionEnum["Head"] = "head";
|
|
134
|
+
})(TagPositionEnum || (TagPositionEnum = {}));
|
|
135
|
+
export var TagSubType;
|
|
136
|
+
(function (TagSubType) {
|
|
137
|
+
TagSubType["External"] = "external";
|
|
138
|
+
TagSubType["Inline"] = "inline";
|
|
139
|
+
})(TagSubType || (TagSubType = {}));
|
|
140
|
+
export var TagType;
|
|
141
|
+
(function (TagType) {
|
|
142
|
+
TagType["Css"] = "css";
|
|
143
|
+
TagType["Js"] = "js";
|
|
144
|
+
})(TagType || (TagType = {}));
|
|
145
|
+
export var ThemeTypeEnum;
|
|
146
|
+
(function (ThemeTypeEnum) {
|
|
147
|
+
ThemeTypeEnum["React"] = "react";
|
|
148
|
+
ThemeTypeEnum["Vue2"] = "vue2";
|
|
149
|
+
})(ThemeTypeEnum || (ThemeTypeEnum = {}));
|
|
150
|
+
export var TicketAssetTypeEnum;
|
|
151
|
+
(function (TicketAssetTypeEnum) {
|
|
152
|
+
TicketAssetTypeEnum["Brand"] = "brand";
|
|
153
|
+
TicketAssetTypeEnum["Collection"] = "collection";
|
|
154
|
+
TicketAssetTypeEnum["File"] = "file";
|
|
155
|
+
TicketAssetTypeEnum["Image"] = "image";
|
|
156
|
+
TicketAssetTypeEnum["Order"] = "order";
|
|
157
|
+
TicketAssetTypeEnum["Product"] = "product";
|
|
158
|
+
TicketAssetTypeEnum["Shipment"] = "shipment";
|
|
159
|
+
TicketAssetTypeEnum["Video"] = "video";
|
|
160
|
+
TicketAssetTypeEnum["Youtube"] = "youtube";
|
|
161
|
+
})(TicketAssetTypeEnum || (TicketAssetTypeEnum = {}));
|
|
162
|
+
export var TicketSourceEnum;
|
|
163
|
+
(function (TicketSourceEnum) {
|
|
164
|
+
TicketSourceEnum["PlatformPanel"] = "platform_panel";
|
|
165
|
+
TicketSourceEnum["SalesChannel"] = "sales_channel";
|
|
166
|
+
})(TicketSourceEnum || (TicketSourceEnum = {}));
|
|
167
|
+
export var Type;
|
|
168
|
+
(function (Type) {
|
|
169
|
+
Type["Permanent"] = "permanent";
|
|
170
|
+
Type["Temporary"] = "temporary";
|
|
171
|
+
})(Type || (Type = {}));
|
|
172
|
+
export var Unit;
|
|
173
|
+
(function (Unit) {
|
|
174
|
+
Unit["Cm"] = "cm";
|
|
175
|
+
Unit["G"] = "g";
|
|
176
|
+
Unit["Kg"] = "kg";
|
|
177
|
+
Unit["L"] = "l";
|
|
178
|
+
Unit["M"] = "m";
|
|
179
|
+
Unit["Ml"] = "ml";
|
|
180
|
+
Unit["Nos"] = "nos";
|
|
181
|
+
Unit["Pack"] = "pack";
|
|
182
|
+
})(Unit || (Unit = {}));
|
|
183
|
+
export var UserAction;
|
|
184
|
+
(function (UserAction) {
|
|
185
|
+
UserAction["Resend"] = "resend";
|
|
186
|
+
UserAction["Send"] = "send";
|
|
187
|
+
})(UserAction || (UserAction = {}));
|
|
188
|
+
export var WebRedirectType;
|
|
189
|
+
(function (WebRedirectType) {
|
|
190
|
+
WebRedirectType["Web"] = "web";
|
|
191
|
+
})(WebRedirectType || (WebRedirectType = {}));
|
|
192
|
+
export var TemplateNameEnum;
|
|
193
|
+
(function (TemplateNameEnum) {
|
|
194
|
+
TemplateNameEnum["CheckoutForm"] = "checkout_form";
|
|
195
|
+
TemplateNameEnum["DefaultDisplay"] = "default_display";
|
|
196
|
+
TemplateNameEnum["StoreOsForm"] = "store_os_form";
|
|
197
|
+
})(TemplateNameEnum || (TemplateNameEnum = {}));
|
|
198
|
+
//# sourceMappingURL=graphql.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAN,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,6BAAmB,CAAA;AACrB,CAAC,EAHW,MAAM,KAAN,MAAM,QAGjB;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AA4nBD,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,wBAAa,CAAA;AACf,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AA6mED,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,4CAAiB,CAAA;AACnB,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAED,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,2CAAe,CAAA;IACf,uCAAW,CAAA;IACX,iDAAqB,CAAA;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AACzB,CAAC,EAHW,IAAI,KAAJ,IAAI,QAGf;AASD,MAAM,CAAN,IAAY,IASX;AATD,WAAY,IAAI;IACd,iBAAS,CAAA;IACT,eAAO,CAAA;IACP,iBAAS,CAAA;IACT,eAAO,CAAA;IACP,eAAO,CAAA;IACP,iBAAS,CAAA;IACT,mBAAW,CAAA;IACX,qBAAa,CAAA;AACf,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AA4ID,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACf,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAydD,MAAM,CAAN,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,8BAAW,CAAA;AACb,CAAC,EAFW,eAAe,KAAf,eAAe,QAE1B;AAiCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,kDAA8B,CAAA;IAC9B,sDAAkC,CAAA;IAClC,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { SerializedError } from "@reduxjs/toolkit";
|
|
2
|
+
import { AnyAction } from "redux";
|
|
3
|
+
export interface ExtraArguments {
|
|
4
|
+
extra: {};
|
|
5
|
+
rejectValue: SerializedError;
|
|
6
|
+
}
|
|
7
|
+
export type CommonAsyncLoadingTypes = {
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
error?: any;
|
|
10
|
+
};
|
|
11
|
+
export type AsyncThunkPromise<T> = Promise<{
|
|
12
|
+
meta?: any;
|
|
13
|
+
type: string;
|
|
14
|
+
payload?: T;
|
|
15
|
+
error?: unknown;
|
|
16
|
+
}>;
|
|
17
|
+
export type AsyncThunkCompleted<T> = {
|
|
18
|
+
meta?: any;
|
|
19
|
+
type: string;
|
|
20
|
+
payload?: T;
|
|
21
|
+
error?: unknown;
|
|
22
|
+
};
|
|
23
|
+
export type FPIClientOptions = {
|
|
24
|
+
applicationID: string;
|
|
25
|
+
applicationToken: string;
|
|
26
|
+
domain: string;
|
|
27
|
+
storeInitialData: unknown;
|
|
28
|
+
};
|
|
29
|
+
export type ProductListingOptions = {
|
|
30
|
+
q?: string;
|
|
31
|
+
f?: string;
|
|
32
|
+
filters?: boolean;
|
|
33
|
+
sortOn?: string;
|
|
34
|
+
pageId?: string;
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
pageNo?: number;
|
|
37
|
+
pageType?: string;
|
|
38
|
+
};
|
|
39
|
+
export type GetPageOptions = {
|
|
40
|
+
pageValue: string;
|
|
41
|
+
themeId: string;
|
|
42
|
+
};
|
|
43
|
+
export type ActionGenerators = {
|
|
44
|
+
[k in string]: (arg0: any) => AnyAction;
|
|
45
|
+
};
|
|
46
|
+
export type CustomAction<T> = {
|
|
47
|
+
type: string;
|
|
48
|
+
payload: T;
|
|
49
|
+
};
|
|
50
|
+
export type SimplPaymentConfig = {
|
|
51
|
+
env: string;
|
|
52
|
+
simpl: {
|
|
53
|
+
key: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export type EventEmitterFunction = (event: string, payload: any) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CommonAsyncLoadingTypes } from ".";
|
|
2
|
+
export type Countries = Partial<any & CommonAsyncLoadingTypes>;
|
|
3
|
+
export type ProductTAT = Partial<any & CommonAsyncLoadingTypes>;
|
|
4
|
+
export type PincodeDetails = Partial<any & CommonAsyncLoadingTypes>;
|
|
5
|
+
export type LogisticSlice = {
|
|
6
|
+
countries: Countries;
|
|
7
|
+
product_tat: ProductTAT;
|
|
8
|
+
pincode_details: PincodeDetails;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logistic.js","sourceRoot":"","sources":["../../src/types/logistic.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CommonAsyncLoadingTypes } from ".";
|
|
2
|
+
export type ProductDetails = Partial<any & CommonAsyncLoadingTypes>;
|
|
3
|
+
export type ProductVariants = Partial<any & CommonAsyncLoadingTypes>;
|
|
4
|
+
export type ProductMeta = Partial<any & CommonAsyncLoadingTypes>;
|
|
5
|
+
export type BulkPrice = Partial<any & CommonAsyncLoadingTypes>;
|
|
6
|
+
export type SimilarCompareProducts = Partial<any & CommonAsyncLoadingTypes>;
|
|
7
|
+
export type FrequentlyComparedProducts = Partial<any & CommonAsyncLoadingTypes>;
|
|
8
|
+
export type ProductPriceBySlug = Partial<any & CommonAsyncLoadingTypes>;
|
|
9
|
+
export type ProductSellerBySlug = Partial<any & CommonAsyncLoadingTypes>;
|
|
10
|
+
export type FollowByIdParamSlug = Partial<any & CommonAsyncLoadingTypes>;
|
|
11
|
+
export type FollowerCountByIdSlug = Partial<any & CommonAsyncLoadingTypes>;
|
|
12
|
+
export type FollowedList = Partial<any & CommonAsyncLoadingTypes>;
|
|
13
|
+
export type FollowIdsResponseSlug = Partial<any & CommonAsyncLoadingTypes>;
|
|
14
|
+
export type ProductSlice = {
|
|
15
|
+
product_details: ProductDetails;
|
|
16
|
+
product_variants: ProductVariants;
|
|
17
|
+
product_meta: ProductMeta;
|
|
18
|
+
bulk_price: BulkPrice;
|
|
19
|
+
similar_compare_products: SimilarCompareProducts;
|
|
20
|
+
frequently_compared_products: FrequentlyComparedProducts;
|
|
21
|
+
product_price_by_slug: ProductPriceBySlug;
|
|
22
|
+
product_seller_by_slug: ProductSellerBySlug;
|
|
23
|
+
follow_by_id: FollowByIdParamSlug;
|
|
24
|
+
follower_count_by_id: FollowerCountByIdSlug;
|
|
25
|
+
followed_listing: FollowedList;
|
|
26
|
+
fetch_follow_ids: FollowIdsResponseSlug;
|
|
27
|
+
unfollow_by_id: FollowByIdParamSlug;
|
|
28
|
+
followed_products: any;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/types/product.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CommonAsyncLoadingTypes } from ".";
|
|
2
|
+
export type FetchProductsOptions = {
|
|
3
|
+
f: any;
|
|
4
|
+
q: any;
|
|
5
|
+
pageId: any;
|
|
6
|
+
pageSize: number;
|
|
7
|
+
sortOn: string;
|
|
8
|
+
pageNo: any;
|
|
9
|
+
filters: any;
|
|
10
|
+
};
|
|
11
|
+
export type FetchProductsResponse = {
|
|
12
|
+
data: any;
|
|
13
|
+
options: FetchProductsOptions;
|
|
14
|
+
};
|
|
15
|
+
export type ProductLists = Partial<any & CommonAsyncLoadingTypes>;
|
|
16
|
+
export type ProductDetail = Partial<any & CommonAsyncLoadingTypes>;
|
|
17
|
+
export type CategoryDetail = Partial<any & CommonAsyncLoadingTypes>;
|
|
18
|
+
export type BrandDetail = Partial<any & CommonAsyncLoadingTypes>;
|
|
19
|
+
export type CollectionDetail = Partial<any & CommonAsyncLoadingTypes>;
|
|
20
|
+
export type SearchResults = Partial<any & CommonAsyncLoadingTypes>;
|
|
21
|
+
export type ProductsSlice = {
|
|
22
|
+
product_lists: ProductLists;
|
|
23
|
+
product_listing_meta: ProductDetail;
|
|
24
|
+
search_results: SearchResults;
|
|
25
|
+
product_search_results: ProductLists;
|
|
26
|
+
category_listing_meta: CategoryDetail;
|
|
27
|
+
collection_listing_meta: BrandDetail;
|
|
28
|
+
brand_listing_meta: CollectionDetail;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/types/products.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CommonAsyncLoadingTypes } from ".";
|
|
2
|
+
export type Theme = Partial<any & CommonAsyncLoadingTypes>;
|
|
3
|
+
export type Page = Partial<any & CommonAsyncLoadingTypes>;
|
|
4
|
+
export type ThemeSlice = {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
appliedTheme: Theme;
|
|
7
|
+
sectionKeys: any;
|
|
8
|
+
themePages: Page;
|
|
9
|
+
page: Page;
|
|
10
|
+
allPages: Record<string, Page>;
|
|
11
|
+
};
|
|
12
|
+
export type DragSectionEvent = {
|
|
13
|
+
index: number;
|
|
14
|
+
newIndex: number;
|
|
15
|
+
};
|
|
16
|
+
export type AddSectionEvent = {
|
|
17
|
+
name: string;
|
|
18
|
+
counter: number;
|
|
19
|
+
};
|
|
20
|
+
export type RemoveSection = {
|
|
21
|
+
removedIndex: number;
|
|
22
|
+
};
|
|
23
|
+
export type UpdateSection = {
|
|
24
|
+
section: object;
|
|
25
|
+
index: number;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gofynd/fdk-store-gql",
|
|
3
|
+
"version": "v3.0.38-beta.9",
|
|
4
|
+
"description": "FPI Store bridging library",
|
|
5
|
+
"main": "./lib/index.js",
|
|
6
|
+
"module": "./lib/index.js",
|
|
7
|
+
"types": "./lib/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"clean": "rm -rf lib",
|
|
10
|
+
"build": "npm run clean && npm run build:tsc",
|
|
11
|
+
"build:tsc": "tsc -m es6 --outDir lib",
|
|
12
|
+
"build:watch": "tsc -m es6 --outDir lib --watch",
|
|
13
|
+
"test": "jest --config jest.config.js --json --outputFile='./coverage/coverage.json'",
|
|
14
|
+
"test:coverage": "jest --coverage",
|
|
15
|
+
"doc": "typedoc --plugin typedoc-plugin-missing-exports --plugin typedoc-plugin-markdown",
|
|
16
|
+
"local": "webpack --watch",
|
|
17
|
+
"generate": "graphql-codegen"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@graphql-codegen/cli": "^5.0.2",
|
|
21
|
+
"@graphql-codegen/client-preset": "^4.3.0",
|
|
22
|
+
"@types/crypto-js": "^4.1.1",
|
|
23
|
+
"@types/jest": "^29.5.4",
|
|
24
|
+
"@types/node": "^20.5.9",
|
|
25
|
+
"@types/qs": "^6.9.7",
|
|
26
|
+
"jest": "^29.6.4",
|
|
27
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
28
|
+
"shx": "^0.3.4",
|
|
29
|
+
"ts-jest": "^29.1.1",
|
|
30
|
+
"ts-loader": "^9.4.2",
|
|
31
|
+
"typescript": "^4.9.5",
|
|
32
|
+
"webpack": "^5.92.0",
|
|
33
|
+
"webpack-cli": "^5.1.4"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@reduxjs/toolkit": "^1.9.3",
|
|
37
|
+
"buffer": "^6.0.3",
|
|
38
|
+
"cross-fetch": "^4.0.0",
|
|
39
|
+
"crypto-js": "^4.1.1",
|
|
40
|
+
"graphql": "^16.9.0",
|
|
41
|
+
"qs": "^6.11.2",
|
|
42
|
+
"redux": "^4.2.1",
|
|
43
|
+
"url": "^0.11.0"
|
|
44
|
+
}
|
|
45
|
+
}
|