UNPKG

mattermost-redux

Version:

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

15 lines (14 loc) 604 B
import type { Channel } from '@mattermost/types/channels'; import type { Scheme } from '@mattermost/types/schemes'; import type { GlobalState } from '@mattermost/types/store'; import type { Team } from '@mattermost/types/teams'; export declare function getSchemes(state: GlobalState): { [x: string]: Scheme; }; export declare function getScheme(state: GlobalState, id: string): Scheme; export declare function makeGetSchemeChannels(): (b: GlobalState, a: { schemeId: string; }) => Channel[]; export declare function makeGetSchemeTeams(): (b: GlobalState, a: { schemeId: string; }) => Team[];