This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from mattermost/plt-5932
PLT-5932 Split out action_types from constants
- Loading branch information
Showing
50 changed files
with
678 additions
and
682 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved. | ||
// See License.txt for license information. | ||
|
||
import keyMirror from 'utils/key_mirror'; | ||
|
||
export default keyMirror({ | ||
FETCH_FILES_FOR_POST_REQUEST: null, | ||
FETCH_FILES_FOR_POST_SUCCESS: null, | ||
FETCH_FILES_FOR_POST_FAILURE: null, | ||
|
||
RECEIVED_FILES_FOR_POST: null | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. | ||
// See License.txt for license information. | ||
|
||
import keyMirror from 'utils/key_mirror'; | ||
|
||
export default keyMirror({ | ||
RECEIVED_APP_STATE: null, | ||
RECEIVED_APP_CREDENTIALS: null, | ||
REMOVED_APP_CREDENTIALS: null, | ||
RECEIVED_APP_DEVICE_TOKEN: null, | ||
|
||
PING_REQUEST: null, | ||
PING_SUCCESS: null, | ||
PING_FAILURE: null, | ||
PING_RESET: null, | ||
|
||
RECEIVED_SERVER_VERSION: null, | ||
|
||
CLIENT_CONFIG_REQUEST: null, | ||
CLIENT_CONFIG_SUCCESS: null, | ||
CLIENT_CONFIG_FAILURE: null, | ||
CLIENT_CONFIG_RECEIVED: null, | ||
|
||
CLIENT_LICENSE_REQUEST: null, | ||
CLIENT_LICENSE_SUCCESS: null, | ||
CLIENT_LICENSE_FAILURE: null, | ||
CLIENT_LICENSE_RECEIVED: null, | ||
|
||
LOG_CLIENT_ERROR_REQUEST: null, | ||
LOG_CLIENT_ERROR_SUCCESS: null, | ||
LOG_CLIENT_ERROR_FAILURE: null, | ||
|
||
WEBSOCKET_REQUEST: null, | ||
WEBSOCKET_SUCCESS: null, | ||
WEBSOCKET_FAILURE: null | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved. | ||
// See License.txt for license information. | ||
|
||
import ChannelTypes from './channels'; | ||
import ErrorTypes from './errors'; | ||
import GeneralTypes from './general'; | ||
import UserTypes from './users'; | ||
import TeamTypes from './teams'; | ||
import PostTypes from './posts'; | ||
import FileTypes from './files'; | ||
import PreferenceTypes from './preferences'; | ||
|
||
export { | ||
ErrorTypes, | ||
GeneralTypes, | ||
UserTypes, | ||
TeamTypes, | ||
ChannelTypes, | ||
PostTypes, | ||
FileTypes, | ||
PreferenceTypes | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. | ||
// See License.txt for license information. | ||
|
||
import keyMirror from 'utils/key_mirror'; | ||
|
||
export default keyMirror({ | ||
CREATE_POST_REQUEST: null, | ||
CREATE_POST_SUCCESS: null, | ||
CREATE_POST_FAILURE: null, | ||
|
||
EDIT_POST_REQUEST: null, | ||
EDIT_POST_SUCCESS: null, | ||
EDIT_POST_FAILURE: null, | ||
|
||
DELETE_POST_REQUEST: null, | ||
DELETE_POST_SUCCESS: null, | ||
DELETE_POST_FAILURE: null, | ||
|
||
GET_POST_REQUEST: null, | ||
GET_POST_SUCCESS: null, | ||
GET_POST_FAILURE: null, | ||
|
||
GET_POSTS_REQUEST: null, | ||
GET_POSTS_SUCCESS: null, | ||
GET_POSTS_FAILURE: null, | ||
|
||
GET_POSTS_SINCE_REQUEST: null, | ||
GET_POSTS_SINCE_SUCCESS: null, | ||
GET_POSTS_SINCE_FAILURE: null, | ||
|
||
GET_POSTS_BEFORE_REQUEST: null, | ||
GET_POSTS_BEFORE_SUCCESS: null, | ||
GET_POSTS_BEFORE_FAILURE: null, | ||
|
||
GET_POSTS_AFTER_REQUEST: null, | ||
GET_POSTS_AFTER_SUCCESS: null, | ||
GET_POSTS_AFTER_FAILURE: null, | ||
|
||
RECEIVED_POST: null, | ||
RECEIVED_POSTS: null, | ||
RECEIVED_FOCUSED_POST: null, | ||
RECEIVED_POST_SELECTED: null, | ||
RECEIVED_EDIT_POST: null, | ||
POST_DELETED: null, | ||
REMOVE_POST: null | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved. | ||
// See License.txt for license information. | ||
|
||
import keyMirror from 'utils/key_mirror'; | ||
|
||
export default keyMirror({ | ||
MY_PREFERENCES_REQUEST: null, | ||
MY_PREFERENCES_SUCCESS: null, | ||
MY_PREFERENCES_FAILURE: null, | ||
|
||
SAVE_PREFERENCES_REQUEST: null, | ||
SAVE_PREFERENCES_SUCCESS: null, | ||
SAVE_PREFERENCES_FAILURE: null, | ||
|
||
DELETE_PREFERENCES_REQUEST: null, | ||
DELETE_PREFERENCES_SUCCESS: null, | ||
DELETE_PREFERENCES_FAILURE: null, | ||
|
||
RECEIVED_PREFERENCES: null, | ||
DELETED_PREFERENCES: null | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.