File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ export { createErrorNotifier } from './error/error_notifier_factory';
30
30
31
31
export {
32
32
DECISION_SOURCES ,
33
- NOTIFICATION_TYPES ,
34
33
} from './utils/enums' ;
35
34
35
+ export { NOTIFICATION_TYPES , DECISION_NOTIFICATION_TYPES } from './notification_center/type' ;
36
+
36
37
export { OptimizelyDecideOption } from './shared_types' ;
Original file line number Diff line number Diff line change @@ -48,9 +48,10 @@ import {
48
48
49
49
import {
50
50
DECISION_SOURCES ,
51
- NOTIFICATION_TYPES ,
52
51
} from './utils/enums' ;
53
52
53
+ import { NOTIFICATION_TYPES , DECISION_NOTIFICATION_TYPES } from './notification_center/type' ;
54
+
54
55
import { LogLevel } from './logging/logger' ;
55
56
56
57
import { OptimizelyDecideOption } from './shared_types' ;
@@ -89,6 +90,7 @@ export type Entrypoint = {
89
90
// enums
90
91
DECISION_SOURCES : typeof DECISION_SOURCES ;
91
92
NOTIFICATION_TYPES : typeof NOTIFICATION_TYPES ;
93
+ DECISION_NOTIFICATION_TYPES : typeof DECISION_NOTIFICATION_TYPES ;
92
94
93
95
// decide options
94
96
OptimizelyDecideOption : typeof OptimizelyDecideOption ;
Original file line number Diff line number Diff line change @@ -41,9 +41,10 @@ import { RequestHandler } from './utils/http_request_handler/http';
41
41
import { UniversalBatchEventProcessorOptions } from './event_processor/event_processor_factory.universal' ;
42
42
import {
43
43
DECISION_SOURCES ,
44
- NOTIFICATION_TYPES ,
45
44
} from './utils/enums' ;
46
45
46
+ import { NOTIFICATION_TYPES , DECISION_NOTIFICATION_TYPES } from './notification_center/type' ;
47
+
47
48
import { LogLevel } from './logging/logger' ;
48
49
49
50
import { OptimizelyDecideOption } from './shared_types' ;
@@ -82,6 +83,7 @@ export type UniversalEntrypoint = {
82
83
// enums
83
84
DECISION_SOURCES : typeof DECISION_SOURCES ;
84
85
NOTIFICATION_TYPES : typeof NOTIFICATION_TYPES ;
86
+ DECISION_NOTIFICATION_TYPES : typeof DECISION_NOTIFICATION_TYPES ;
85
87
86
88
// decide options
87
89
OptimizelyDecideOption : typeof OptimizelyDecideOption ;
Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ export const DECISION_MESSAGES = {
97
97
VARIABLE_VALUE_INVALID : 'Variable value for key "%s" is invalid or wrong type.' ,
98
98
} ;
99
99
100
- export { NOTIFICATION_TYPES } from '../../notification_center/type' ;
101
-
102
100
/**
103
101
* Default milliseconds before request timeout
104
102
*/
You can’t perform that action at this time.
0 commit comments