Skip to content

Commit 00df256

Browse files
committed
Added 'Alert' service to example pages
1 parent 7277d4a commit 00df256

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.releases/3.2.0.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**New Features**
2+
3+
* Added new `ProductType` for Alerting Service for `sdk-js` example page.

packages/sdk-js/example/browser/js/example.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ module.exports = (() => {
2222
products: [
2323
ProductType.PORTFOLIO,
2424
ProductType.WATCHLIST,
25-
ProductType.ENTITLEMENTS
25+
ProductType.ENTITLEMENTS,
26+
ProductType.ALERT
2627
],
2728
types: {
2829
[ProductType.PORTFOLIO.code]: Enum.getItems(EventType).filter(eventType => eventType.product === ProductType.PORTFOLIO),
2930
[ProductType.WATCHLIST.code]: Enum.getItems(EventType).filter(eventType => eventType.product === ProductType.WATCHLIST),
30-
[ProductType.ENTITLEMENTS.code]: Enum.getItems(EventType).filter(eventType => eventType.product === ProductType.ENTITLEMENTS)
31+
[ProductType.ENTITLEMENTS.code]: Enum.getItems(EventType).filter(eventType => eventType.product === ProductType.ENTITLEMENTS),
32+
[ProductType.ALERT.code]: Enum.getItems(EventType).filter(eventType => eventType.product === ProductType.ALERT)
3133
}
3234
};
3335
})();

0 commit comments

Comments
 (0)