-
Notifications
You must be signed in to change notification settings - Fork 6
/
types.js
34 lines (28 loc) · 1.16 KB
/
types.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
//@flow
export const firebase = {
FIREBASE_UPDATE_REQUESTED: 'FIREBASE_UPDATE_REQUESTED',
FIREBASE_UPDATE_FULFILLED: 'FIREBASE_UPDATE_FULFILLED',
FIREBASE_UPDATE_REJECTED: 'FIREBASE_UPDATE_REJECTED',
FIREBASE_REMOVE_REQUESTED: 'FIREBASE_REMOVE_REQUESTED',
FIREBASE_REMOVE_FULFILLED: 'FIREBASE_REMOVE_FULFILLED',
FIREBASE_REMOVE_REJECTED: 'FIREBASE_REMOVE_REJECTED',
FIREBASE_LISTEN_REQUESTED: 'FIREBASE_LISTEN_REQUESTED',
FIREBASE_LISTEN_FULFILLED: 'FIREBASE_LISTEN_FULFILLED',
FIREBASE_LISTEN_REJECTED: 'FIREBASE_LISTEN_REJECTED',
FIREBASE_LISTEN_CHILD_ADDED: 'FIREBASE_LISTEN_CHILD_ADDED',
FIREBASE_LISTEN_CHILD_CHANGED: 'FIREBASE_LISTEN_CHILD_CHANGED',
FIREBASE_LISTEN_CHILD_REMOVED: 'FIREBASE_LISTEN_CHILD_REMOVED',
FIREBASE_LISTEN_REMOVED: 'FIREBASE_LISTEN_REMOVED',
FIREBASE_REMOVE_LISTENER_REQUESTED: 'FIREBASE_REMOVE_LISTENER_REQUESTED',
FIREBASE_REMOVE_ALL_LISTENERS_REQUESTED:
'FIREBASE_REMOVE_ALL_LISTENERS_REQUESTED',
}
export const metaTypes = {
messages: 'messages',
userContacts: 'userContacts',
}
export const eventTypes = {
CHILD_ADDED: 'CHILD_ADDED',
CHILD_REMOVED: 'CHILD_REMOVED',
CHILD_CHANGED: 'CHILD_CHANGED',
}