UNPKG

mattermost-redux

Version:

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

28 lines (27 loc) 652 B
import { Dictionary } from './utilities'; export declare type Search = { terms: string; isOrSearch: boolean; }; export declare type SearchState = { current: any; results: string[]; flagged: string[]; pinned: Dictionary<string[]>; isSearchingTerm: boolean; isSearchGettingMore: boolean; recent: { [x: string]: Search[]; }; matches: { [x: string]: string[]; }; }; export declare type SearchParameter = { terms: string; is_or_search: boolean; time_zone_offset?: number; page: number; per_page: number; include_deleted_channels: boolean; };