├── .nvmrc ├── .husky ├── .gitignore └── commit-msg ├── apps ├── reaction │ ├── public │ │ ├── .gitignore │ │ ├── custom │ │ │ └── .gitkeep │ │ ├── robots.txt │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ └── resources │ │ │ ├── avatar.gif │ │ │ ├── placeholder.gif │ │ │ ├── fonts │ │ │ ├── fontello.eot │ │ │ ├── fontello.ttf │ │ │ ├── fontello.woff │ │ │ └── fontello.woff2 │ │ │ ├── Reaction2.0_Catalyst.png │ │ │ └── email-templates │ │ │ ├── shop-logo.png │ │ │ ├── twitter-icon.png │ │ │ ├── facebook-icon.png │ │ │ └── google-plus-icon.png │ ├── tests │ │ ├── .eslintrc.cjs │ │ ├── integration │ │ │ ├── api │ │ │ │ ├── queries │ │ │ │ │ ├── globalSettings │ │ │ │ │ │ └── GlobalSettingsQuery.graphql │ │ │ │ │ ├── taxCodes │ │ │ │ │ │ └── TaxCodesQuery.graphql │ │ │ │ │ ├── shopBySlug │ │ │ │ │ │ └── ShopBySlugQuery.graphql │ │ │ │ │ ├── shopSettings │ │ │ │ │ │ └── ShopSettingsQuery.graphql │ │ │ │ │ ├── paymentMethods │ │ │ │ │ │ └── PaymentMethodsQuery.graphql │ │ │ │ │ ├── taxServices │ │ │ │ │ │ └── TaxServicesQuery.graphql │ │ │ │ │ ├── roles │ │ │ │ │ │ └── RolesQuery.graphql │ │ │ │ │ ├── sitemap │ │ │ │ │ │ └── SitemapQuery.graphql │ │ │ │ │ ├── addressValidationServices │ │ │ │ │ │ └── AddressValidationServicesQuery.graphql │ │ │ │ │ ├── availablePaymentMethods │ │ │ │ │ │ └── AvailablePaymentMethodsQuery.graphql │ │ │ │ │ ├── systemInformation │ │ │ │ │ │ └── SystemInformationQuery.graphql │ │ │ │ │ ├── surchargeById │ │ │ │ │ │ └── SurchargeByIdQuery.graphql │ │ │ │ │ ├── surcharges │ │ │ │ │ │ └── SurchargesQuery.graphql │ │ │ │ │ ├── tags │ │ │ │ │ │ └── TagQuery.graphql │ │ │ │ │ ├── group │ │ │ │ │ │ └── GroupFullQuery.graphql │ │ │ │ │ ├── catalogItems │ │ │ │ │ │ └── __snapshots__ │ │ │ │ │ │ │ └── catalogItems.test.js.snap │ │ │ │ │ ├── getFlatRateFulfillmentRestrictions │ │ │ │ │ │ └── FlatRateFulfillmentRestrictionsQuery.graphql │ │ │ │ │ ├── getFlatRateFulfillmentRestriction │ │ │ │ │ │ └── FlatRateFulfillmentRestrictionQuery.graphql │ │ │ │ │ ├── accountCartByAccountId │ │ │ │ │ │ └── AccountCartByAccountIdQuery.graphql │ │ │ │ │ ├── groups │ │ │ │ │ │ └── GroupsFullQuery.graphql │ │ │ │ │ ├── orderByReferenceId │ │ │ │ │ │ └── OrderByReferenceIdQuery.graphql │ │ │ │ │ ├── anonymousCartByCartId │ │ │ │ │ │ └── addCartItemsMutation.graphql │ │ │ │ │ ├── simpleInventory │ │ │ │ │ │ └── simpleInventoryQuery.graphql │ │ │ │ │ └── addressValidation │ │ │ │ │ │ └── AddressValidationQuery.graphql │ │ │ │ ├── mutations1 │ │ │ │ │ ├── checkout │ │ │ │ │ │ ├── AvailablePaymentMethodsQuery.graphql │ │ │ │ │ │ ├── CreateShopMutation.graphql │ │ │ │ │ │ ├── PlaceOrderMutation.graphql │ │ │ │ │ │ ├── CreatePromotionMutation.graphql │ │ │ │ │ │ └── ReconcileCartsMutation.graphql │ │ │ │ │ ├── generateSitemaps │ │ │ │ │ │ └── generateSitemaps.graphql │ │ │ │ │ ├── inviteShopMember │ │ │ │ │ │ └── inviteShopMember.graphql │ │ │ │ │ ├── approveOrderPayments │ │ │ │ │ │ └── approveOrderPayments.graphql │ │ │ │ │ ├── captureOrderPayments │ │ │ │ │ │ └── captureOrderPayments.graphql │ │ │ │ │ ├── payments │ │ │ │ │ │ └── EnablePaymentMethodsForShopMutation.graphql │ │ │ │ │ ├── archiveProducts │ │ │ │ │ │ └── archiveProducts.graphql │ │ │ │ │ ├── addCartItems │ │ │ │ │ │ └── addCartItemsMutation.graphql │ │ │ │ │ ├── createShop │ │ │ │ │ │ └── CreateShopMutation.graphql │ │ │ │ │ ├── addAccountEmailRecord │ │ │ │ │ │ └── AddAccountEmailRecordMutation.graphql │ │ │ │ │ ├── recalculateReservedSimpleInventory │ │ │ │ │ │ └── recalculateReservedSimpleInventory.graphql │ │ │ │ │ └── cloneProductVariants │ │ │ │ │ │ └── cloneProductVariants.graphql │ │ │ │ └── mutations2 │ │ │ │ │ ├── setTagHeroMedia │ │ │ │ │ └── setTagHeroMedia.graphql │ │ │ │ │ ├── updateProductsVisibility │ │ │ │ │ └── UpdateProductsVisibility.graphql │ │ │ │ │ ├── verifySMTPEmailSettings │ │ │ │ │ └── verifySMTPEmailSettings.graphql │ │ │ │ │ ├── updateShopSettings │ │ │ │ │ └── updateShopSettings.graphql │ │ │ │ │ ├── updateGlobalSettings │ │ │ │ │ └── updateGlobalSettings.graphql │ │ │ │ │ ├── removeAccountGroup │ │ │ │ │ └── RemoveAccountGroupMutation.graphql │ │ │ │ │ ├── updateAccountGroup │ │ │ │ │ └── UpdateAccountGroupMutation.graphql │ │ │ │ │ ├── updateOrder │ │ │ │ │ └── UpdateOrderMutation.graphql │ │ │ │ │ ├── removeAccountEmailRecord │ │ │ │ │ └── RemoveAccountEmailRecordMutation.graphql │ │ │ │ │ ├── setAccountDefaultEmail │ │ │ │ │ └── SetAccountDefaultEmailMutation.graphql │ │ │ │ │ ├── updateSimpleInventory │ │ │ │ │ ├── simpleInventoryQuery.graphql │ │ │ │ │ └── updateSimpleInventoryMutation.graphql │ │ │ │ │ ├── updateAccount │ │ │ │ │ └── UpdateAccountMutation.graphql │ │ │ │ │ ├── updateProductVariantPrices │ │ │ │ │ └── updateProductVariantPricesMutation.graphql │ │ │ │ │ └── shippingRates │ │ │ │ │ └── CreateFlatRateFulfillmentMethodMutation.graphql │ │ │ └── README.md │ │ ├── util │ │ │ ├── jestProcessEnv.json │ │ │ └── setupJestTests.js │ │ └── mocks │ │ │ ├── mockTags.js │ │ │ └── mockShop.js │ └── .env.example └── meteor-blaze-app │ ├── .gitignore │ ├── client │ └── main.js │ └── imports │ └── client │ ├── index.js │ └── images │ └── images.css ├── packages ├── logger │ ├── .npmignore │ └── .gitignore ├── random │ ├── .npmignore │ ├── .gitignore │ └── src │ │ └── server.js ├── api-plugin-discounts-codes │ ├── .gitignore │ ├── index.js │ └── src │ │ ├── queries │ │ ├── index.js │ │ └── __snapshots__ │ │ │ └── discountCodes.test.js.snap │ │ ├── i18n │ │ └── nb.json │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ └── DiscountCode │ │ │ └── index.js │ │ └── schemas │ │ └── index.js ├── api-utils │ ├── tests │ │ └── importAsString.test.txt │ ├── lib │ │ ├── configs │ │ │ ├── commitlint.config.cjs │ │ │ └── husky.config.cjs │ │ ├── graphql │ │ │ └── __snapshots__ │ │ │ │ ├── applyPaginationToMongoCursor.test.js.snap │ │ │ │ ├── applyPaginationToMongoAggregate.test.js.snap │ │ │ │ └── applyBeforeAfterToFilter.test.js.snap │ │ ├── hashToken.js │ │ └── isOpaqueId.test.js │ ├── index.js │ ├── babel.config.cjs │ └── docs │ │ └── README.md ├── api-plugin-promotions │ ├── README.md │ ├── index.js │ ├── src │ │ ├── actions │ │ │ └── index.js │ │ ├── qualifiers │ │ │ └── index.js │ │ ├── stackabilities │ │ │ └── index.js │ │ ├── schemas │ │ │ └── index.js │ │ ├── queries │ │ │ └── index.js │ │ ├── utils │ │ │ ├── index.js │ │ │ └── isPromotionExpired.js │ │ └── resolvers │ │ │ ├── Query │ │ │ └── index.js │ │ │ ├── index.js │ │ │ └── Mutation │ │ │ └── index.js │ ├── babel.config.cjs │ └── jest.config.cjs ├── api-plugin-email │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── src │ │ ├── queries │ │ │ └── index.js │ │ ├── resolvers │ │ │ ├── Query │ │ │ │ └── index.js │ │ │ ├── Mutation │ │ │ │ └── index.js │ │ │ └── index.js │ │ ├── mutations │ │ │ └── index.js │ │ ├── config.js │ │ ├── schemas │ │ │ └── index.js │ │ └── policies.json │ └── index.js ├── api-plugin-tags │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ ├── src │ │ ├── resolvers │ │ │ ├── Shop │ │ │ │ └── index.js │ │ │ ├── CatalogProduct │ │ │ │ └── index.js │ │ │ ├── Query │ │ │ │ └── index.js │ │ │ ├── Mutation │ │ │ │ └── index.js │ │ │ └── Tag │ │ │ │ └── index.js │ │ ├── mutations │ │ │ ├── __snapshots__ │ │ │ │ ├── addTag.test.js.snap │ │ │ │ ├── removeTag.test.js.snap │ │ │ │ └── updateTag.test.js.snap │ │ │ └── index.js │ │ └── queries │ │ │ └── index.js │ └── index.js ├── api-plugin-accounts │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ ├── src │ │ ├── resolvers │ │ │ ├── Shop │ │ │ │ └── index.js │ │ │ ├── AddAccountAddressBookEntryPayload.js │ │ │ └── Group │ │ │ │ └── index.js │ │ ├── queries │ │ │ └── __snapshots__ │ │ │ │ ├── groups.test.js.snap │ │ │ │ ├── group.test.js.snap │ │ │ │ └── userAccount.test.js.snap │ │ ├── mutations │ │ │ └── __snapshots__ │ │ │ │ └── sendResetAccountPasswordEmail.test.js.snap │ │ ├── config.js │ │ ├── util │ │ │ ├── defaultAccountGroups.js │ │ │ └── accountByUserId.js │ │ └── i18n │ │ │ ├── he.json │ │ │ └── nb.json │ └── index.js ├── api-plugin-carts │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── resolvers │ │ ├── Subscription │ │ │ └── index.js │ │ ├── Query │ │ │ └── index.js │ │ └── FulfillmentGroup │ │ │ └── index.js │ │ ├── mutations │ │ └── __snapshots__ │ │ │ ├── reconcileCartsMerge.test.js.snap │ │ │ ├── reconcileCartsKeepAccountCart.test.js.snap │ │ │ ├── reconcileCartsKeepAnonymousCart.test.js.snap │ │ │ ├── convertAnonymousCartToNewAccountCart.test.js.snap │ │ │ └── removeCartItems.test.js.snap │ │ ├── fulfillmentCartVersion.js │ │ ├── queries │ │ └── __snapshots__ │ │ │ └── accountCartByAccountId.test.js.snap │ │ └── schemas │ │ └── index.js ├── api-plugin-files │ ├── index.js │ └── src │ │ ├── resolvers │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ └── config.js ├── api-plugin-i18n │ ├── index.js │ └── src │ │ └── i18n │ │ └── nb.json ├── api-plugin-orders │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── mutations │ │ └── __snapshots__ │ │ │ ├── placeOrder.test.js.snap │ │ │ └── updateOrder.test.js.snap │ │ ├── schemas │ │ └── index.js │ │ ├── util │ │ └── __snapshots__ │ │ │ └── verifyPaymentsMatchOrderTotal.test.js.snap │ │ ├── queries │ │ └── __snapshots__ │ │ │ └── refunds.test.js.snap │ │ ├── resolvers │ │ └── Refund │ │ │ └── index.js │ │ └── preStartup.js ├── api-plugin-shops │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── mutations │ │ └── index.js │ │ ├── resolvers │ │ ├── Mutation │ │ │ └── index.js │ │ ├── index.js │ │ ├── Query │ │ │ └── index.js │ │ └── Shop │ │ │ └── index.js │ │ └── schemas │ │ └── index.js ├── api-plugin-taxes │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── i18n │ │ └── nb.json │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ └── Query │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── xforms │ │ └── id.js │ │ ├── mutations │ │ ├── index.js │ │ └── __snapshots__ │ │ │ └── getFulfillmentGroupTaxes.test.js.snap │ │ ├── policies.json │ │ └── preStartup.js ├── api-core │ ├── src │ │ ├── util │ │ │ └── logger.js │ │ ├── graphql │ │ │ ├── resolvers │ │ │ │ ├── Currency.js │ │ │ │ ├── __snapshots__ │ │ │ │ │ ├── ConnectionLimitInt.test.js.snap │ │ │ │ │ └── ConnectionCursor.test.js.snap │ │ │ │ └── Money.js │ │ │ └── subscription.graphql │ │ └── index.js │ ├── jest.config.cjs │ └── babel.config.cjs ├── api-plugin-bull-queue │ ├── index.js │ └── src │ │ └── api │ │ └── index.js ├── api-plugin-catalogs │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ └── src │ │ ├── i18n │ │ ├── he.json │ │ └── nb.json │ │ ├── resolvers │ │ ├── Mutation │ │ │ └── index.js │ │ ├── ImageInfo.js │ │ ├── Query │ │ │ └── index.js │ │ └── CatalogItemProduct │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ └── mutations │ │ └── index.js ├── api-plugin-discounts │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── i18n │ │ └── nb.json │ │ └── queries │ │ └── index.js ├── api-plugin-email-smtp │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── resolvers │ │ ├── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── mutations │ │ ├── index.js │ │ └── __snapshots__ │ │ │ └── verifySMTPEmailSettings.test.js.snap │ │ ├── schemas │ │ └── index.js │ │ ├── policies.json │ │ └── startup.js ├── api-plugin-inventory │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── schemas │ │ └── index.js │ │ ├── i18n │ │ └── index.js │ │ ├── queries │ │ └── index.js │ │ ├── policies.json │ │ └── utils │ │ └── preStartup.js ├── api-plugin-job-queue │ ├── index.js │ └── src │ │ ├── config.js │ │ ├── jobs.js │ │ └── job-queue │ │ └── README.md ├── api-plugin-navigation │ ├── index.js │ └── src │ │ ├── i18n │ │ └── index.js │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ ├── NavigationItem │ │ │ └── index.js │ │ └── Shop │ │ │ └── index.js │ │ └── schemas │ │ └── index.js ├── api-plugin-payments │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── resolvers │ │ ├── PaymentMethod │ │ │ └── index.js │ │ ├── Payment │ │ │ └── index.js │ │ ├── Query │ │ │ └── index.js │ │ ├── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── i18n │ │ └── nb.json │ │ ├── queries │ │ ├── __snapshots__ │ │ │ ├── availablePaymentMethods.test.js.snap │ │ │ └── paymentMethods.test.js.snap │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ └── mutations │ │ └── index.js ├── api-plugin-products │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ └── ProductConfiguration.js │ │ ├── mutations │ │ └── __snapshots__ │ │ │ ├── createProduct.test.js.snap │ │ │ ├── archiveProducts.test.js.snap │ │ │ ├── cloneProducts.test.js.snap │ │ │ ├── cloneProductVariants.test.js.snap │ │ │ └── createProductVariant.test.js.snap │ │ └── schemas │ │ └── index.js ├── api-plugin-sample-data │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── images │ │ ├── mZB2tnYRnJrxqZWee.hiking_boots.jpg │ │ ├── KfYLHwoMrfJWyJMqG.rugged_running_shoes.jpg │ │ ├── B9ncCC5kaGkNu9qC2.warm-wool-knitted-hat.jpg │ │ ├── Zv5PMxPrQoXK9Nbke.pexels-taryn-elliott-5737915.jpg │ │ ├── 5z9yubahxQZqLCPQH.istockphoto-480217047-170667a.jpg │ │ ├── JPEwhpFG5McpKKLjx.pexels-hanna-auramenka-8497532.jpg │ │ ├── 4WNQrD9qGE8iDB7H4.knit-beanie-white-front-61d71dd838f34.jpg │ │ ├── 46AevrgX4CRubhX4h.basketball-socks-white-front-61d726e653222.jpg │ │ ├── 46AevrgX4CRubhX4h.basketball-socks-white-front-61d726e653311.jpg │ │ ├── 46AevrgX4CRubhX4h.basketball-socks-white-front-61d726e6533a7.jpg │ │ ├── rwBQGfBQrF5sdivDG.unisex-denim-jacket-white-front-61d5ca9aef759.jpg │ │ ├── 6htQnYHKqqPNDf6yR.embroidered-crew-socks-black-left-61d71ce05f999.jpg │ │ ├── 6htQnYHKqqPNDf6yR.embroidered-crew-socks-black-right-61d71ce05fa72.jpg │ │ ├── 7KxD39Am8L7WDy6sB.womens-cropped-hoodie-black-front-61d723d1b3f7b.jpg │ │ ├── 7KxD39Am8L7WDy6sB.womens-cropped-hoodie-black-front-61d723d1b406f.jpg │ │ ├── 8fcfWFFLZq3sRK3TD.champion-bomber-jacket-black-front-61d717c63b613.jpg │ │ ├── 8fcfWFFLZq3sRK3TD.champion-bomber-jacket-black-front-61d717c63b8b9.jpg │ │ ├── GXxXSKGYmvW8ATbpj.unisex-zip-up-hoodie-black-front-61d71a1132a2b.jpg │ │ ├── GXxXSKGYmvW8ATbpj.unisex-zip-up-hoodie-black-front-61d71a1132c49.jpg │ │ ├── GXxXSKGYmvW8ATbpj.unisex-zip-up-hoodie-black-front-61d71a1132dbd.jpg │ │ ├── 4T5rnTh8fABBLjWth.unisex-denim-jacket-black-denim-back-61d5c81b189ab.jpg │ │ ├── 4T5rnTh8fABBLjWth.unisex-denim-jacket-black-denim-back-61d5c81b18b7e.jpg │ │ ├── 4T5rnTh8fABBLjWth.unisex-denim-jacket-black-denim-front-61d5c81b18a91.jpg │ │ ├── 4T5rnTh8fABBLjWth.unisex-denim-jacket-black-denim-front-61d5c81b18b11.jpg │ │ ├── Nixnh2DeJaKpMhvHR.all-over-print-mens-leggings-white-back-61d71b026678d.jpg │ │ ├── Nixnh2DeJaKpMhvHR.all-over-print-mens-leggings-white-left-61d71b0266890.jpg │ │ ├── jYRjB5krMPweP5HyZ.all-over-print-yoga-leggings-white-left-61d72aca702cc.jpg │ │ ├── ymjmx6wMcu7fB3Mvb.unisex-bomber-jacket-heather-black-back-61d72115e2a89.jpg │ │ ├── ymjmx6wMcu7fB3Mvb.unisex-bomber-jacket-heather-black-back-61d72115e2bfb.jpg │ │ ├── ymjmx6wMcu7fB3Mvb.unisex-bomber-jacket-heather-black-back-61d72115e2d2c.jpg │ │ ├── Nixnh2DeJaKpMhvHR.all-over-print-mens-leggings-white-front-61d71b0266655.jpg │ │ ├── Nixnh2DeJaKpMhvHR.all-over-print-mens-leggings-white-right-61d71b026680f.jpg │ │ ├── jYRjB5krMPweP5HyZ.all-over-print-yoga-leggings-white-front-61d72aca70167.jpg │ │ ├── rwBQGfBQrF5sdivDG.unisex-denim-jacket-white-product-details-61d5ca9aefa6e.jpg │ │ ├── dCtii9N4iA6YLcEgK.unisex-long-sleeve-tee-black-heather-front-61d72361de7b5.jpg │ │ ├── dCtii9N4iA6YLcEgK.unisex-long-sleeve-tee-black-heather-front-61d72361deac8.jpg │ │ ├── rwBQGfBQrF5sdivDG.unisex-denim-jacket-white-product-details-2-61d5ca9aefacd.jpg │ │ ├── ymjmx6wMcu7fB3Mvb.unisex-bomber-jacket-heather-black-front-2-61d72115e2afe.jpg │ │ ├── 4w8kMXBLpKvz9xYFS.embroidered-champion-packable-jacket-black-front-61d71f87762bd.jpg │ │ ├── 4w8kMXBLpKvz9xYFS.embroidered-champion-packable-jacket-black-front-61d71f877635b.jpg │ │ ├── Hn4BRaBvLkYffMq36.embroidered-champion-packable-jacket-black-front-61d714690e5a9.jpg │ │ ├── Hn4BRaBvLkYffMq36.embroidered-champion-packable-jacket-black-front-61d71f877635b.jpg │ │ ├── sfnf4bXmDMiWFysq5.all-over-print-mens-crew-neck-t-shirt-white-front-61d718f8f083d.jpg │ │ ├── sfnf4bXmDMiWFysq5.all-over-print-mens-crew-neck-t-shirt-white-front-61d718f8f0904.jpg │ │ ├── sfnf4bXmDMiWFysq5.all-over-print-mens-crew-neck-t-shirt-white-front-61d718f8f0af1.jpg │ │ ├── sfnf4bXmDMiWFysq5.all-over-print-mens-crew-neck-t-shirt-white-left-61d718f8f0a6f.jpg │ │ ├── sfnf4bXmDMiWFysq5.all-over-print-mens-crew-neck-t-shirt-white-right-61d718f8f09e4.jpg │ │ ├── ynNA5rXKZCHF2uKjq.embroidered-champion-packable-jacket-navy-front-61d714f788470.jpg │ │ ├── ynNA5rXKZCHF2uKjq.embroidered-champion-packable-jacket-navy-front-61d714f7885b0.jpg │ │ ├── 4w8kMXBLpKvz9xYFS.embroidered-champion-packable-jacket-black-zoomed-in-61d71f877623a.jpg │ │ ├── xM7BSt5CZkqom33pP.all-over-print-mens-athletic-long-shorts-white-front-61d72e5b055e6.jpg │ │ ├── xM7BSt5CZkqom33pP.all-over-print-mens-athletic-long-shorts-white-front-61d72e5b05725.jpg │ │ └── xM7BSt5CZkqom33pP.all-over-print-mens-athletic-long-shorts-white-front-61d72e5b057fa.jpg │ │ └── json-data │ │ ├── migrations.json │ │ ├── Shops.json │ │ ├── Accounts.json │ │ └── ShippingMethod.json ├── api-plugin-sequences │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── mutations │ │ └── index.js │ │ └── config.js ├── api-plugin-settings │ ├── index.js │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── mutations │ │ └── index.js │ │ ├── resolvers │ │ ├── index.js │ │ ├── Query │ │ │ └── index.js │ │ └── Mutation │ │ │ └── index.js │ │ └── schemas │ │ └── index.js ├── api-plugin-shipments │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── i18n │ │ ├── he.json │ │ └── nb.json │ │ ├── queries │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── resolvers │ │ ├── FulfillmentMethod │ │ │ └── index.js │ │ ├── Mutation │ │ │ └── index.js │ │ └── index.js │ │ └── mutations │ │ ├── __snapshots__ │ │ └── updateFulfillmentOptionsForGroup.test.js.snap │ │ └── index.js ├── api-plugin-surcharges │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ └── mutations │ │ └── index.js ├── api-plugin-translations │ └── index.js ├── api-plugin-authentication │ ├── index.js │ └── src │ │ └── config.js ├── api-plugin-email-templates │ ├── index.js │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ ├── Mutation │ │ │ └── index.js │ │ └── index.js │ │ ├── templates │ │ └── coreDefault.js │ │ ├── mutations │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ └── policies.json ├── api-plugin-fulfillment │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ ├── index.js │ └── src │ │ ├── schemas │ │ └── index.js │ │ ├── resolvers │ │ ├── FulfillmentMethod │ │ │ └── index.js │ │ ├── Query │ │ │ └── index.js │ │ └── index.js │ │ └── i18n │ │ └── index.js ├── api-plugin-inventory-simple │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ ├── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── policies.json │ │ ├── i18n │ │ └── index.js │ │ └── mutations │ │ └── index.js ├── api-plugin-notifications │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ └── src │ │ └── mutations │ │ └── index.js ├── api-plugin-payments-example │ ├── index.js │ └── src │ │ ├── i18n │ │ └── nb.json │ │ ├── schemas │ │ └── index.js │ │ └── startup.js ├── api-plugin-pricing-simple │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── mutations │ │ └── index.js │ │ ├── resolvers │ │ ├── Mutation │ │ │ └── index.js │ │ ├── CatalogProduct.js │ │ ├── CatalogProductVariant.js │ │ └── Product.js │ │ ├── schemas │ │ └── index.js │ │ ├── xforms │ │ ├── xformProductPrice.js │ │ └── xformProductVariantCompareAtPrice.js │ │ ├── i18n │ │ ├── index.js │ │ └── en.json │ │ ├── policies.json │ │ ├── util │ │ └── mutateNewVariantBeforeCreate.js │ │ └── preStartup.js ├── api-plugin-promotions-offers │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ ├── src │ │ ├── enhancers │ │ │ └── index.js │ │ ├── triggers │ │ │ └── index.js │ │ └── facts │ │ │ └── index.js │ └── README.md ├── api-plugin-simple-schema │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ ├── src │ │ ├── resolvers │ │ │ ├── index.js │ │ │ └── Query │ │ │ │ └── index.js │ │ ├── queries │ │ │ └── index.js │ │ └── schemas │ │ │ └── index.js │ └── index.js ├── api-plugin-sitemap-generator │ ├── index.js │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ ├── Mutation │ │ │ └── index.js │ │ ├── Sitemap │ │ │ └── index.js │ │ └── index.js │ │ ├── i18n │ │ └── index.js │ │ ├── mutations │ │ └── index.js │ │ └── schemas │ │ ├── index.js │ │ └── settings.graphql ├── api-plugin-taxes-flat-rate │ ├── index.js │ └── src │ │ ├── queries │ │ └── index.js │ │ ├── resolvers │ │ ├── Query │ │ │ └── index.js │ │ ├── Mutation │ │ │ └── index.js │ │ └── TaxRate │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── mutations │ │ └── index.js │ │ └── util │ │ └── getTaxCodes.js ├── api-plugin-address-validation │ ├── index.js │ └── src │ │ ├── resolvers │ │ ├── Address.js │ │ ├── AddressValidationRule.js │ │ ├── Query │ │ │ └── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── i18n │ │ └── index.js │ │ ├── queries │ │ └── index.js │ │ ├── simpleSchemas.js │ │ └── mutations │ │ └── index.js ├── api-plugin-payments-stripe-sca │ ├── index.js │ ├── babel.config.cjs │ └── src │ │ ├── resolvers │ │ ├── index.js │ │ └── Mutation │ │ │ └── index.js │ │ ├── mutations │ │ └── index.js │ │ ├── schemas │ │ └── index.js │ │ ├── xforms │ │ └── id.js │ │ ├── util │ │ └── constants.js │ │ └── config.js ├── api-plugin-promotions-discounts │ ├── index.js │ ├── src │ │ ├── stackabilities │ │ │ └── index.js │ │ ├── actions │ │ │ └── index.js │ │ ├── facts │ │ │ └── index.js │ │ ├── queries │ │ │ └── index.js │ │ ├── schemas │ │ │ └── index.js │ │ └── utils │ │ │ └── formatMoney.js │ ├── babel.config.cjs │ └── jest.config.cjs ├── api-plugin-shipments-flat-rate │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── i18n │ │ ├── he.json │ │ └── nb.json │ │ ├── schemas │ │ └── index.js │ │ └── resolvers │ │ ├── FlatRateFulfillmentMethod │ │ └── index.js │ │ └── ShopSettings │ │ └── index.js ├── api-plugin-system-information │ ├── index.js │ └── src │ │ ├── resolvers │ │ ├── index.js │ │ └── Query │ │ │ └── index.js │ │ ├── queries │ │ ├── index.js │ │ └── __snapshots__ │ │ │ └── systemInformation.test.js.snap │ │ ├── schemas │ │ └── index.js │ │ └── policies.json ├── api-plugin-address-validation-test │ └── index.js ├── api-plugin-fulfillment-type-pickup │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ └── src │ │ ├── schemas │ │ ├── index.js │ │ └── schema.graphql │ │ └── i18n │ │ └── index.js ├── api-plugin-fulfillment-type-shipping │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── i18n │ │ ├── he.json │ │ └── nb.json │ │ └── schemas │ │ └── index.js ├── api-plugin-promotions-coupons │ ├── migrations │ │ ├── migrationsNamespace.js │ │ └── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ ├── README.md │ ├── src │ │ ├── triggers │ │ │ └── index.js │ │ ├── resolvers │ │ │ ├── Order │ │ │ │ └── index.js │ │ │ ├── Promotion │ │ │ │ └── index.js │ │ │ ├── Query │ │ │ │ └── index.js │ │ │ └── index.js │ │ ├── schemas │ │ │ └── index.js │ │ ├── config.js │ │ ├── queries │ │ │ └── index.js │ │ └── utils │ │ │ └── isPromotionExpired.js │ └── index.js ├── file-collections-sa-gridfs │ ├── src │ │ ├── index.js │ │ └── debug.js │ ├── README.md │ └── jest.config.js ├── api-plugin-authorization-simple │ ├── migrations │ │ └── migrationsNamespace.js │ ├── src │ │ ├── queries │ │ │ ├── index.js │ │ │ └── __snapshots__ │ │ │ │ └── roles.test.js.snap │ │ ├── resolvers │ │ │ ├── Query │ │ │ │ └── index.js │ │ │ ├── Shop │ │ │ │ └── index.js │ │ │ └── index.js │ │ └── schemas │ │ │ └── index.js │ └── index.js ├── api-plugin-fulfillment-method-pickup-store │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── schemas │ │ ├── index.js │ │ └── schema.graphql │ │ └── i18n │ │ └── index.js ├── file-collections-sa-base │ ├── src │ │ ├── debug.js │ │ └── index.js │ ├── README.md │ └── jest.config.js ├── file-collections │ ├── src │ │ ├── common │ │ │ └── FileRecord │ │ │ │ └── index.js │ │ ├── node │ │ │ ├── debug.js │ │ │ └── getFileDownloadHandler │ │ │ │ └── index.js │ │ └── browser │ │ │ └── index.js │ └── README.md ├── api-plugin-fulfillment-method-shipping-flat-rate │ ├── index.js │ ├── jest.config.cjs │ ├── babel.config.cjs │ └── src │ │ ├── i18n │ │ ├── he.json │ │ └── nb.json │ │ ├── schemas │ │ └── index.js │ │ └── resolvers │ │ └── FlatRateFulfillmentMethod │ │ └── index.js ├── api-plugin-fulfillment-method-shipping-dynamic-rate │ ├── index.js │ ├── babel.config.cjs │ ├── jest.config.cjs │ └── src │ │ ├── schemas │ │ ├── index.js │ │ └── schema.graphql │ │ └── i18n │ │ └── index.js └── db-version-check │ ├── .gitignore │ └── src │ └── main.js ├── pnpm-workspace.yaml ├── .eslintignore ├── .npmrc ├── .github └── ISSUE_TEMPLATE │ ├── config.yml │ └── questions.md └── .editorconfig /.nvmrc: -------------------------------------------------------------------------------- 1 | 18.10.0 2 | -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /apps/reaction/public/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/reaction/public/custom/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/logger/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /packages/random/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | -------------------------------------------------------------------------------- /apps/meteor-blaze-app/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /packages/api-utils/tests/importAsString.test.txt: -------------------------------------------------------------------------------- 1 | IMPORTED A STRING 2 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'packages/**' 3 | - 'apps/**' 4 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx commitlint -e -------------------------------------------------------------------------------- /apps/reaction/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /resources/ 3 | Sitemap: sitemap.xml 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/README.md: -------------------------------------------------------------------------------- 1 | ## Promotions 2 | 3 | The base plugin for promotions 4 | 5 | -------------------------------------------------------------------------------- /packages/api-plugin-email/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "email"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "tags"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "accounts"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-files/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-i18n/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-orders/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shops/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /apps/reaction/tests/.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rules: { 3 | "require-jsdoc": "off" 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-core/src/util/logger.js: -------------------------------------------------------------------------------- 1 | import Logger from "@reactioncommerce/logger"; 2 | 3 | export { Logger }; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-bull-queue/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-job-queue/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-navigation/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-products/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-sequences/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-settings/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-translations/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-core/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-authentication/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "fulfillment"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-notifications/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-example/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "simpleSchema"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes-flat-rate/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-core/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-address-validation/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments-flat-rate/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-address-validation-test/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-pickup/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-i18n/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-i18n", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-orders/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-products/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "promotion-coupons"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/src/actions/index.js: -------------------------------------------------------------------------------- 1 | import noopAction from "./noop.js"; 2 | 3 | export default [noopAction]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shops/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-shops/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/resolvers/Shop/index.js: -------------------------------------------------------------------------------- 1 | import tags from "./tags.js"; 2 | 3 | export default { 4 | tags 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-taxes", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-utils/lib/configs/commitlint.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ["@commitlint/config-conventional"] 3 | }; 4 | -------------------------------------------------------------------------------- /packages/file-collections-sa-gridfs/src/index.js: -------------------------------------------------------------------------------- 1 | import GridFSStore from "./GridFSStore"; 2 | 3 | export default GridFSStore; 4 | -------------------------------------------------------------------------------- /packages/logger/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.log 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | 7 | dist 8 | node_modules 9 | -------------------------------------------------------------------------------- /packages/random/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.log 3 | npm-debug.log* 4 | yarn-debug.log* 5 | yarn-error.log* 6 | 7 | dist 8 | node_modules 9 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/migrations/migrationsNamespace.js: -------------------------------------------------------------------------------- 1 | export const migrationsNamespace = "simple-authorization"; 2 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/src/i18n/he.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "he", 3 | "ns": "reaction-catalog", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-catalog", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-pickup-store/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-notifications/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-products/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/src/qualifiers/index.js: -------------------------------------------------------------------------------- 1 | import stackable from "./stackable.js"; 2 | 3 | export default [stackable]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sequences/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sequences/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments/src/i18n/he.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "he", 3 | "ns": "reaction-shipping", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-shipping", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/file-collections-sa-base/src/debug.js: -------------------------------------------------------------------------------- 1 | import debug from "debug"; 2 | 3 | export default debug("reaction-file-collections"); 4 | -------------------------------------------------------------------------------- /packages/file-collections-sa-base/src/index.js: -------------------------------------------------------------------------------- 1 | import StorageAdapter from "./StorageAdapter"; 2 | 3 | export default StorageAdapter; 4 | -------------------------------------------------------------------------------- /packages/file-collections/src/common/FileRecord/index.js: -------------------------------------------------------------------------------- 1 | import FileRecord from "./FileRecord"; 2 | 3 | export default FileRecord; 4 | -------------------------------------------------------------------------------- /packages/file-collections/src/node/debug.js: -------------------------------------------------------------------------------- 1 | import debug from "debug"; 2 | 3 | export default debug("reaction-file-collections"); 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | jest.config.js 3 | .reaction/**/* 4 | client/plugins.js 5 | server/plugins.js 6 | imports/plugins/*/*/node_modules 7 | -------------------------------------------------------------------------------- /apps/reaction/public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /apps/reaction/public/resources/avatar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/avatar.gif -------------------------------------------------------------------------------- /packages/api-plugin-accounts/src/resolvers/Shop/index.js: -------------------------------------------------------------------------------- 1 | import groups from "./groups.js"; 2 | 3 | export default { 4 | groups 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import roles from "./roles.js"; 2 | 3 | export default { 4 | roles 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import emailJobs from "./emailJobs.js"; 2 | 3 | export default { 4 | emailJobs 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-flat-rate/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-notifications/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/src/stackabilities/index.js: -------------------------------------------------------------------------------- 1 | import perType from "./perType.js"; 2 | 3 | export default [perType]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Query from "./Query/index.js"; 2 | 3 | export default { 4 | Query 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-utils/index.js: -------------------------------------------------------------------------------- 1 | console.warn("You should not import from this file, please import modules directly."); // eslint-disable-line 2 | -------------------------------------------------------------------------------- /packages/file-collections-sa-gridfs/src/debug.js: -------------------------------------------------------------------------------- 1 | import debug from "debug"; 2 | 3 | export default debug("reaction-file-collections"); 4 | -------------------------------------------------------------------------------- /packages/api-plugin-email/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import emailJobs from "./emailJobs.js"; 2 | 3 | export default { 4 | emailJobs 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-files/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | 3 | export default { 4 | Mutation 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-dynamic-rate/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export default register; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-pickup/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/resolvers/PaymentMethod/index.js: -------------------------------------------------------------------------------- 1 | export default { 2 | canRefund: (node) => node.canRefund !== false 3 | }; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-settings/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import appSettings from "./appSettings.js"; 2 | 3 | export default { 4 | appSettings 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments-flat-rate/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments-flat-rate/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import sitemap from "./sitemap.js"; 2 | 3 | export default { 4 | sitemap 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Query from "./Query/index.js"; 2 | 3 | export default { 4 | Query 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes-flat-rate/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import taxRates from "./taxRates.js"; 2 | 3 | export default { 4 | taxRates 5 | }; 6 | -------------------------------------------------------------------------------- /packages/db-version-check/.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | npm-debug.log* 3 | yarn-debug.log* 4 | yarn-error.log* 5 | yarn.lock 6 | dist 7 | node_modules 8 | -------------------------------------------------------------------------------- /packages/file-collections/README.md: -------------------------------------------------------------------------------- 1 | # file-collections 2 | 3 | [Read the docs](https://github.com/reactioncommerce/reaction-file-collections) 4 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | auto-install-peers=true 3 | strict-peer-dependencies=false 4 | publish-branch=trunk 5 | prefer-workspace-packages=true 6 | -------------------------------------------------------------------------------- /apps/meteor-blaze-app/client/main.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line node/no-unpublished-import, node/no-missing-import 2 | import "/imports/client"; 3 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/placeholder.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/placeholder.gif -------------------------------------------------------------------------------- /packages/api-plugin-accounts/src/resolvers/AddAccountAddressBookEntryPayload.js: -------------------------------------------------------------------------------- 1 | export default { 2 | addressEdge: ({ address }) => address 3 | }; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import roles from "./roles.js"; 2 | 3 | export default { 4 | roles 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/src/resolvers/Shop/index.js: -------------------------------------------------------------------------------- 1 | import roles from "./roles.js"; 2 | 3 | export default { 4 | roles 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/resolvers/Subscription/index.js: -------------------------------------------------------------------------------- 1 | import cartUpdated from "./cartUpdated.js"; 2 | 3 | export default { cartUpdated }; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | 3 | export default { 4 | Mutation 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-pickup/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import sitemap from "./sitemap.js"; 2 | 3 | export default { 4 | sitemap 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /apps/reaction/public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /apps/reaction/public/resources/fonts/fontello.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/fonts/fontello.eot -------------------------------------------------------------------------------- /apps/reaction/public/resources/fonts/fontello.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/fonts/fontello.ttf -------------------------------------------------------------------------------- /apps/reaction/public/resources/fonts/fontello.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/fonts/fontello.woff -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-pickup-store/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-pickup-store/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/src/i18n/he.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "he", 3 | "ns": "reaction-shipping", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-shipping", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | 3 | export default { 4 | Mutation 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/src/actions/index.js: -------------------------------------------------------------------------------- 1 | import discountAction from "./discountAction.js"; 2 | 3 | export default [discountAction]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments-flat-rate/src/i18n/he.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "he", 3 | "ns": "reaction-shipping-rates", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-shipments-flat-rate/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-shipping-rates", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes-flat-rate/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import taxRates from "./taxRates.js"; 2 | 3 | export default { 4 | taxRates 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-utils/lib/configs/husky.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | hooks: { 3 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/public/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /apps/reaction/public/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /apps/reaction/public/resources/fonts/fontello.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/fonts/fontello.woff2 -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import discountCodes from "./discountCodes.js"; 2 | 3 | export default { 4 | discountCodes 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-flat-rate/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/src/enhancers/index.js: -------------------------------------------------------------------------------- 1 | import merchandiseTotal from "./merchandiseTotal.js"; 2 | 3 | export default [merchandiseTotal]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/src/stackabilities/index.js: -------------------------------------------------------------------------------- 1 | import all from "./all.js"; 2 | import none from "./none.js"; 3 | 4 | export default [all, none]; 5 | -------------------------------------------------------------------------------- /packages/api-plugin-sequences/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import incrementSequence from "./incrementSequence.js"; 2 | 3 | export default { incrementSequence }; 4 | -------------------------------------------------------------------------------- /packages/db-version-check/src/main.js: -------------------------------------------------------------------------------- 1 | import doesDatabaseVersionMatch from "./doesDatabaseVersionMatch.js"; 2 | 3 | export default doesDatabaseVersionMatch; 4 | -------------------------------------------------------------------------------- /packages/file-collections-sa-base/README.md: -------------------------------------------------------------------------------- 1 | # file-collections-sa-base 2 | 3 | [Read the docs](https://github.com/reactioncommerce/reaction-file-collections) 4 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/Reaction2.0_Catalyst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/Reaction2.0_Catalyst.png -------------------------------------------------------------------------------- /packages/api-plugin-discounts/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "language": "Bokmål", 3 | "i18n": "nb", 4 | "ns": "reaction-discounts", 5 | "translation": { } 6 | }] 7 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import emailTemplates from "./emailTemplates.js"; 2 | 3 | export default { 4 | emailTemplates 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-dynamic-rate/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-dynamic-rate/jest.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/jest.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-flat-rate/babel.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("@reactioncommerce/api-utils/lib/configs/babel.config.cjs"); 2 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import simpleInventory from "./simpleInventory.js"; 2 | 3 | export default { 4 | simpleInventory 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "language": "Bokmål", 3 | "i18n": "nb", 4 | "ns": "reaction-payments", 5 | "translation": { } 6 | }] 7 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import getVariantPrice from "./getVariantPrice.js"; 2 | 3 | export default { 4 | getVariantPrice 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-settings/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import updateAppSettings from "./updateAppSettings.js"; 2 | 3 | export default { 4 | updateAppSettings 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import introspectSchema from "./introspectSchema.js"; 2 | 3 | export default { 4 | introspectSchema 5 | }; 6 | -------------------------------------------------------------------------------- /packages/file-collections-sa-gridfs/README.md: -------------------------------------------------------------------------------- 1 | # file-collections-sa-gridfs 2 | 3 | [Read the docs](https://github.com/reactioncommerce/reaction-file-collections) 4 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "language": "Bokmål", 3 | "i18n": "nb", 4 | "ns": "discount-codes", 5 | "translation": { } 6 | }] 7 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import discountCodes from "./discountCodes.js"; 2 | 3 | export default { 4 | discountCodes 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import emailTemplates from "./emailTemplates.js"; 2 | 3 | export default { 4 | emailTemplates 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import retryFailedEmail from "./retryFailedEmail.js"; 2 | 3 | export default { 4 | retryFailedEmail 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-flat-rate/src/i18n/he.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "he", 3 | "ns": "reaction-shipping-rates", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-flat-rate/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "i18n": "nb", 3 | "ns": "reaction-shipping-rates", 4 | "translation": { } 5 | }] 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/README.md: -------------------------------------------------------------------------------- 1 | ## Promotions-Offers 2 | 3 | A plugin that allows you to create promotions "offers" which can trigger any "action" 4 | 5 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-offers/src/triggers/index.js: -------------------------------------------------------------------------------- 1 | import offerTriggerHandler from "./offerTriggerHandler.js"; 2 | 3 | export default [offerTriggerHandler]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/i18n/index.js: -------------------------------------------------------------------------------- 1 | import en from "./en.json" assert { type: "json" }; 2 | 3 | export default { 4 | translations: [...en] 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/email-templates/shop-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/email-templates/shop-logo.png -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/globalSettings/GlobalSettingsQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query{ 3 | globalSettings { 4 | canSellVariantWithoutInventory 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import updateTemplate from "./updateTemplate.js"; 2 | 3 | export default { 4 | updateTemplate 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import simpleInventory from "./simpleInventory.js"; 2 | 3 | export default { 4 | simpleInventory 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-notifications/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import createNotification from "./createNotification.js"; 2 | 3 | export default { 4 | createNotification 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-example/src/i18n/nb.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "language": "Bokmål", 3 | "i18n": "nb", 4 | "ns": "example-paymentmethod", 5 | "translation": { } 6 | }] 7 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/README.md: -------------------------------------------------------------------------------- 1 | ## Promotions-Coupons 2 | 3 | A plugin that allows you to create promotions "coupons" which can trigger any "action" 4 | 5 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/src/triggers/index.js: -------------------------------------------------------------------------------- 1 | import couponsTriggerHandler from "./couponsTriggerHandler.js"; 2 | 3 | export default [couponsTriggerHandler]; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import introspectSchema from "./introspectSchema.js"; 2 | 3 | export default { 4 | introspectSchema 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import generateSitemaps from "./generateSitemaps.js"; 2 | 3 | export default { 4 | generateSitemaps 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import systemInformation from "./systemInformation.js"; 2 | 3 | export default { 4 | systemInformation 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/email-templates/twitter-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/email-templates/twitter-icon.png -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/taxCodes/TaxCodesQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query ($shopId: ID!) { 3 | taxCodes(shopId: $shopId){ 4 | code 5 | label 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/api-plugin-email/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import generateSitemaps from "./generateSitemaps.js"; 2 | 3 | export default { 4 | generateSitemaps 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/file-collections/src/node/getFileDownloadHandler/index.js: -------------------------------------------------------------------------------- 1 | import getFileDownloadHandler from "./getFileDownloadHandler"; 2 | 3 | export default getFileDownloadHandler; 4 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/email-templates/facebook-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/email-templates/facebook-icon.png -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/shopBySlug/ShopBySlugQuery.graphql: -------------------------------------------------------------------------------- 1 | query ($slug: String!) { 2 | shopBySlug(slug: $slug) { 3 | _id 4 | name 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import getDiscountsTotalForCart from "./getDiscountsTotalForCart.js"; 2 | 3 | export default { 4 | getDiscountsTotalForCart 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import verifySMTPEmailSettings from "./verifySMTPEmailSettings.js"; 2 | 3 | export default { 4 | verifySMTPEmailSettings 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/src/facts/index.js: -------------------------------------------------------------------------------- 1 | import getKeyValueArray from "./getKeyValueArray.js"; 2 | 3 | export default { 4 | keyValueArray: getKeyValueArray 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import systemInformation from "./systemInformation.js"; 2 | 3 | export default { 4 | systemInformation 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/public/resources/email-templates/google-plus-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/apps/reaction/public/resources/email-templates/google-plus-icon.png -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/shopSettings/ShopSettingsQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query($shopId: ID!){ 3 | shopSettings(shopId: $shopId){ 4 | sitemapRefreshPeriod 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/resolvers/CatalogProduct/index.js: -------------------------------------------------------------------------------- 1 | import tagIds from "./tagIds.js"; 2 | import tags from "./tags.js"; 3 | 4 | export default { 5 | tagIds, 6 | tags 7 | }; 8 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/paymentMethods/PaymentMethodsQuery.graphql: -------------------------------------------------------------------------------- 1 | query ($shopId: ID!){ 2 | paymentMethods(shopId: $shopId){ 3 | isEnabled 4 | name 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/taxServices/TaxServicesQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query ($shopId: ID!) { 3 | taxServices(shopId: $shopId){ 4 | name 5 | pluginName 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import publishProductsToCatalog from "./publishProductsToCatalog.js"; 2 | 3 | export default { 4 | publishProductsToCatalog 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import verifySMTPEmailSettings from "./verifySMTPEmailSettings.js"; 2 | 3 | export default { 4 | verifySMTPEmailSettings 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/src/templates/coreDefault.js: -------------------------------------------------------------------------------- 1 | export default ` 2 |
3 | This is the placeholder template at private/email/templates/coreDefault.html 4 | 5 | `; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/index.js: -------------------------------------------------------------------------------- 1 | import register from "./src/index.js"; 2 | 3 | export { default as migrations } from "./migrations/index.js"; 4 | 5 | export default register; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/src/resolvers/Order/index.js: -------------------------------------------------------------------------------- 1 | export default { 2 | couponLog: (order, _, context) => context.queries.couponLogByOrderId(context, order.orderId) 3 | }; 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Discord 4 | url: https://discord.gg/Bwm63tBcQY 5 | about: Please ask and answer questions here. 6 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/roles/RolesQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | 3 | query ($shopId: ID!) { 4 | roles(shopId: $shopId){ 5 | nodes { 6 | name 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/src/queries/__snapshots__/groups.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws access-denied if not allowed 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-orders/src/mutations/__snapshots__/placeOrder.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if order isn't supplied 1`] = `"Order is required"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import createStripePaymentIntent from "./createStripePaymentIntent.js"; 2 | 3 | export default { 4 | createStripePaymentIntent 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import updateProductVariantPrices from "./updateProductVariantPrices.js"; 2 | 3 | export default { 4 | updateProductVariantPrices 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import getDiscountsTotalForCart from "./getDiscountsTotalForCart.js"; 2 | 3 | export default { 4 | getDiscountsTotalForCart 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-settings/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | import Query from "./Query/index.js"; 3 | 4 | export default { 5 | Mutation, 6 | Query 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import taxCodes from "./taxCodes.js"; 2 | import taxServices from "./taxServices.js"; 3 | 4 | export default { 5 | taxCodes, 6 | taxServices 7 | }; 8 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/sitemap/SitemapQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query ($handle: String!, $shopUrl: String!) { 3 | sitemap(handle: $handle, shopUrl: $shopUrl){ 4 | xml 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-authorization-simple/src/queries/__snapshots__/roles.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if permission check fails 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/queries/__snapshots__/availablePaymentMethods.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if shop not found 1`] = `"Shop not found"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shops/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import createShop from "./createShop.js"; 2 | import updateShop from "./updateShop.js"; 3 | 4 | export default { 5 | createShop, 6 | updateShop 7 | }; 8 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations1/checkout/AvailablePaymentMethodsQuery.graphql: -------------------------------------------------------------------------------- 1 | query($shopId: ID!) { 2 | availablePaymentMethods(shopId: $shopId){ 3 | isEnabled 4 | name 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-address-validation/src/resolvers/Address.js: -------------------------------------------------------------------------------- 1 | import { encodeAddressOpaqueId } from "../xforms/id.js"; 2 | 3 | export default { 4 | _id: (node) => encodeAddressOpaqueId(node._id) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/src/queries/__snapshots__/discountCodes.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if permission check fails 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | import Query from "./Query/index.js"; 3 | 4 | export default { 5 | Mutation, 6 | Query 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import createStripePaymentIntent from "./createStripePaymentIntent.js"; 2 | 3 | export default { 4 | createStripePaymentIntent 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/resolvers/Payment/index.js: -------------------------------------------------------------------------------- 1 | import { encodePaymentOpaqueId } from "../../xforms/id.js"; 2 | 3 | export default { 4 | _id: (node) => encodePaymentOpaqueId(node._id) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import updateProductVariantPrices from "./updateProductVariantPrices.js"; 2 | 3 | export default { 4 | updateProductVariantPrices 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/mZB2tnYRnJrxqZWee.hiking_boots.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/mZB2tnYRnJrxqZWee.hiking_boots.jpg -------------------------------------------------------------------------------- /packages/api-plugin-shipments/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import getFulfillmentMethodsWithQuotes from "./getFulfillmentMethodsWithQuotes.js"; 2 | 3 | export default { 4 | getFulfillmentMethodsWithQuotes 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/mutations/__snapshots__/addTag.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`calls mutations.addTag and throws for non admins 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import taxCodes from "./taxCodes.js"; 2 | import taxServices from "./taxServices.js"; 3 | 4 | export default { 5 | taxCodes, 6 | taxServices 7 | }; 8 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/addressValidationServices/AddressValidationServicesQuery.graphql: -------------------------------------------------------------------------------- 1 | 2 | query { 3 | addressValidationServices{ 4 | name 5 | supportedCountryCodes 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/src/mutations/__snapshots__/verifySMTPEmailSettings.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if permission check fails 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-shops/src/resolvers/Mutation/index.js: -------------------------------------------------------------------------------- 1 | import createShop from "./createShop.js"; 2 | import updateShop from "./updateShop.js"; 3 | 4 | export default { 5 | createShop, 6 | updateShop 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-sitemap-generator/src/resolvers/Sitemap/index.js: -------------------------------------------------------------------------------- 1 | import { encodeShopOpaqueId } from "../../xforms/id.js"; 2 | 3 | export default { 4 | shopId: (node) => encodeShopOpaqueId(node.shopId) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/mutations/__snapshots__/removeTag.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`calls mutations.removeTag and throws for non admins 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/mutations/__snapshots__/updateTag.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`calls mutations.updateTag and throws for non admins 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations1/checkout/CreateShopMutation.graphql: -------------------------------------------------------------------------------- 1 | mutation CreateShop($input: CreateShopInput!) { 2 | createShop(input: $input) { 3 | shop { 4 | _id 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/queries/availablePaymentMethods/AvailablePaymentMethodsQuery.graphql: -------------------------------------------------------------------------------- 1 | query($shopId: ID!) { 2 | availablePaymentMethods(shopId: $shopId){ 3 | isEnabled 4 | name 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/mutations/__snapshots__/reconcileCartsMerge.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if deleteOne fails 1`] = `"Unable to delete anonymous cart"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-catalogs/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import retryFailedEmail from "./retryFailedEmail.js"; 2 | import sendEmail from "./sendEmail.js"; 3 | 4 | export default { 5 | retryFailedEmail, 6 | sendEmail 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-files/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-orders/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/resolvers/CatalogProduct.js: -------------------------------------------------------------------------------- 1 | import xformPricingArray from "../util/xformPricingArray.js"; 2 | 3 | export default { 4 | pricing: (node) => xformPricingArray(node.pricing) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/src/resolvers/Promotion/index.js: -------------------------------------------------------------------------------- 1 | import getPreviewPromotionCoupon from "./getPreviewPromotionCoupon.js"; 2 | 3 | export default { 4 | coupon: getPreviewPromotionCoupon 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/src/queries/index.js: -------------------------------------------------------------------------------- 1 | import surchargeById from "./surchargeById.js"; 2 | import surcharges from "./surcharges.js"; 3 | 4 | export default { 5 | surchargeById, 6 | surcharges 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/src/queries/__snapshots__/systemInformation.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws access-denied if not allowed 1`] = `"Access Denied"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-smtp/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-navigation/src/i18n/index.js: -------------------------------------------------------------------------------- 1 | import en from "./en.json" assert { type: "json" }; 2 | import es from "./es.json" assert { type: "json" }; 3 | 4 | export default { 5 | translations: [...en, ...es] 6 | }; 7 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/KfYLHwoMrfJWyJMqG.rugged_running_shoes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/KfYLHwoMrfJWyJMqG.rugged_running_shoes.jpg -------------------------------------------------------------------------------- /packages/api-plugin-shipments/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-simple-schema/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import surchargeById from "./surchargeById.js"; 2 | import surcharges from "./surcharges.js"; 3 | 4 | export default { 5 | surchargeById, 6 | surcharges 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-surcharges/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations1/generateSitemaps/generateSitemaps.graphql: -------------------------------------------------------------------------------- 1 | 2 | mutation generateSitemaps($input: GenerateSitemapsInput) { 3 | generateSitemaps(input: $input){ 4 | wasJobScheduled 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/api-core/src/graphql/resolvers/Currency.js: -------------------------------------------------------------------------------- 1 | import encodeOpaqueId from "@reactioncommerce/api-utils/encodeOpaqueId.js"; 2 | 3 | export default { 4 | _id: (node) => encodeOpaqueId("reaction/currency", node._id) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/mutations/__snapshots__/reconcileCartsKeepAccountCart.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if deleteOne fails 1`] = `"Unable to delete anonymous cart"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/mutations/__snapshots__/reconcileCartsKeepAnonymousCart.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if deleteOne fails 1`] = `"Unable to delete anonymous cart"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-discounts-codes/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-email-templates/src/mutations/index.js: -------------------------------------------------------------------------------- 1 | import renderEmail from "./renderEmail.js"; 2 | import updateTemplate from "./updateTemplate.js"; 3 | 4 | export default { 5 | renderEmail, 6 | updateTemplate 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-inventory-simple/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-example/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/resolvers/CatalogProductVariant.js: -------------------------------------------------------------------------------- 1 | import xformPricingArray from "../util/xformPricingArray.js"; 2 | 3 | export default { 4 | pricing: (node) => xformPricingArray(node.pricing) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-pricing-simple/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-coupons/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/B9ncCC5kaGkNu9qC2.warm-wool-knitted-hat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/B9ncCC5kaGkNu9qC2.warm-wool-knitted-hat.jpg -------------------------------------------------------------------------------- /packages/api-plugin-settings/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const settings = importAsString("./settings.graphql"); 4 | 5 | export default [settings]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-system-information/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes-flat-rate/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-accounts/src/mutations/__snapshots__/sendResetAccountPasswordEmail.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if account matching email not found 1`] = `"Account not found"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/mutations/__snapshots__/convertAnonymousCartToNewAccountCart.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if deleteOne fails 1`] = `"Unable to delete anonymous cart"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-email/src/config.js: -------------------------------------------------------------------------------- 1 | import envalid from "envalid"; 2 | 3 | export default envalid.cleanEnv(process.env, { 4 | REACTION_WORKERS_ENABLED: envalid.bool({ default: true }) 5 | }, { 6 | dotEnvPath: null 7 | }); 8 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-pickup/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-orders/src/util/__snapshots__/verifyPaymentsMatchOrderTotal.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws if does not match 1`] = `"Total of all payments must equal order total"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-payments-stripe-sca/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-promotions-discounts/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-settings/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import globalSettings from "./globalSettings.js"; 2 | import shopSettings from "./shopSettings.js"; 3 | 4 | export default { 5 | globalSettings, 6 | shopSettings 7 | }; 8 | -------------------------------------------------------------------------------- /packages/api-plugin-taxes/src/xforms/id.js: -------------------------------------------------------------------------------- 1 | import decodeOpaqueIdForNamespace from "@reactioncommerce/api-utils/decodeOpaqueIdForNamespace.js"; 2 | 3 | export const decodeShopOpaqueId = decodeOpaqueIdForNamespace("reaction/shop"); 4 | -------------------------------------------------------------------------------- /apps/meteor-blaze-app/imports/client/index.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable node/no-missing-import */ 2 | import "bootstrap"; 3 | import "bootstrap/dist/css/bootstrap.css"; 4 | import "bootstrap/dist/css/bootstrap-theme.css"; 5 | import "./routes"; 6 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations1/checkout/PlaceOrderMutation.graphql: -------------------------------------------------------------------------------- 1 | mutation PlaceOrder($input: PlaceOrderInput!) { 2 | placeOrder(input: $input) { 3 | orders { 4 | _id 5 | email 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/fulfillmentCartVersion.js: -------------------------------------------------------------------------------- 1 | // Update this for each major change of cart object related to Fulfillment Type 2 | // version 2 => Fulfillment changes - Initial version 3 | export const fulfillmentCartVersion = 2; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-shipping/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment/src/resolvers/FulfillmentMethod/index.js: -------------------------------------------------------------------------------- 1 | import { encodeFulfillmentMethodOpaqueId } from "../../xforms/id.js"; 2 | 3 | export default { 4 | _id: (node) => encodeFulfillmentMethodOpaqueId(node._id) 5 | }; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/Zv5PMxPrQoXK9Nbke.pexels-taryn-elliott-5737915.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/Zv5PMxPrQoXK9Nbke.pexels-taryn-elliott-5737915.jpg -------------------------------------------------------------------------------- /packages/api-plugin-shipments/src/resolvers/FulfillmentMethod/index.js: -------------------------------------------------------------------------------- 1 | import { encodeFulfillmentMethodOpaqueId } from "../../xforms/id.js"; 2 | 3 | export default { 4 | _id: (node) => encodeFulfillmentMethodOpaqueId(node._id) 5 | }; 6 | -------------------------------------------------------------------------------- /apps/reaction/.env.example: -------------------------------------------------------------------------------- 1 | MONGO_URL=mongodb://mongo.reaction.localhost:27017/reaction 2 | ROOT_URL=http://localhost:3000 3 | STRIPE_API_KEY=YOUR_PRIVATE_STRIPE_API_KEY 4 | REDIS_SERVER=redis://127.0.0.1:6379 5 | MAIL_URL=smtp://localhost:1025 6 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/queries/__snapshots__/accountCartByAccountId.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`for other account, throws access denied if non-admin 1`] = `[ReactionError: Access Denied]`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-pickup-store/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/5z9yubahxQZqLCPQH.istockphoto-480217047-170667a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/5z9yubahxQZqLCPQH.istockphoto-480217047-170667a.jpg -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/JPEwhpFG5McpKKLjx.pexels-hanna-auramenka-8497532.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/JPEwhpFG5McpKKLjx.pexels-hanna-auramenka-8497532.jpg -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-type-pickup/src/schemas/schema.graphql: -------------------------------------------------------------------------------- 1 | "Allowed fulfillment types, extended by fulfillment-type plugins" 2 | enum FulfillmentType { 3 | "An order will be fulfilled by the customer picking it up" 4 | pickup 5 | } 6 | -------------------------------------------------------------------------------- /packages/api-utils/lib/graphql/__snapshots__/applyPaginationToMongoCursor.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`with both first and last, throws error 1`] = `"Request either \`first\` or \`last\` but not both"`; 4 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/README.md: -------------------------------------------------------------------------------- 1 | # Integration Tests 2 | 3 | This folder contains test files that run GraphQL integration tests. Refer to [the documentation](https://docs.reactioncommerce.com/reaction-docs/trunk/running-jest-integration-tests). 4 | -------------------------------------------------------------------------------- /packages/api-plugin-fulfillment-method-shipping-dynamic-rate/src/schemas/index.js: -------------------------------------------------------------------------------- 1 | import importAsString from "@reactioncommerce/api-utils/importAsString.js"; 2 | 3 | const schema = importAsString("./schema.graphql"); 4 | 5 | export default [schema]; 6 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/json-data/migrations.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "namespace" : "accounts", 4 | "version" : "3-0" 5 | }, 6 | { 7 | "namespace" : "simple-authorization", 8 | "version" : "5-0" 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /packages/api-utils/lib/graphql/__snapshots__/applyPaginationToMongoAggregate.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`with both first and last, throws error 1`] = `"Request either \`first\` or \`last\` but not both"`; 4 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations2/setTagHeroMedia/setTagHeroMedia.graphql: -------------------------------------------------------------------------------- 1 | mutation setTagHeroMedia($input: SetTagHeroMediaInput!) { 2 | setTagHeroMedia(input: $input){ 3 | tag { 4 | _id 5 | heroMediaUrl 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /apps/reaction/tests/util/jestProcessEnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "MAIL_URL": "smtp://user:pass@email-smtp.us-west-2.amazonaws.com:465", 3 | "REACTION_LOG_LEVEL": "ERROR", 4 | "REACTION_WORKERS_ENABLED": false, 5 | "REDIS_SERVER": "redis://127.0.0.1:6379" 6 | } 7 | 8 | -------------------------------------------------------------------------------- /packages/api-core/src/index.js: -------------------------------------------------------------------------------- 1 | export { default as ReactionAPICore } from "./ReactionAPICore.js"; 2 | export { default as ReactionTestAPICore } from "./ReactionTestAPICore.js"; 3 | export { default as importPluginsJSONFile } from "./importPluginsJSONFile.js"; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-carts/src/mutations/__snapshots__/removeCartItems.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`throws when no account and no cartToken passed 1`] = `"A cartToken is required when updating an anonymous cart"`; 4 | -------------------------------------------------------------------------------- /packages/api-plugin-files/src/config.js: -------------------------------------------------------------------------------- 1 | import envalid from "envalid"; 2 | 3 | const { str } = envalid; 4 | 5 | export default envalid.cleanEnv(process.env, { 6 | NODE_ENV: str({ default: "production" }) 7 | }, { 8 | dotEnvPath: null 9 | }); 10 | -------------------------------------------------------------------------------- /packages/api-plugin-sample-data/src/images/4WNQrD9qGE8iDB7H4.knit-beanie-white-front-61d71dd838f34.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plutonurmux/malichimp/HEAD/packages/api-plugin-sample-data/src/images/4WNQrD9qGE8iDB7H4.knit-beanie-white-front-61d71dd838f34.jpg -------------------------------------------------------------------------------- /packages/api-plugin-shops/src/resolvers/index.js: -------------------------------------------------------------------------------- 1 | import Mutation from "./Mutation/index.js"; 2 | import Query from "./Query/index.js"; 3 | import Shop from "./Shop/index.js"; 4 | 5 | export default { 6 | Mutation, 7 | Query, 8 | Shop 9 | }; 10 | -------------------------------------------------------------------------------- /packages/api-plugin-tags/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import productsByTagId from "./productsByTagId.js"; 2 | import tag from "./tag.js"; 3 | import tags from "./tags.js"; 4 | 5 | export default { 6 | productsByTagId, 7 | tag, 8 | tags 9 | }; 10 | -------------------------------------------------------------------------------- /apps/reaction/tests/integration/api/mutations2/updateProductsVisibility/UpdateProductsVisibility.graphql: -------------------------------------------------------------------------------- 1 | mutation updateProductsVisibility($input: UpdateProductsVisibilityInput!) { 2 | updateProductsVisibility(input: $input) { 3 | updatedCount 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/api-core/src/graphql/subscription.graphql: -------------------------------------------------------------------------------- 1 | "Subscriptions allow you to request to get updated data whenever it changes" 2 | type Subscription { 3 | "A test subscription that returns an incremented number every 1 second for 10 seconds" 4 | tick: Int! 5 | } -------------------------------------------------------------------------------- /packages/api-plugin-accounts/src/config.js: -------------------------------------------------------------------------------- 1 | import envalid from "envalid"; 2 | 3 | const { str } = envalid; 4 | 5 | export default envalid.cleanEnv(process.env, { 6 | NODE_ENV: str({ default: "production" }) 7 | }, { 8 | dotEnvPath: null 9 | }); 10 | -------------------------------------------------------------------------------- /packages/api-plugin-payments/src/resolvers/Query/index.js: -------------------------------------------------------------------------------- 1 | import availablePaymentMethods from "./availablePaymentMethods.js"; 2 | import paymentMethods from "./paymentMethods.js"; 3 | 4 | export default { 5 | availablePaymentMethods, 6 | paymentMethods 7 | }; 8 | -------------------------------------------------------------------------------- /packages/file-collections-sa-base/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | name: "file-collections-sa-base", 3 | displayName: "file-collections-sa-base", 4 | rootDir: "../..", 5 | testMatch: ["