-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathevents.js
More file actions
88 lines (62 loc) · 3.13 KB
/
events.js
File metadata and controls
88 lines (62 loc) · 3.13 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
'use strict'
// NOTE: do not place contract-related events in here!
// place those in @model/contracts/shared/constants.js instead
//
// This file is primarily for frontend UI related events.
export const LOGIN = 'login'
export const LOGIN_ERROR = 'login-error'
export const LOGIN_COMPLETE = 'login-complete'
export const LOGGING_OUT = 'logging-out'
export const LOGOUT = 'logout'
export const ONLINE = 'online'
export const OFFLINE = 'offline'
export const RECONNECTING = 'reconnecting'
export const RECONNECTION_FAILED = 'reconnection-failed'
export const KV_QUEUE = 'kv-queue'
export const KV_EVENT = 'kv-event'
export const NEW_KV_LOAD_STATUS = 'new-kv-load-status'
export const ACCEPTED_GROUP = 'accepted-group'
export const SWITCH_GROUP = 'switch-group'
export const JOINED_GROUP = 'joined-group'
export const LEFT_GROUP = 'left-group'
export const ERROR_GROUP_GENERAL_CHATROOM_DOES_NOT_EXIST = 'error-group-non-existent-#general'
export const JOINED_CHATROOM = 'joined-chatroom'
export const LEFT_CHATROOM = 'left-chatroom'
export const DELETED_CHATROOM = 'deleted-chatroom'
export const DELETE_ATTACHMENT = 'delete-attachment'
export const DELETE_ATTACHMENT_FEEDBACK = 'delete-attachment-complete'
export const ERROR_JOINING_CHATROOM = 'error-joining-chatroom'
export const REPLACED_STATE = 'replaced-state'
export const OPEN_MODAL = 'open-modal'
export const CLOSE_MODAL = 'close-modal'
export const REPLACE_MODAL = 'replace-modal'
export const SET_MODAL_QUERIES = 'set-modal-queries'
export const MODAL_RESPONSE = 'modal-response'
export const OPEN_EMOTICON = 'open-emoticon'
export const CLOSE_EMOTICON = 'close-emoticon'
export const SELECT_EMOTICON = 'select-emoticon'
export const CLOSE_NAVIGATION_SIDEBAR = 'close-navigation-sidebar'
export const OPEN_TOUCH_LINK_HELPER = 'open-touch-link-helper'
export const CAPTURED_LOGS = 'captured-logs'
export const SET_APP_LOGS_FILTER = 'set-app-logs-filter'
export const INCOME_DETAILS_UPDATE = 'income-details-update'
export const PAYMENTS_RECORDED = 'payments-recorded'
export const AVATAR_EDITED = 'avatar-edited'
export const THEME_CHANGE = 'theme-change'
export const CHATROOM_EVENTS = 'chatroom-events'
export const CHATROOM_USER_TYPING = 'chatroom-user-typing'
export const CHATROOM_USER_STOP_TYPING = 'chatroom-user-stop-typing'
export const NAMESPACE_REGISTRATION = 'namespace-registration'
export const PWA_INSTALLABLE = 'pwa-installable'
export const CHELONIA_STATE_MODIFIED = 'chelonia-state-modified'
export const NOTIFICATION_EMITTED = 'notification-emitted'
export const NOTIFICATION_REMOVED = 'notification-removed'
export const NOTIFICATION_STATUS_LOADED = 'notification-status-loaded'
export const NEW_CHATROOM_SCROLL_POSITION = 'new-chatroom-scroll-position'
export const NEW_LAST_LOGGED_IN = 'new-last-logged-in'
export const NEW_UNREAD_MESSAGES = 'new-unread-messages'
export const NEW_PREFERENCES = 'new-preferences'
export const NEW_CHATROOM_NOTIFICATION_SETTINGS = 'new-chatroom-notification-settings'
export const CONTRACT_SYNCS_RESET = 'new-current-syncs'
export const SERIOUS_ERROR = 'serious-error'
export const GROUP_PERMISSIONS_UPDATE_SUCCESS = 'group-permissions-update-success'