mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
24 lines (20 loc) • 734 B
text/typescript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import keyMirror from 'utils/key_mirror';
export default keyMirror({
SEARCH_POSTS_REQUEST: null,
SEARCH_POSTS_SUCCESS: null,
SEARCH_FLAGGED_POSTS_REQUEST: null,
SEARCH_FLAGGED_POSTS_SUCCESS: null,
SEARCH_FLAGGED_POSTS_FAILURE: null,
SEARCH_PINNED_POSTS_REQUEST: null,
SEARCH_PINNED_POSTS_SUCCESS: null,
SEARCH_PINNED_POSTS_FAILURE: null,
REMOVE_SEARCH_PINNED_POSTS: null,
RECEIVED_SEARCH_POSTS: null,
RECEIVED_SEARCH_FLAGGED_POSTS: null,
RECEIVED_SEARCH_PINNED_POSTS: null,
RECEIVED_SEARCH_TERM: null,
REMOVE_SEARCH_POSTS: null,
REMOVE_SEARCH_TERM: null,
});