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';
|
2020-05-21 23:13:03 +02:00
|
|
|
export const TAG_PAGES_RENDERED = 'tagPagesRendered';
|
|
|
|
export const TAG_PAGES_NOT_RENDERED = 'tagPagesNotRendered';
|
2018-12-19 18:56:18 +01:00
|
|
|
export const SETTINGS_UPDATED = 'settingsUpdated';
|
2020-05-19 22:51:04 +02:00
|
|
|
export const SETTINGS_NOT_UPDATED = 'settingsNotUpdated';
|
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';
|
2020-08-13 21:53:51 +02:00
|
|
|
export const API_BACKUP_CREATE = 'createBackup';
|
2019-12-02 22:07:16 +01:00
|
|
|
export const API_IMAGES_UPLOAD = 'uploadProfileImages';
|
2020-05-05 21:31:32 +02:00
|
|
|
export const API_RENDER_PAGES = 'renderPages';
|
2020-06-21 03:13:23 +02:00
|
|
|
export const API_INIT = 'blogInit';
|
|
|
|
export const API_INIT_GOOD = 'blogInitGood';
|
|
|
|
export const API_INIT_LAME = 'blogInitLame';
|
2020-07-02 22:34:39 +02:00
|
|
|
export const SEND_MAIL = 'sendMail';
|
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();
|