-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconstants.js
66 lines (56 loc) · 1.98 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/** @constant */
export const APP_TOPIC = 'APP';
export const APP_PUBSUB_INITIALIZED = `${APP_TOPIC}.PUBSUB_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished loading any dynamic
* configuration setup in a custom config handler.
*
* @event
*/
export const APP_CONFIG_INITIALIZED = `${APP_TOPIC}.CONFIG_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished determining the user's
* authentication state, creating an authenticated API client, and executing auth handlers.
*
* @event
*/
export const APP_AUTH_INITIALIZED = `${APP_TOPIC}.AUTH_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished initializing
* internationalization and executing any i18n handlers.
*
* @event
*/
export const APP_I18N_INITIALIZED = `${APP_TOPIC}.I18N_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished initializing the
* logging service and executing any logging handlers.
*
* @event
*/
export const APP_LOGGING_INITIALIZED = `${APP_TOPIC}.LOGGING_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished initializing the
* analytics service and executing any analytics handlers.
*
* @event
*/
export const APP_ANALYTICS_INITIALIZED = `${APP_TOPIC}.ANALYTICS_INITIALIZED`;
/**
* Event published when the application initialization sequence has finished. Applications should
* subscribe to this event and start rendering the UI when it has fired.
*
* @event
*/
export const APP_READY = `${APP_TOPIC}.READY`;
/**
* Event published when the application initialization sequence has aborted. This is frequently
* used to show an error page when an initialization error has occurred.
*
* @see {@link module:React~ErrorPage}
* @event
*/
export const APP_INIT_ERROR = `${APP_TOPIC}.INIT_ERROR`;
/** @constant */
export const CONFIG_TOPIC = 'CONFIG';
export const CONFIG_CHANGED = `${CONFIG_TOPIC}.CHANGED`;