forked from projects/fipamo
36 lines
1.2 KiB
JavaScript
36 lines
1.2 KiB
JavaScript
export const REQUEST_GOOD = 'requestGood';
|
|
export const REQUEST_LAME = 'requestLame';
|
|
export const IMG_REQUEST_GOOD = 'imgRequestGood';
|
|
export const IMG_REQUEST_LAME = 'imgRequestLame';
|
|
export const SETTINGS_LOADED = 'dataLoaded';
|
|
export const HTML_LOADED = 'htmlLoaded';
|
|
export const ARCHIVES_JSON_LOADED = 'archivesJSONLoaded';
|
|
export const ARCHIVES_PAGE_LOADED = 'archivesPAGELoaded';
|
|
export const ARCHIVES_ENTRY_LOADED = 'archivesEntryLoaded';
|
|
export const PROJECT_UPDATED = 'projectUpdated';
|
|
export const PROJECT_ADDED = 'projectAdded';
|
|
export const PROJECTS_SORTED = 'projectsSorted';
|
|
export const POST_IMAGE_ADDED = 'postImageAdded';
|
|
export const FEATURE_IMAGE_ADDED = 'featureImageAdded';
|
|
export const POST_ERROR = 'postError';
|
|
export const POST_ADDED = 'postAdded';
|
|
export const POST_UPDATED = 'postUpdated';
|
|
export const POST_DELETED = 'postImageAdded';
|
|
export const POSTS_SYNCED = 'postsSynced';
|
|
export const LOCAL_DB_READY = 'localDBReady';
|
|
export const SETTINGS_UPDATED = 'settingsUpdated';
|
|
class DataEvent
|
|
{
|
|
|
|
//--------------------------
|
|
// methods
|
|
//--------------------------
|
|
|
|
|
|
|
|
//--------------------------
|
|
// event handlers
|
|
//--------------------------
|
|
}
|
|
export default new DataEvent
|