Shreedhar Hegde
1241fb7b2c
added docusaurus admonitions to docs
2022-04-28 08:28:21 +05:30
Greg Hannan
ab4a141f73
Replace cancelled typo with canceled in docs as implementing the docs was causing notifications to not send emails.
2022-04-27 13:41:16 +01:00
olivermrbl
d7971ba604
fix: merge conflicts with master
2022-04-27 14:21:03 +02:00
Shahed Nasser
d162cef4c8
Merge pull request #1422 from shreedharhegde99/docs/heading-level-for-constructor
...
Docs : Corrected heading level for constructor
2022-04-27 14:19:58 +03:00
Shahed Nasser
10b2115d9d
Merge pull request #1421 from shreedharhegde99/docs/link-to-shipping-architecture-overview
...
Docs : Added link to Shipping Architecture Overview
2022-04-27 14:17:24 +03:00
Philip Korsholm
00fd096d25
Feat: Discount migration ( #1214 )
...
* feat: Add DiscountCondition entity + Join table per relation (#1146 )
* feat: Convert DiscountService to TypeScript (#1149 )
* feat: Add DiscountRepository + bulk insert and remove (#1156 )
* feat: Add `conditions` to payload in `POST /discounts` and `POST /discounts/:id` (#1170 )
* feat: Add DiscountRuleCondition entity
* fix relation
* fix join key
* Add discount rule condition repo
* add join table per relation
* Convert DiscountService to TypeScript
* feat: Add DiscountConditionRepository
* Add migration + remove use of valid_for
* revert changes to files, not done yet
* init work on create discount endpoint
* Add conditions to create discount endpoint
* Add conditions to update discount endpoint
* Add unique constraint to discount condition
* integration tests passing
* fix imports of models
* fix tests (excluding totals calculations)
* Fix commented code
* add unique constraint on discount condition
* Add generic way of generating retrieve configs
* Requested changes + ExactlyOne validator
* Remove isLocal flag from error handler
* Use postgres error constant
* remove commented code
* initial
* add migration scripts
* make getMigrationsFolder generic
* add datamodel migration command
* add datamodel run to migraitons cli
* remove data migration code from migrations
* add inner join
* add migration script for discount migration
* redo all script changes after adding script file
* address pr feedback
* cherrypick files from develop
* remove unused import
* suggestions
* Update packages/medusa/src/scripts/discount-rule-migration.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* fix: revert rule id to dr_id
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2022-04-27 10:25:04 +02:00
Philip Korsholm
40b63d092a
fix: Invoke canCalculate with an entire shipping option ( #1397 )
2022-04-26 22:11:48 +02:00
Zakaria El Asri
b8f1ae9ff5
feat: line item adjustment migration script ( #1255 )
2022-04-26 16:05:33 +02:00
Philip Korsholm
f7386bf4b3
fix: Update is_giftcard type when filtering products ( #1427 )
...
* transform is_giftcard parameter and default to false
* add test for non gift_cards
* make default optional
2022-04-25 14:55:33 +02:00
Shreedhar Hegde
1d138709e2
modified docusaurus admonitions to docs
2022-04-25 16:25:10 +05:30
Shreedhar Hegde
01114b42a4
added docusaurus admonitions to docs
2022-04-24 17:39:37 +05:30
Shahed Nasser
eee780f110
docs: Add Twilio SMS plugin documentation ( #1405 )
2022-04-24 12:11:53 +02:00
Shahed Nasser
5f216a977f
docs: added documentation for payment provider implementation ( #1390 )
2022-04-23 16:51:58 +02:00
Shreedhar Hegde
c35f01c61f
corrected heading level for constructor in How to Add a Fulfillment Provider
2022-04-22 20:39:26 +05:30
Shreedhar Hegde
5ef50f2714
added link to Shipping Architecture Overview
2022-04-22 20:21:00 +05:30
Shahed Nasser
f806f06b51
Merge pull request #1419 from medusajs/docs/fix-navbar-algolia
...
Docs: Fix Algolia's search modal on small devices
2022-04-22 17:17:16 +03:00
Shahed Nasser
f4bc6b8485
override the default z-index
2022-04-22 15:54:19 +03:00
Shahed Nasser
97fb5ed171
added styling for mobile elements
2022-04-22 15:44:54 +03:00
Shahed Nasser
c1afef4641
added dark mode for reference
2022-04-22 15:33:49 +03:00
Shahed Nasser
5fbfa2a438
docusaurus dark mode
2022-04-22 13:06:15 +03:00
Shahed Nasser
81fe558c50
feat: make yarn the default tab in docs ( #1406 )
2022-04-21 17:01:45 +02:00
Kasper Fabricius Kristensen
7a1e394b9d
Feat/expand on list discounts ( #1304 )
2022-04-21 15:22:07 +02:00
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