Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add NotificationCenter interface
  • Loading branch information
Matt Carroll committed Aug 7, 2019
commit f2d6fa4503fd7feefd4cf3565b4034834810b763
4 changes: 4 additions & 0 deletions packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,7 @@ export enum NOTIFICATION_TYPES {
OPTIMIZELY_CONFIG_UPDATE = 'OPTIMIZELY_CONFIG_UPDATE',
TRACK = 'TRACK:event_key, user_id, attributes, event_tags, event',
}

export interface NotificationCenter {
sendNotifications(notificationType: NOTIFICATION_TYPES, notificationData?: any): void
}