59 KiB
@medusajs/utils
2.2.0
Patch Changes
-
#10791
ecc09fd77db01fcb7e8eb8e60cd19e16e2b5ea81Thanks @thetutlage! - feat: generate modules mappings at runtime -
#10768
bbf790ea44d0ce0a128a07e66224735f5a2dccf0Thanks @thetutlage! - Refactor/deprecate remote link -
#10667
47594192b79fbc798cfaf21821b60673745d1374Thanks @riqwan! - feat(dashboard,core-flows,types,utils,medusa,order): Order cancelations will refund payments -
Updated dependencies [
ecc09fd77db01fcb7e8eb8e60cd19e16e2b5ea81,13ddf27c68fc2831b3661940bc5f27bab23ce8c0,99a06102a246c119f69d1873f3cdeee9ff1241a0,4f897661eb7a855a881d460c565c2da6459367eb,5e9d86d75d1f2745c24a4bcd4a5c0df066578ef5,47594192b79fbc798cfaf21821b60673745d1374,0559d54c18d2e79c78c2b9a348b9873d1a786dea]:- @medusajs/types@2.2.0
2.1.3
Patch Changes
-
#10617
100da64242838739816351ed259461f2d7c258e3Thanks @adrien2p! - chore: fulfillment module DML -
#10408
c9b8db04c1b35f1cf129bb9ad74789fbc2881815Thanks @olivermrbl! - chore: Support custom line items -
Updated dependencies [
100da64242838739816351ed259461f2d7c258e3,c9b8db04c1b35f1cf129bb9ad74789fbc2881815,2ad08c4c440706dd2ffe2215807b89ee4a7f325b,048620884b5d458b109ac496e7a2056c202bd459]:- @medusajs/types@2.1.3
2.1.2
Patch Changes
-
#10569
729eb5da7b6daf9781b8bdcbc2fab344e942d444Thanks @carlos-r-l-rodrigues! - chore: Inventory DML -
#10499
16d27ea6e4c2e4290820fe2328f08557534fcb8fThanks @thetutlage! - Feat/customer dml -
#10410
fad85a9d293acee1dae784afa223a080b9b8b85bThanks @thetutlage! - refactor: migrate promotion module -
#10551
885c82ded63e504739bf39a113f820c87c9e2d52Thanks @thetutlage! - feat: add support for float properties -
#10579
6367bccde88158d524dfa01e5a8123ffa3461c10Thanks @riqwan! - feat(medusa, pricing): Cart workflows handle pricing context accurately -
Updated dependencies [
729eb5da7b6daf9781b8bdcbc2fab344e942d444,16d27ea6e4c2e4290820fe2328f08557534fcb8f,885c82ded63e504739bf39a113f820c87c9e2d52,90ad2566fdde2215447100d10c3fe9b17ce826b5,6367bccde88158d524dfa01e5a8123ffa3461c10]:- @medusajs/types@2.1.2
2.1.1
Patch Changes
-
#10459
90ae187e097c42a224c701f31cbc2924ea6ee86bThanks @carlos-r-l-rodrigues! - fix: when/then step name -
#10477
0a077d48e14976bafcf19705fc48e66756362fd6Thanks @adrien2p! - chore(workflow-engine): Migrate to DML -
#10442
90d7f4ff3949ade9f6a7335c9611aae6633be908Thanks @adrien2p! - chore(utils): DML#hasOne allow mappedBy to not be defined -
#10476
f65a3cc06df9faca3615f30eb4d3bf889efa5765Thanks @carlos-r-l-rodrigues! - fix: avoid optional fields on graphql generated types -
#10415
b160fd3cbf6edf06702fa15b694709375557d188Thanks @adrien2p! - fix(utils): DML one to one definition -
#10385
0a16efa4266f93302b31589349e777bc8d24dc07Thanks @thetutlage! - refactor: migrate cart module to DML -
#10482
69f4c4f4e06022990fcd9c66d8f1a68ff0ff97b1Thanks @carlos-r-l-rodrigues! - chore: index module to DML -
Updated dependencies [
a1a1e0e789424546443ce195b95f652d081d7b3b,16663ec8132e99bac7fbfe2adda542a5294d2384,559fc6587aa02cd4f8fbc9e97ff1f1ba094a4b1a,864f53011b892e1ed0abee2e241b662eccef7e6d,69f4c4f4e06022990fcd9c66d8f1a68ff0ff97b1]:- @medusajs/types@2.1.1
2.1.0
Patch Changes
-
#10360
194361b95a0ed2c182e0a3c107fde9b4b6a7bcf7Thanks @thetutlage! - fix: do not rely on model loading order to find an implicit owner -
#10391
3e98364bd1631f96846cd3199bf7497702cf5923Thanks @thetutlage! - feature: add support for check constraints in DML -
Updated dependencies [
3e98364bd1631f96846cd3199bf7497702cf5923,324b4ab438662f44de495ffe4d9137677a032a00]:- @medusajs/types@2.1.0
2.0.7
Patch Changes
-
#10318
e9003c3124f284eae7e1457101bf10c1beccbac1Thanks @carlos-r-l-rodrigues! - fix(utils): set readonly property on recursive dir read -
Updated dependencies []:
- @medusajs/types@2.0.7
2.0.6
Patch Changes
- Updated dependencies []:
- @medusajs/types@2.0.6
2.0.5
Patch Changes
-
#10159
9dff05cddeeca40fab47760fa15e07ca087664edThanks @thetutlage! - Revert "feat: add optional fields" -
#10179
42c08fa8e00d33e93e152b3058d2f73476b9a0c3Thanks @carlos-r-l-rodrigues! - Fix loaders path -
#10085
3e265229f2ae5c3d55f64a445574c13c40b52c14Thanks @carlos-r-l-rodrigues! - Improve event bus error handling -
#10172
7390c14c20f7b5053458de1b1a58870dc8e441ccThanks @thetutlage! - feat(utils): add support for making relationships searchable -
Updated dependencies [
9dff05cddeeca40fab47760fa15e07ca087664ed,1659c9be5d3ace1bed9f3a6e7206fe54e60645c0,3fee17747f059a331e9fbe40622205b968404faf]:- @medusajs/types@2.0.5
2.0.4
Patch Changes
- Updated dependencies [
34f4f695c0b8359a6e9efd45fd081ea743a1c439,bc2d556c2c57adab637308fb65247b17b8cd2ed5]:- @medusajs/types@2.0.4
2.0.3
Patch Changes
-
#9955
03f4b66b90625634f13409be35cd57081f0eb7d5Thanks @carlos-r-l-rodrigues! - Generate graph schema with readonly links -
Updated dependencies [
03f4b66b90625634f13409be35cd57081f0eb7d5]:- @medusajs/types@2.0.3
2.0.2
Patch Changes
-
#9917
16b4cc433e996d1a54e4ff043daaa148981ba63dThanks @adrien2p! - fix(utils): Mikro orm repository update many to many should detach all items by default -
#9932
879ce33090c7e99ae8b466c31c5dc0c67cdbc08fThanks @adrien2p! - fix(utils/dml): set-relationship graphql generator from DML wrong managed belongsTo -
#9947
b3cbc160eb94025402b5a0ef21653c207bbe8ccdThanks @sradevski! - fix: Default to a relative path for backend URL in admin -
Updated dependencies [
bbf4af17258ea34adeeb8ff3a6cd213a12d67c76,c1c85ef952441eacfe8b6c2ffa9304ac4433053f,b3cbc160eb94025402b5a0ef21653c207bbe8ccd]:- @medusajs/types@2.0.2
2.0.1
Patch Changes
- Updated dependencies []:
- @medusajs/types@2.0.1
2.0.0
Major Changes
- #7341
2e42e053d4c9d5445d227bdc268c66713aad8e2eThanks @olivermrbl! - chore: Medusa 2.0
Patch Changes
- Updated dependencies [
2e42e053d4c9d5445d227bdc268c66713aad8e2e]:- @medusajs/types@2.0.0
1.11.9
Patch Changes
-
#6922
20e8df914eThanks @sradevski! - Return normalized DB errors from the mikro ORM repository -
#6836
e0b02a1012Thanks @adrien2p! - feat(utils): custom serialization that allows for non self ref -
#6864
e944a627f0Thanks @adrien2p! - feat: region payment providers management workflows/api -
cc557c8752Thanks @carlos-r-l-rodrigues! - Order endpoints and Cart totals -
#6842
5d9aea053cThanks @adrien2p! - fix(utils): Mikro orm prop filtering should check existence -
#6973
232322d035Thanks @adrien2p! - Chores: Do not disable foreign keys by default -
#7153
4b57c5d286Thanks @carlos-r-l-rodrigues! - Remote query supporting context -
#6813
a6562d2a41Thanks @sradevski! - Added an upsertWithReplace method to the mikro orm repository -
Updated dependencies [
0c0b425de7,8d356217bd,27f4f0d724,e944a627f0,1a48fe0282,86f499de2f,09a2220569,78f603e4f1,cc557c8752,58c68f6715,82a176e30e,11517f0faf,62b9dcc6c1,e26cda4b6a,bc06ad2db4,18f3aacee6,38c971f111,45c49e89f2,528ef4ca90,65794f4bb5,93ef94cad3,4cf71af07d,4b57c5d286,c78915c7c5,18f3aacee6,f175cac4af,0a9b9b073d,a6562d2a41,00e6b21bb5,8fd1488938,1c6ba4468e]:
1.11.8
Patch Changes
-
#6796
9073d7aba3Thanks @riqwan! - feat(core-flows,medusa,types,utils): rename psma to prices -
#6751
4974f5e455Thanks @riqwan! - feat(utils): autogenerates create and update methods when dto is provided -
#6772
1ef9c78ceaThanks @adrien2p! - chore: v2 - deprecate extra in favor of driver options -
Updated dependencies [
deab12e27e,56481e683d,9073d7aba3,05e857d256,1ef9c78cea]:
1.11.7
Patch Changes
-
#6648
9288f53327Thanks @riqwan! - feat(core-flows,medusa,utils): added price list prices upsert and delete workflows + endpoints -
#6504
56cbf88115Thanks @adrien2p! - chore(utils): Soft delete should allow self referencing circular deps -
#6473
36a61658f9Thanks @adrien2p! - feat(utils): Fix big number decorator and cleanup -
#6436
c319edb8e0Thanks @adrien2p! - chore(utils): Add default ordering to the internal service factory list/listAndCount -
#6531
0b9fcb6324Thanks @riqwan! - feat(utils): consolidate promotion utils + refactor -
#6525
b3d826497bThanks @adrien2p! - chore(utils): Improve big number decorator -
#6386
a86c87fe14Thanks @pKorsholm! - feat(utils): make psql index util return index instead of constraint for unique indicies becuase partial constraints don't exist :'( -
#6692
640eccd5ddThanks @riqwan! - feat(core-flows,medusa,types,utils): add rules to promotion endpoints + workflow -
#6499
8ea37d03c9Thanks @riqwan! - fix(utils): bignumber util considers nullable options when setting value -
#6399
339a946f38Thanks @carlos-r-l-rodrigues! - Initial Order module implementation -
#6648
9288f53327Thanks @riqwan! - feat(core-flows,medusa,pricing,types,utils): added price list workflows + endpoints -
#6441
8dad2b51a2Thanks @riqwan! - feat(medusa-react,medusa,utils): fix login for medusa v2 admin next dashboard -
#6289
a6d7070dd6Thanks @riqwan! - feat(types): add util to transform get response to an update request -
#6489
168f02f138Thanks @adrien2p! - chore(util): Detect circular dependencies on soft delete -
#6514
f5c2256286Thanks @riqwan! - feat(core-flows,medusa,types,utils): adds update cart API with promotions -
#6592
000eb61e33Thanks @riqwan! - feat(pricing,medusa,utils): added list + get endpoints for price lists -
#6524
62a7bcc30cThanks @adrien2p! - Feat(fulfillment): service provider registration + fulfillment management -
#6700
8f8a4f9b13Thanks @olivermrbl! - chore: Version all modules to allow for initial testing -
#6396
6500f18b9bThanks @adrien2p! - chore(): Prevent from soft deleting all entities -
#6311
ce39b9b66eThanks @olivermrbl! - feat(payment-stripe): new Stripe payment provider -
#6308
a6a4b3f01aThanks @fPolic! - feat(types, utils): payment module - provider service -
#6435
56b0b45304Thanks @carlos-r-l-rodrigues! - BigNumberField decorator -
#6698
cc1b66842cThanks @riqwan! - feat(core-flows,medusa,types,utils): add/remove fulfillment shipping option rules -
#6383
e85463b2a7Thanks @adrien2p! - chore(): Fix database test utils and utils -
Updated dependencies [
1fd0457c15,d4b921f3db,ac86362e81,e4acde1aa2,1a661adf3e,04a532e5ef,640eccd5dd,339a946f38,ac829fc67f,d9d5afc3cf,c3c4f49fc2,9288f53327,0d46abf0ff,fafde4f54d,0c705d7bd4,1d91b7429b,1ed5f918c3,c20eb15cd9,e5945479e0,f5c2256286,62a7bcc30c,8f8a4f9b13,ce39b9b66e,a6a4b3f01a,4d51f095b3,56b0b45304,cc1b66842c,24fb102a56]:
1.11.6
Patch Changes
-
#6328
3fd68d197Thanks @adrien2p! - feat(fulfillment): Initialize models work -
Updated dependencies [
3fd68d197]:
1.11.5
Patch Changes
-
#6319
12054f5c0Thanks @adrien2p! - Feat/shipping method init -
#6263
45134e4d1Thanks @carlos-r-l-rodrigues! - Workflows passing MedusaContext as argument -
#6218
884428a1bThanks @carlos-r-l-rodrigues! - Feat: Event Aggregator -
#6314
882aa549bThanks @pKorsholm! - feat(utils): return array or single entity based on input for modules created by internal module service factory -
Updated dependencies [
12054f5c0,3db2f95e65,96ba49329,45134e4d1,82c728bec,e749dd653,884428a1b,d1c18a309]:
1.11.4
Patch Changes
-
#6094
68ddd866a5Thanks @riqwan! - feat(utils,types): add registerUsages for promotion's computed actions -
#6062
72bc52231cThanks @adrien2p! - chore(utils): Update base repository to infer primary keys and support composite -
#6152
99045848fThanks @riqwan! - feat(medusa,types,core-flows,utils): added delete endpoints for campaigns and promotions -
#6021
a9b4214503Thanks @adrien2p! - chore(utils, product): Attempt to simplify module scripts export -
#6127
5e655dd59Thanks @adrien2p! - chore: Hide repository creation if they are not custom + add upsert support by default -
#6050
b782d3bcb7Thanks @riqwan! - feat(utils,types): added item/shipping adjustments for order/items/shipping_methods -
#6128
302323916Thanks @carlos-r-l-rodrigues! - Modules: Workflows Engine in-memory and Redis -
#6130
da5cc4cf7Thanks @riqwan! - feat(core-flows,medusa,utils): promotion and campaign create/update endpoint -
#6161
daecd82a7Thanks @riqwan! - feat(utils): update joiner config for campaigns -
#6112
06b33a9b4Thanks @olivermrbl! - feat(cart): Line item adjustments -
#6035
b6ac768698Thanks @adrien2p! - chore: Attempt to abstract the modules repository -
#6087
130c641e5cThanks @adrien2p! - chore: Abstract module services -
#6063
fade8ea7bfThanks @riqwan! - feat(utils,types): campaigns and campaign budgets + services CRUD -
Updated dependencies [
68ddd866a5,99045848f,af7af7374,fc6b1772a7,d85fee42e,5e655dd59,b132ff7669,e28fa7fbdf,a12c28b7d5,b782d3bcb7,7f7cb2a263,302323916,ce81cade88,fd78f5e24,192bc336cc,06b33a9b4,130c641e5c,fade8ea7bf,8472460f53,68d8daccd]:
1.11.3
Patch Changes
-
#5957
42cc8ae3fThanks @riqwan! - feat(types,utils): added promotion create with rules -
#5869
45996d58a2Thanks @adrien2p! - chore(medusa, interfaces, utils, webshiper): Uniformise class checks -
#5728
9cc787cac4Thanks @adrien2p! - feat(workflows-sdk): Configurable retries upon step creation -
#5858
355075097Thanks @pKorsholm! - feat(pricing, types): add soft deletion for money-amounts feat(utils): cascade soft delete across 1:1 relationships -
#6020
fbee006e5Thanks @adrien2p! - chore(medusa, orchestration, utils, workflows-sdk): add transaction options support and cleanup -
#5929
c41f3002fThanks @adrien2p! - Fix/utils object from string path -
#5985
d16d10619Thanks @pKorsholm! - fix(medusa-test-utils, utils, link-modules, pricing, product): upgrade mikro-orm version -
#5945
890e76a5cThanks @riqwan! - feat(types,utils): add promotions create with application method -
#5810
fe007d01bThanks @fPolic! - feat: sales channel <> order link -
#5459
76332ca6cThanks @fPolic! - feat: SalesChannel <> Cart joiner config -
Updated dependencies [
6d1e3cc02,42cc8ae3f,355075097,dc46ee118,925feea04,3f6d79961,c1c470e6b,890e76a5c]:
1.11.2
Patch Changes
-
#5752
079f0da83Thanks @riqwan! - feat(core-flows,pricing,medusa,pricing,types,utils): Price List Prices can have their own rules -
#5755
8f25ed8a1Thanks @adrien2p! - feat(link-modules, pricing, product, utils): Should be able to set some custom database config even in shared mode -
Updated dependencies [
079f0da83]:
1.11.1
Patch Changes
-
#5713
18afe0b9aThanks @pKorsholm! - fix(stock-location, inventory, medusa, types, utils): allow buildQuery to take null as an argument in order to prevent default pagination -
#5732
de8f74867Thanks @pKorsholm! - fix(link-modules, utils): remove limtis if primary key exists in filter for buildquery and no limit is present -
#5536
dc5750dd6Thanks @pKorsholm! - feat(medusa,types,workflows,utils,product,pricing): PricingModule Integration of PriceLists into Core -
Updated dependencies [
a39ce125c,18afe0b9a,6025c702f,fc1ef29ed,0df1c7d42,dc5750dd6]:
1.11.0
Minor Changes
Patch Changes
1.10.5
Patch Changes
-
c39bf69a5Thanks @olivermrbl! - chore: Add missing version bumps -
#5496
154c9b43bThanks @adrien2p! - feat(medusa, modules-sdk, types, utils): Re work modules loading and remove legacy functions
1.10.4
Patch Changes
-
#5294
378ca1b36Thanks @riqwan! - feat(pricing,types,utils): Move calculate pricing query to a repository + rule type validation -
#5337
e47461d95Thanks @adrien2p! - chore(orchestration): prevent throwing on already defined workflow -
#5301
66413d094Thanks @srindom! - fix: move create inventory workflow to @medusajs/workflows -
Updated dependencies [
378ca1b36,69cf7215f,453297f52,66413d094]:
1.10.3
Patch Changes
-
#5216
eeceec791Thanks @adrien2p! - feat(utils): Convert remote query object to string array of fields and relations from GQL schema -
#5242
130cbc1f4Thanks @carlos-r-l-rodrigues! - Modules exporting schema with entities and fields -
#5213
cb569c2dfThanks @adrien2p! - feat(utils): Utils to create an object select, relation from a string[]
1.10.2
Patch Changes
-
#5161
cc4169a94Thanks @adrien2p! - feat(utils): Provide an utils that allows to convert an array of fields to a complete remote query object -
#5214
1e7db5a5cThanks @riqwan! - feat(types,pricing,utils): Exact match based on context + fallback on rule priority if not -
Updated dependencies [
1e7db5a5c]:
1.10.1
Patch Changes
-
#4961
6273b4b16Thanks @adrien2p! - feat(utils, module-sdk, medusa, types): Extract pg connection utils to utils package -
Updated dependencies [
4fa675ec2,6273b4b16,30863fee5,3d68be2b6,a87d07655,edf90eecb,107aaa371,834da5c41]:
1.10.0
Minor Changes
-
#4695
4d16acf5fThanks @carlos-r-l-rodrigues! - Medusa App Loader -
#4695
4d16acf5fThanks @carlos-r-l-rodrigues! - introduce @medusajs/link-modules
Patch Changes
-
#4860
460161a69Thanks @riqwan! - feat(pricing, types, utils, medusa-sdk): Pricing Module Setup + Currency service -
#4909
fcb6b4f51Thanks @riqwan! - feat(pricing, utils, types): adds money amount to pricing module -
#4915
87bade096Thanks @riqwan! - fix(utils, product, pricing, link-modules): add missing dependencies for utils + fix migration path issue -
Updated dependencies [
460161a69,fcb6b4f51,66bd9a835,4d16acf5f,4d16acf5f,4d16acf5f]:
1.9.7
Patch Changes
- #4825
c53fa6cd3Thanks @carlos-r-l-rodrigues! - Fix mikro-orm connection loader
1.9.6
Patch Changes
-
#4626
3f3a84262Thanks @adrien2p! - [WIP] feat(types, product, utils, medusa): Include shared connection for modules -
#4733
30ce35b16Thanks @shahednasser! - feat(create-medusa-app, utils, medusa-cli): add database options + remove util from@medusajs/utils
1.9.5
Patch Changes
-
#4701
5c60aad17Thanks @olivermrbl! - feat(medusa, utils): Allow object feature flags -
#4631
4073b7313Thanks @adrien2p! - feat(product): Move mikro orm utils to the utils package
1.9.4
Patch Changes
- #4623
107ae23a3Thanks @riqwan! - fix(utils, types, medusa-plugin-meilisearch, medusa-plugin-algolia): move SoftDeletableFilterKey, variantKeys, indexTypes from types to utils
1.9.3
Patch Changes
- #4535
131477fafThanks @riqwan! - feat(product,types,utils): Add tags, types, categories, collection and options CRUD to product module services
1.9.2
Patch Changes
-
#4098
499c3478cThanks @carlos-r-l-rodrigues! - feat: Remote Joiner -
#4389
9dcdc0041Thanks @adrien2p! - fix(medusa, utils): fix the way selects are consumed alongside the relations -
#4398
9760d4a96Thanks @riqwan! - feat(medusa, utils): improve devx for core entity customizations
1.9.1
Patch Changes
-
#4273
f98ba5bdeThanks @shahednasser! - feat(create-medusa-app,medusa-cli): Allow clearing project -
#4161
14c0f62f8Thanks @adrien2p! - feat(product): Experimental product module
1.9.0
Minor Changes
- #4146
db4199530Thanks @fPolic! - chore(medusa, utils, inventory, stock-location): clear deps in the utils package
Patch Changes
-
#4026
a91987fabThanks @olivermrbl! - feat(medusa): Remove sqlite support -
#4148
c0e527d6eThanks @adrien2p! - chore(medusa): Align build query utils
1.8.5
Patch Changes
-
#4046
cdbac2c84Thanks @adrien2p! - feat(medusa, medusa-utils): Add support for multiple where condition on the same column -
#4072
6511959e2Thanks @olivermrbl! - chore: Revert to official Typeorm package
1.8.4
Patch Changes
1.8.3
Patch Changes
-
#4002
0e488e71bThanks @adrien2p! - fix(medusa, event-bus-redis, event-bus-local): Revert retrieveSubscribers as the wildcard prevent us from filtering -
#3981
d539c6feeThanks @olivermrbl! - chore: Bump Typeorm to Medusa fork
1.8.2
Patch Changes
-
#3835
af710f1b4Thanks @adrien2p! - fix(medusa): Bulk create variant and pass transaction to the inventory service context methods -
#3905
491566df6Thanks @olivermrbl! - fix(medusa,utils): Searching indexing product subscriber
1.8.1
Patch Changes
-
#3778
654a54622Thanks @olivermrbl! - chore: Bump Typeorm -
#3738
abdb74d99Thanks @riqwan! - chore(medusa, utils): rename buildLegacyFieldsListFrom to objectToStringPath
1.8.0
Patch Changes
-
#3685
8ddb3952cThanks @olivermrbl! - chore: Fix RC package versions -
#3688
a0c919a8dThanks @olivermrbl! - chore(medusa-cli): Add missing utils dep -
#3510
74bc4b16aThanks @olivermrbl! - feat(medusa-plugin-algolia): Revamp Algolia search plugin -
#3531
4e9d257d3Thanks @carlos-r-l-rodrigues! - Remove dependency on @medusajs/medusa from Inventory and Stock-Location Modules
0.0.2-rc.2
Patch Changes
- #3688
a0c919a8dThanks @olivermrbl! - chore(medusa-cli): Add missing utils dep
0.0.2-rc.1
Patch Changes
- chore: Fix RC package versions
0.0.2-rc.0
Patch Changes
-
#3510
74bc4b16aThanks @olivermrbl! - feat(medusa-plugin-algolia): Revamp Algolia search plugin -
#3531
4e9d257d3Thanks @carlos-r-l-rodrigues! - Remove dependency on @medusajs/medusa from Inventory and Stock-Location Modules