Skip to content

Commit ef3d200

Browse files
committed
Optimize NOTIFICATION_TYPES export
1 parent a1cb29e commit ef3d200

File tree

1 file changed

+1
-7
lines changed
  • packages/optimizely-sdk/lib/core/notification_center

1 file changed

+1
-7
lines changed

packages/optimizely-sdk/lib/core/notification_center/index.d.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,7 @@ import { LogHandler, ErrorHandler } from '@optimizely/js-sdk-logging';
1818
import { EventTags, UserAttributes, Event } from '../../shared_types';
1919
import { Experiment, Variation } from '../project_config/entities';
2020

21-
export enum NOTIFICATION_TYPES {
22-
ACTIVATE = 'ACTIVATE:experiment, user_id,attributes, variation, event',
23-
DECISION = 'DECISION:type, userId, attributes, decisionInfo',
24-
LOG_EVENT = 'LOG_EVENT:logEvent',
25-
OPTIMIZELY_CONFIG_UPDATE = 'OPTIMIZELY_CONFIG_UPDATE',
26-
TRACK = 'TRACK:event_key, user_id, attributes, event_tags, event',
27-
}
21+
export type NOTIFICATION_TYPES = import('@optimizely/js-sdk-utils').NOTIFICATION_TYPES;
2822

2923
export enum DECISION_NOTIFICATION_TYPES {
3024
AB_TEST = 'ab-test',

0 commit comments

Comments
 (0)