diff options
author | Corey Hulen <corey@hulen.com> | 2016-03-02 12:22:11 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-03-02 12:22:11 -0800 |
commit | c52153bf601cee5bc21e9e79efcd1fdd5ef1dac7 (patch) | |
tree | 822f5614a031f8d65c3ddca7e3e3dfec1152e053 /web/react/utils/constants.jsx | |
parent | cddc9df7c4371e4240d65c6874155e1ce85adff0 (diff) | |
parent | fbb71cab4b4c0289c1f071f9fa2e61b0b0237ece (diff) | |
download | chat-c52153bf601cee5bc21e9e79efcd1fdd5ef1dac7.tar.gz chat-c52153bf601cee5bc21e9e79efcd1fdd5ef1dac7.tar.bz2 chat-c52153bf601cee5bc21e9e79efcd1fdd5ef1dac7.zip |
Merge pull request #2258 from mattermost/plt-1796
PLT-1796 Refactor and modularize analytics on the client
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r-- | web/react/utils/constants.jsx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 0a4944708..88f01a475 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -71,6 +71,26 @@ export default { VIEW_ACTION: null }), + StatTypes: keyMirror({ + TOTAL_USERS: null, + TOTAL_PUBLIC_CHANNELS: null, + TOTAL_PRIVATE_GROUPS: null, + TOTAL_POSTS: null, + TOTAL_TEAMS: null, + TOTAL_FILE_POSTS: null, + TOTAL_HASHTAG_POSTS: null, + TOTAL_IHOOKS: null, + TOTAL_OHOOKS: null, + TOTAL_COMMANDS: null, + TOTAL_SESSIONS: null, + POST_PER_DAY: null, + USERS_WITH_POSTS_PER_DAY: null, + RECENTLY_ACTIVE_USERS: null, + NEWLY_CREATED_USERS: null + }), + STAT_MAX_ACTIVE_USERS: 20, + STAT_MAX_NEW_USERS: 20, + SocketEvents: { POSTED: 'posted', POST_EDITED: 'post_edited', |