2018-10-31 17:00:31 +01:00
|
|
|
export const REQUEST_GOOD = 'requestGood';
|
|
|
|
export const REQUEST_LAME = 'requestLame';
|
2020-03-01 06:01:34 +01:00
|
|
|
export const API_REQUEST_GOOD = 'apiUseAuthorized';
|
|
|
|
export const API_REQUEST_LAME = 'apiUseNotAuthorized';
|
2018-10-31 17:00:31 +01:00
|
|
|
export const IMG_REQUEST_GOOD = 'imgRequestGood';
|
|
|
|
export const IMG_REQUEST_LAME = 'imgRequestLame';
|
2019-11-24 21:23:01 +01:00
|
|
|
export const SETTINGS_LOADED = 'settingsLoaded';
|
2018-10-31 17:00:31 +01:00
|
|
|
export const POST_IMAGE_ADDED = 'postImageAdded';
|
2018-11-26 23:14:13 +01:00
|
|
|
export const FEATURE_IMAGE_ADDED = 'featureImageAdded';
|
2019-11-25 01:11:12 +01:00
|
|
|
export const PAGE_ERROR = 'postError';
|
|
|
|
export const PAGE_ADDED = 'postAdded';
|
|
|
|
export const PAGE_UPDATED = 'postUpdated';
|
|
|
|
export const PAGE_DELETED = 'postImageAdded';
|
2020-05-06 23:43:53 +02:00
|
|
|
export const PAGES_RENDERED = 'pagesRendered';
|
|
|
|
export const PAGES_NOT_RENDERED = 'pagesNotRendered';
|
2018-12-19 18:56:18 +01:00
|
|
|
export const SETTINGS_UPDATED = 'settingsUpdated';
|
2020-03-01 22:13:18 +01:00
|
|
|
export const MENU_ADD_ITEM = 'menuAddItem';
|
|
|
|
export const MENU_DELETE_ITEM = 'menuDeleteItem';
|
2019-11-29 22:43:55 +01:00
|
|
|
export const MENU_UPDATED = 'menuUpdated';
|
2018-12-20 19:50:28 +01:00
|
|
|
export const AVATAR_UPLOADED = 'avatarUploaded';
|
2019-01-03 17:17:02 +01:00
|
|
|
export const SITE_BACKGROUND_UPLOADED = 'siteBackgroundUploaded';
|
2019-12-02 22:07:16 +01:00
|
|
|
export const UPLOAD_PROGRESS = 'uploadProgress';
|
2019-11-24 21:23:01 +01:00
|
|
|
export const API_PAGE_WRITE = 'writingItDown';
|
2020-03-01 06:01:34 +01:00
|
|
|
export const API_PAGE_CREATE = 'writingNewEntry';
|
|
|
|
export const API_PAGE_DELETE = 'erasingPage';
|
2019-12-02 22:07:16 +01:00
|
|
|
export const API_SETTINGS_WRITE = 'savingSettings';
|
|
|
|
export const API_IMAGES_UPLOAD = 'uploadProfileImages';
|
2020-05-05 21:31:32 +02:00
|
|
|
export const API_RENDER_PAGES = 'renderPages';
|
2019-11-24 21:23:01 +01:00
|
|
|
class DataEvent {
|
|
|
|
//--------------------------
|
|
|
|
// methods
|
|
|
|
//--------------------------
|
|
|
|
//--------------------------
|
|
|
|
// event handlers
|
|
|
|
//--------------------------
|
2018-10-31 17:00:31 +01:00
|
|
|
}
|
2019-11-24 21:23:01 +01:00
|
|
|
export default new DataEvent();
|