adrien2p
b90291b18d
feat(medusa): Improve buildQuery as well as refactor the cart service as an example
2022-04-21 13:48:16 +02:00
adrien2p
e7e715ac17
feat(medusa): Split base service to its related TransactionBaseService and utilities methods when required
2022-04-21 13:48:16 +02:00
adrien2p
99146b7403
feat(medusa): Export transaction related methods to the transactionBaseService
2022-04-21 13:48:16 +02:00
adrien2p
1499bc52e3
feat(medusa): Add writable type
2022-04-21 13:48:16 +02:00
adrien2p
bfb81b8b32
feat(medusa): Improve base-service
2022-04-21 13:48:16 +02:00
Adrien de Peretti
313cb0658b
feat(medusa): Improve config loading ( #1290 )
2022-04-21 12:49:56 +02:00
Adrien de Peretti
89a6de4660
fix(medusa): Remove updatePaymentMethod store cart route ( #1382 )
2022-04-21 12:43:22 +02:00
Shahed Nasser
7e306af687
Merge pull request #1374 from medusajs/docs/fix-links-styling
...
Docs: added color for links in documentation content
2022-04-19 17:54:00 +03:00
Shahed Nasser
8796c85598
added color for links in documentation content
2022-04-19 16:43:14 +03:00
Shahed Nasser
e8cd03640d
fix(docs): Algolia + Search page ( #1349 )
2022-04-19 15:23:24 +02:00
Oliver Windall Juhl
9acee2799e
fix(medusa): Remove unsupported Discount endpoints ( #1367 )
2022-04-19 13:39:49 +02:00
Shahed Nasser
2e6622ec5d
feat: add Mailchimp docs ( #1351 )
2022-04-18 15:27:05 +02:00
Shahed Nasser
3ad0f66619
feat: added npm2yarn package ( #1347 )
2022-04-18 15:17:27 +02:00
Zakaria El Asri
95ea8fa385
fix: query key ( #1350 )
2022-04-17 16:54:56 +02:00
Shahed Nasser
fcd2889fd7
added node version to necessary docs ( #1346 )
2022-04-15 11:01:05 +02:00
Shahed Nasser
1fe4249012
Added payment documentation ( #1340 )
2022-04-15 11:00:39 +02:00
Shahed Nasser
d0b70ca9fd
docs: How to add a Fulfillment Provider ( #1300 )
...
* added docs
* added link to the how-to in the overview
2022-04-15 10:59:13 +02:00
Shahed Nasser
1ebeb13441
Added routes parameter ( #1341 )
2022-04-15 10:57:58 +02:00
Adrien de Peretti
530bbd4cac
refactor: LineItemService migration to TS + refactoring + fix ( #1254 )
...
* refactor(medusa): LineItemService migration to TS + refactoring
* feat(medusa): Cleanup line-item service
* feat(medusa): Rebase develop
* test(medusa): Fix integration cart tests
* fix(medusa): Cart service updateUnitPrices
2022-04-14 20:53:35 +02:00
Adrien de Peretti
6830a12b46
feat(medusa): Improve exported medusa API ( #1335 )
...
* feat(medusa): Improve exported medusa API
Avoid to always have to import from @medusajs/medusa/dist/*
* feat(medusa): The Model loaders should ignore the index file
* fix(medusa): swap model typo
2022-04-14 16:01:10 +02:00
Shahed Nasser
47e0de1a76
fix shipping heading ( #1338 )
2022-04-14 12:03:29 +02:00
Scuro Guardiano
d3104bf6ac
Added compiling typescript files to develop command ( #1307 )
...
Issue1281
2022-04-14 10:09:40 +02:00
Adrien de Peretti
12c06b4c9d
refactor(medusa): Cleanup and fix CartService ( #1306 )
...
* refactor(medusa): Cleanup + fix
* styles(medusa): Lint
* refactor(medusa): Finalize cleanup
* feat(medusa): Prefer the usage of bulk operations instead of sequential/conccurent operations
* feat(medusa): Improve cart service
* refactor(medusa): Explicitly specifying protected methods when needed as well as enfore the usage of the local transactionManager_ in those methods
* tests(medusa): Fix tests according to the new changes
* feat(medusa): Cleanup after rebase
* test(medusa): Fix cart service tests
2022-04-13 18:35:13 +02:00
Adrien de Peretti
3f19a3c4d5
refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self ( #1314 )
...
* refactor(medusa-interfaces): Migrate baseService to TS + improve the service it self
* feat(medusa,medusa-interfaces): Cleanup and move base-service to medusa core
* medusa(medusa, medusa-interfaces): Improve typings
* medusa(medusa, medusa-interfaces): buildQuery make properties optionals
* feat(medusa-interfaces): Revert temporarly the medusa-interfaces while moving the base-service to the medusa core
* feat(medusa): Improve base-service typings
* feat(medusa): Remove template that is not necessary
2022-04-13 17:42:09 +02:00
Chandrika Deb
9277dab1e8
Fix typo ( #1318 )
2022-04-13 17:22:22 +02:00
Oliver Windall Juhl
edc6d9d29c
fix: Remove region_id from countries on region deletes ( #1330 )
...
* Remove region id from countries on delete
* Update snapshots
2022-04-13 10:52:25 +02:00
Kasper Fabricius Kristensen
2a1b34c20f
fixed typing of AdminPostPriceListsPriceListPriceListReq ( #1332 )
2022-04-13 10:50:05 +02:00
Kasper Fabricius Kristensen
8c420f4285
feat: Add BatchJob entity ( #1324 )
...
* added entity
* better typing
* make requested changes
* add migration
2022-04-13 08:16:38 +02:00
Shahed Nasser
a3f38c286d
Merge pull request #1285 from medusajs/docs/shipping-overview
...
docs: Added Shipping Architecture Overview
2022-04-12 23:05:26 +03:00
Shahed Nasser
e2568cb3c9
Merge branch 'master' of https://github.com/medusajs/medusa into docs/shipping-overview
2022-04-12 22:02:26 +03:00
Shahed Nasser
07ae02880b
Merge pull request #1309 from medusajs/docs/sendgrid
2022-04-12 17:52:12 +03:00
Oliver Windall Juhl
ecc5bdd362
Only use country if part of a region ( #1183 )
2022-04-12 16:42:53 +02:00
Shahed Nasser
7d45238395
added admin quickstart ( #1323 )
2022-04-12 16:39:04 +02:00
Shahed Nasser
d0a7347153
docs: Create a Subscriber Doc ( #1193 )
...
* docs: Create a Subscriber Doc
* Update docs/content/advanced/backend/subscribers/create-subscriber.md
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Update docs/content/advanced/backend/subscribers/create-subscriber.md
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* Updates based on feedback
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-04-12 16:34:38 +02:00
Zakaria El Asri
1cfeb5dbd8
feat: line item adjustments ( #1319 )
...
* add: crud services + model + totals
* fix: enforce unique constraint on line item adjustment model and update service (#1241 )
* add: unique constraint on model + fix service
* fix: unique constraint
* fix: add cascade on delete + fix discount relation
* fix: remove optional unique prop
* add: tests for ensuring line item adjustment db constraints (#1279 )
* add: tests for ensuring db constraints
* fix: use given when then
* feat: adjust cart to include line item adjustments (#1242 )
* fix: cart service + cart tests
* fix: remaining tests
* fix: swap tests
* fix: add relationship + fix oas
* refactor: applyDiscount
* fix: refactor applyDiscount and fix + add unit tests
* fix: plugins tests
* feat: line item adjustments draft orders (#1243 )
* fix: draft order tests
* fix: constraint
* fix: wrong variable name
* fix: unique constraint
* progress: add tests
* fix: add cascade on delete + fix discount relation
* fix: remove optional unique prop
* fix: cart removeLineItem + tests
* fix: cart unit tests
* fix: update snapshot
* remove: verbose option
* rename arg
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* add: create adjustments for swap additional_items
* add: create adjustments for return lines
* fix: unit test for creating adjustment for additional_items
* fix: create adjustments only for non return items + no deletion when item is a return item
* add: integration tests
* refactor: use refreshAdjustments method
* refactor test
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-04-12 15:49:31 +02:00
Shahed Nasser
79457b9b97
Merge pull request #1327 from medusajs/docs/fix-algolia-search
...
Fix: search not working in docs
2022-04-12 15:35:17 +03:00
Shahed Nasser
96c90dd33f
added option to remove facet filters
2022-04-12 15:01:39 +03:00
Shahed Nasser
bc5c4c8c63
Added sidebar link
2022-04-11 15:51:21 +03:00
Shahed Nasser
b1be071a4b
Merge branch 'master' of https://github.com/medusajs/medusa into docs/sendgrid
2022-04-11 15:49:12 +03:00
Shahed Nasser
6c95d30a6d
Merge pull request #1293 from medusajs/docs/stripe
...
Doc: Improved Stripe Documentation
2022-04-11 15:38:10 +03:00
Shahed Nasser
4321af8db6
docs: updated Docusaurus + fix recurring error ( #1244 )
2022-04-08 11:16:22 +02:00
Shahed Nasser
9907bb847f
Added SendGrid Documentation
2022-04-08 11:06:45 +03:00
Tomás Romero
6fbb18e3a7
fix(docs): Medusa URL for Gatsby deployment ( #1301 )
2022-04-07 09:25:39 +02:00
Sebastian Rindom
607a382b4e
fix: ensures no duplicate tax lines when completing cart ( #1262 )
...
* fix: ensures that no duplicate tax lines are created when completing cart
2022-04-05 21:25:48 +02:00
Shahed Nasser
8ceb895d9c
docs: improve performance of API reference ( #1247 )
2022-04-05 11:22:25 +02:00
Philip Korsholm
497e9b3f7d
add discount exports ( #1298 )
2022-04-05 09:25:24 +02:00
Adrien de Peretti
5f9197a656
refactor(medusa): Loaders to TS ( #1288 )
...
* refactor(medusa): Loaders
* refactor(medusa): Improve MedusaContainer typings
* refactor(medusa): Improve MedusaContainer typings
2022-04-03 21:16:17 +02:00
Adrien de Peretti
ab2d81f786
fix(medusa): Lint and missing transaction usage ( #1297 )
2022-04-03 21:01:43 +02:00
Philip Korsholm
b164977a19
Feat: Medusa react price list ( #1258 )
...
* export everything from price lists in core
* medusa-js price list
* feat: add product list for price lists
* feat: add product list for price lists
* add price list to admin module
* add price list hooks initial
* refactor: product list controller
* fix: add integration test for price list products
* update types
* add tests for price lists
* update medusa react tests
* update update request for price lists
* Apply suggestions from code review
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
* rename methods
* pr feedback
* list products from price list
* fix errors after merge
* update medusa react with medusa-js method name changes
* redo changes
* update hook names
* fix: routes in msw handler
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Zakaria El Asri <zakaria.elas@gmail.com >
2022-04-03 20:48:49 +02:00
Shahed Nasser
5e22bee70b
modified stripe doc
2022-04-01 15:58:58 +03:00