mattermost-mobile/service/constants/constants.js
enahum 7e426b6029 Add WebSocket support (#144)
* Add WebSocket support

* fix unit tests

* Add actions to websocket and fix unit tests
2016-12-21 12:54:23 -05:00

27 lines
598 B
JavaScript

// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
const Constants = {
POST_CHUNK_SIZE: 60,
PROFILE_CHUNK_SIZE: 100,
CHANNELS_CHUNK_SIZE: 50,
OFFLINE: 'offline',
AWAY: 'away',
ONLINE: 'online',
TEAM_USER_ROLE: 'team_user',
TEAM_ADMIN_ROLE: 'team_admin',
CHANNEL_USER_ROLE: 'channel_user',
CHANNEL_ADMIN_ROLE: 'channel_admin',
DEFAULT_CHANNEL: 'town-square',
DM_CHANNEL: 'D',
POST_DELETED: 'DELETED',
CATEGORY_DIRECT_CHANNEL_SHOW: 'direct_channel_show'
};
export default Constants;