UNPKG

mattermost-redux

Version:

Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client

20 lines (19 loc) 1.11 kB
import { ActionFunc } from "../types/actions"; import { Post } from "../types/posts"; import { SearchParameter } from "../types/search"; export declare function getMissingChannelsFromPosts(posts: Map<string, Post>): ActionFunc; export declare function searchPostsWithParams(teamId: string, params: SearchParameter): ActionFunc; export declare function searchPosts(teamId: string, terms: string, isOrSearch: boolean, includeDeletedChannels: boolean): ActionFunc; export declare function getMorePostsForSearch(): ActionFunc; export declare function clearSearch(): ActionFunc; export declare function getFlaggedPosts(): ActionFunc; export declare function getPinnedPosts(channelId: string): ActionFunc; export declare function clearPinnedPosts(channelId: string): ActionFunc; export declare function getRecentMentions(): ActionFunc; export declare function removeSearchTerms(teamId: string, terms: string): ActionFunc; declare const _default: { clearSearch: typeof clearSearch; removeSearchTerms: typeof removeSearchTerms; searchPosts: typeof searchPosts; }; export default _default;