Commit e8822f3
chore(): Module Internal Events (medusajs#13296)
* chore(): Ensure the product module emits all necessary events
* chore(): Ensure the product module emits all necessary events
* Update events tests
* more events and fixes
* more tests and category fixes
* more tests and category fixes
* Add todo
* update updateProduct_ event emitting and adjust test
* Adjust update products implementation to rely on already computed events
* rm unnecessary update variants events
* Fix formatting in changeset for product events
* refactor: Manage event emitting automatically (WIP)
* refactor: Manage event emitting automatically (WIP)
* chore(api-key): Add missing emit events and refactoring
* chore(cart): Add missing emit events and refactoring
* chore(customer): Add missing emit events and refactoring
* chore(fufillment, utils): Add missing emit events and refactoring
* chore(fufillment, utils): Add missing emit events and refactoring
* chore(inventory): Add missing emit events and refactoring
* chore(notification): Add missing emit events and refactoring
* chore(utils): Remove medusa service event handling legacy
* chore(product): Add missing emit events and refactoring
* chore(order): Add missing emit events and refactoring
* chore(payment): Add missing emit events and refactoring
* chore(pricing, util): Add missing emit events and refactoring, fix internal service upsertWithReplace event dispatching
* chore(promotions): Add missing emit events and refactoring
* chore(region): Add missing emit events and refactoring
* chore(sales-channel): Add missing emit events and refactoring
* chore(settings): Add missing emit events and refactoring
* chore(stock-location): Add missing emit events and refactoring
* chore(store): Add missing emit events and refactoring
* chore(taxes): Add missing emit events and refactoring
* chore(user): Add missing emit events and refactoring
* fix unit tests
* rm changeset for regeneration
* Create changeset for Medusa.js patch updates
Add a changeset for patch updates to multiple Medusa.js modules.
* rm unused product event builders
* address feedback
* remove old changeset
* fix event action for token generated
* fix user module events
* fix import
* fix promotion events
* add new module integration tests shard
* fix medusa service
* revert shard
* fix event action
* fix pipeline
* fix pipeline
---------
Co-authored-by: Oli Juhl <[email protected]>1 parent afe2174 commit e8822f3
File tree
55 files changed
+3618
-2357
lines changed- .changeset
- packages
- core/utils/src
- event-bus
- modules-sdk
- __tests__
- types
- modules
- api-key/src/services
- cart/src/services
- customer/src/services
- fulfillment
- integration-tests/__tests__/fulfillment-module-service
- src/services
- inventory
- integration-tests/__tests__
- src/services
- notification
- integration-tests/__tests__/notification-module-service
- src
- services
- utils
- order/src/services
- payment/src/services
- pricing
- integration-tests/__tests__/services/pricing-module
- src
- services
- utils
- product
- integration-tests
- __fixtures__/product/data
- __tests__
- product-module-service
- src
- repositories
- services
- utils
- promotion/src/services
- region/src/services
- sales-channel/src/services
- settings/src/services
- stock-location/src/services
- store/src/services
- tax/src/services
- user
- integration-tests/__tests__
- src/services
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+3618
-2357
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
27 | 40 | | |
28 | 41 | | |
29 | 42 | | |
| |||
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
58 | | - | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
62 | | - | |
| 75 | + | |
63 | 76 | | |
64 | 77 | | |
65 | 78 | | |
66 | | - | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
94 | | - | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
Lines changed: 71 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
0 commit comments