mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
11 lines (10 loc) • 961 B
TypeScript
import type { Channel, ChannelWithTeamData, ChannelSearchOpts } from '@mattermost/types/channels';
import type { AccessControlSettings } from '@mattermost/types/config';
import type { GlobalState } from '@mattermost/types/store';
export declare const getAccessControlSettings: import("../create_selector").OutputSelector<GlobalState, AccessControlSettings, (res1: AccessControlSettings, res2: any) => AccessControlSettings>;
export declare function getAccessControlPolicy(state: GlobalState, id: string): import("@mattermost/types/access_control").AccessControlPolicy;
export declare const getChannelIdsForAccessControlPolicy: (state: GlobalState, parentId: string) => string[];
export declare function makeGetChannelsInAccessControlPolicy(): (b: GlobalState, a: {
policyId: string;
}) => ChannelWithTeamData[];
export declare function searchChannelsInheritsPolicy(state: GlobalState, policyId: string, term: string, filters: ChannelSearchOpts): Channel[];