Skip to content

Commit e0b5b9f

Browse files
authored
Merge pull request #11 from oslabs-beta/common
Add Event Types to common pkg - update common pkg version in each service
2 parents 38497b0 + 337b20f commit e0b5b9f

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
export enum Events {
22
USER_CREATED = 'USER_CREATED',
33
ITEM_CREATED = 'ITEM_CREATED',
4+
ITEM_UPDATED = 'ITEM_UPDATED',
5+
ITEM_DELETED = 'ITEM_DELETED',
6+
INVENTORY_CREATED = 'INVENTORY_CREATED',
7+
INVENTORY_UPDATED = 'INVENTORY_UPDATED',
8+
INVENTORY_DELETED = 'INVENTORY_DELETED',
49
ORDER_CREATED = 'ORDER_CREATED',
10+
ORDER_DELETED = 'ORDER_DELETED',
511
}

examples_new/microservices/items/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples_new/microservices/items/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"author": "",
1919
"license": "ISC",
2020
"dependencies": {
21-
"@chronosrx/common": "^1.0.2",
21+
"@chronosrx/common": "^1.0.3",
2222
"axios": "^1.6.2",
2323
"cookie-parser": "^1.4.6",
2424
"dotenv": "^16.3.1",

0 commit comments

Comments
 (0)