erickirt
512c6fc8ab
Fixed misleading LinkDefinition import from the wrong package ( #9139 )
...
It appears that `LinkDefinition` was imported from the incorrect package. From my understanding, `remote-link.d.ts` imports it from the correct location, but the tutorial does not.
```typescript
import { ILinkModule, LinkDefinition, LoadedModule, ModuleJoinerRelationship } from "@medusajs/types";
```
Additionally, I am seeking expert assistance with Medusa's architecture. If someone could reach out to me, I would greatly appreciate any guidance or direction on developing specific components for a complex multi-vendor shipping and shopping platform. My goal is to effectively utilize the Medusa architecture and contribute back to the community as much as possible.
Thank you to the entire Medusa team. I hope my contributions have been helpful to new developers enhancing their experience with Medusa.
email: erickirt582@gmail.com
2024-09-16 07:22:47 +00:00
Adrien de Peretti
03d6b64a20
fix(): Query Missing bindings ( #9131 )
2024-09-13 18:22:38 +02:00
Harminder Virk
c97ea9546d
feature: add tracing to remote query ( #9128 )
2024-09-13 14:09:59 +05:30
Shahed Nasser
2c8ae6073e
oas: [6/n] improve oas schemas ( #9122 )
...
Improve oas schemas [6/n]
2024-09-13 07:23:09 +00:00
Shahed Nasser
a7684b45f6
docs: add new events to reference ( #9121 )
2024-09-13 09:22:09 +02:00
Shahed Nasser
1eccf394df
docs: added docs for deleting user of actor type ( #9104 )
...
- Added to general guide on creating actor type how to delete its user later.
- Added to restaurant delivery recipe how to delete a restaurant admin
2024-09-13 07:17:36 +00:00
Adrien de Peretti
f0c470cb08
chore(workflows-sdk): Update hook functions type ( #9117 )
...
RESOLVES FRMW-2703
**What**
Update types to reflect both invoke and compensate function for hooks
2024-09-13 07:11:45 +00:00
Harminder Virk
9cf0df53b5
feature: add telemetry to the HTTP layer ( #9116 )
...
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2024-09-13 12:36:54 +05:30
Shahed Nasser
8c2a5fbcf2
fix(types, medusa): fix http type of exchanges and claims ( #9123 )
2024-09-12 20:33:40 +03:00
Riqwan Thamir
64d5b74c12
feat(api-key,js-sdk,dashboard): allow deleting api keys only once its revoked ( #9118 )
...
what:
- module only deletes api keys once its revoked
- disables ui elements
https://github.com/user-attachments/assets/437821ae-497e-4b59-b02c-4a6ff36e6a30
RESOLVES CC-106
RESOLVES CC-105
RESOLVES CC-104
2024-09-12 10:16:15 +00:00
Stevche Radevski
c94f89610f
fix: Remove test listeners after the event has happened ( #9115 )
2024-09-12 10:45:58 +02:00
420coupe
4471b25ea7
add first class discount_subtotal var ( #9112 )
2024-09-12 09:39:01 +02:00
Harminder Virk
2b8e15d2ec
feat: introduce a thin wrapper on top of OpenTelemetry ( #9109 )
2024-09-12 12:59:49 +05:30
Adrien de Peretti
a9b559ab2e
fix(dml): Throw when many to many are not configured properly ( #9085 )
...
**What**
When both sides of a many to many relationship do not define the mapped by option, it leads to misconfigured relations and a malformed SQL query. (ref. https://github.com/medusajs/medusa/issues/9075 )
- When both mapped by are not defined, infer look up to try to identify the missing configuration if any
- Disallow defining many to many only on one side
2024-09-12 07:08:24 +00:00
Shahed Nasser
41fb2aacb0
docs: fixes to long-running workflows + relationship docs ( #9101 )
2024-09-12 09:51:00 +03:00
Frane Polić
42cedd073b
fix(dashboard): product create - ignored variants in datagrid ( #9087 )
...
* wip: fix mismatch in indexes
* fix: refactor
2024-09-12 08:47:04 +02:00
Riqwan Thamir
24704f420a
feat(core-flows,dashboard,types,medusa): delete shipping methods when all inbound/outbound items are deleted ( #9106 )
...
* feat(core-flows,dashboard,types,medusa): delete shipping methods when all inbound/outbound items are deleted
* chore: fix specs
2024-09-11 21:24:01 +02:00
Carlos R. L. Rodrigues
e9280fb254
fix: product options event names ( #9108 )
2024-09-11 15:50:59 +00:00
Carlos R. L. Rodrigues
9a7daca21e
feat(core-flows): product type, option and tag events ( #9105 )
2024-09-11 12:32:01 -03:00
McTom234
5651e890dc
fix: instanceof MedusaError does not work ( #9094 )
...
* fix(error): add custom name
* revert: remove changeset
as requested https://github.com/medusajs/medusa/pull/9094#discussion_r1753971768
* refactor(error): use object identifier to check error type
2024-09-11 17:21:44 +02:00
Adrien de Peretti
a01e7e4ffe
chore: Register Query in container ( #9103 )
...
* chore(framework): Register the query
* chore(framework): Register the query
2024-09-11 15:08:46 +02:00
Riqwan Thamir
a729fb3fbb
feat(utils,types,framework,medusa): store endpoints should require publishable key ( #9068 )
...
* feat(utils,types,framework,medusa): store endpoints should require publishable key
* chore: fix specs
* chore: fix more specs
* chore: update js-sdk
* chore: fix specs wrt to default SC
* chore: revert custom headers + change error message
* chore: fix specs
* chore: fix new store specs
2024-09-11 15:08:37 +02:00
Carlos R. L. Rodrigues
fdd0543011
chore: joiner config entity property ( #9084 )
2024-09-11 06:25:25 -03:00
Frane Polić
28dc8d4d17
feat(dashboard) modal search autofocus ( #9038 )
...
**What**
- autofocus search input on route modal that have tables
---
CLOSES CC-132
2024-09-11 08:12:34 +00:00
Riqwan Thamir
d398009d3f
feat(payment): Payment providers are upserted upon loading ( #9090 )
2024-09-11 09:01:24 +02:00
Shahed Nasser
1466ca73e0
docs: added a services constraint document ( #8999 )
...
- Added a services constraint document mentioning that a service's methods must be async.
- Modify the code in the services intro document to use `async` method.
2024-09-10 18:00:23 +00:00
Riqwan Thamir
c097931469
feat(core-flows,types,medusa): validate deleting location level when quantities exist ( #9086 )
...
what:
- adds validation in workflow to prevent deleting a location level when reserved or stocked quantity exists
- disabled delete button when quantities exist
- consolidate delete workflows
<img width="1079" alt="Screenshot 2024-09-10 at 16 39 02" src="https://github.com/user-attachments/assets/cf1f4b2e-75ea-4f7c-9b97-24622396c632 ">
RESOLVES CC-120
2024-09-10 17:59:03 +00:00
Oli Juhl
4bf42f7889
fix: Update auth app_metadata when deleting users + customers ( #9041 )
...
* wip
* more work
* working on stuff
* more
* fix test
* remove incorrect test
* fix test
* fix: Only allow deletion of yourself
* remove redundant tests
2024-09-10 19:58:16 +02:00
Riqwan Thamir
e9e0267aa8
fix: broken order page due to missing inventory ( #9083 )
2024-09-10 13:24:13 +00:00
Frane Polić
3e7d4ddcd5
fix(dashboard): campaign fixes ( #9082 )
...
**What**
- fix campaign dropdown placeholder
- fix create campaign broken modal
---

---
FIXES CC-112
2024-09-10 13:21:06 +00:00
Riqwan Thamir
3593bdfebe
fix(promotion): handle promotion buy X get X scenario ( #9002 )
...
* fix(promotion): handle promotion buy X get X scenario
* chore: fix qualifiication rules
2024-09-10 15:12:56 +02:00
Shahed Nasser
e9b5f76f9a
docs: add Query documentation ( #9079 )
...
- Replace remote query documentation with new Query documentation
- Add redirect from old remote query to new query documentation
- Update remote query usages across docs to use new query usage.
2024-09-10 12:31:47 +00:00
Shahed Nasser
1d8dd54014
fix(core-flows): fix emitted event for deleting sales channel ( #9081 )
...
Fix the usage of the user event instead of sales channel event
2024-09-10 12:24:19 +00:00
Adrien de Peretti
e56607c97c
fix(medusa-test-utils): Run with modules without models ( #9062 )
...
* fix(medusa-test-utils): Run with modules without models
* cleanup
* rm dummy model
* rm dummy model
* improve models loading
* find models
* find models
* find models
* finalize
* cleanup
* fix deps
* fix deps
* fix deps
* fix deps
* fix deps
2024-09-10 14:22:21 +02:00
Frane Polić
36f30b4833
fix(dashboard): refresh order list when fulfilment status changes ( #9076 )
...
**What**
- update order list when fulfillment/shipment status changes
---
RESOLVES TRI-224
CLOSES [9052](https://github.com/medusajs/medusa/issues/9052 )
2024-09-10 12:21:04 +00:00
Shahed Nasser
4b663a4559
docs: document events reference ( #9080 )
...
- Remove old hidden reference files that document modules' events
- Add new events reference for workflow events
- Reference events reference in the main docs
2024-09-10 12:20:09 +00:00
Shahed Nasser
3fb2f10ccb
docs: fix links to inventory model references ( #9073 )
...
Closes #9070
2024-09-10 12:18:10 +00:00
Shahed Nasser
464a3e692f
docs-util: fix after updating node version ( #9072 )
...
Small fix in imports after updating node version
2024-09-10 12:05:19 +00:00
Shahed Nasser
5eafa5a184
oas: [5/n] improve oas schemas ( #9066 )
...
Improve oas schemas [5/n]
2024-09-10 12:03:18 +00:00
Harminder Virk
a944226025
fix: JSON stringify DML json property default value ( #9074 )
2024-09-10 15:58:42 +05:30
Riqwan Thamir
afd0921326
fix(utils,medusa,order,cart): fix totals when promotions are included ( #9014 )
...
* fix(utils): fix totals when promotions are included
* chore: update totals calc
* chore: ignore taxes when taxable amount is 0
* chore: use subtotals everywhere
* chore: fix shipping totals + tests
2024-09-10 10:59:22 +02:00
Stevche Radevski
3244067ee4
feat: Add support for fetch streaming to js SDK ( #9065 )
2024-09-10 09:14:10 +02:00
Frane Polić
0714315792
fix(dashboard): rq cache and pending flag ( #9063 )
...
**What**
- fix issues from stale data on modal pages
---
FIXES CC-137
2024-09-09 19:06:10 +00:00
Shahed Nasser
6e46baa2cb
docs-util: fix generated hooks example ( #9060 )
...
Fix generated hook examples by the placement of `async` keyword
2024-09-09 18:53:44 +00:00
Shahed Nasser
abb5f0c2fe
oas: [4/n] improve oas schemas ( #9064 )
...
Improve oas schemas [4/n]
2024-09-09 18:52:49 +00:00
Shahed Nasser
dfb095e2ea
chore(types, medusa): clean up to request / response types ( #9067 )
...
Smaller clean up to request / response types
2024-09-09 18:52:02 +00:00
Harminder Virk
2020b35e52
breaking: turn off mikro orm casing change with DML properties ( #9058 )
2024-09-09 19:54:02 +05:30
Shahed Nasser
c091cf5868
docs: add prerequisites link for test guides ( #9057 )
...
- Add a prerequisites link to test guides pointing to how to setup the testing tools
- Add in the main http / module integration guides the command to run the tests
2024-09-09 13:58:42 +00:00
Shahed Nasser
2189ff2dc8
chore: fix build errors in OAS ( #9059 )
...
Fix errors stopping OAS from building
2024-09-09 13:54:14 +00:00
Shahed Nasser
4ffcc41fe7
chore(utils): update auth provider TSDocs + fix errors stopping references build ( #9023 )
...
- Updated the TSDocs of the auth provider
- Update the Node version in the docs-util as the outdated version was causing TypeScript error
- Add `@ts-ignore` for a line that was causing a typescript error. If there's a better fix here let me know
2024-09-09 13:53:33 +00:00