mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
10 lines (9 loc) • 1.23 kB
TypeScript
import type { GlobalState } from '@mattermost/types/store';
import type { ContentFlaggingChannelRequestIdentifier, ContentFlaggingTeamRequestIdentifier } from 'mattermost-redux/actions/content_flagging';
export declare const contentFlaggingFeatureEnabled: (state: GlobalState) => boolean;
export declare const contentFlaggingConfig: (state: GlobalState) => import("@mattermost/types/content_flagging").ContentFlaggingConfig | undefined;
export declare const contentFlaggingFields: (state: GlobalState) => import("@mattermost/types/properties").NameMappedPropertyFields | undefined;
export declare const postContentFlaggingValues: (state: GlobalState, postId: string) => import("@mattermost/types/properties").PropertyValue<unknown>[];
export declare const getFlaggedPost: (state: GlobalState, flaggedPostId: string) => import("@mattermost/types/posts").Post | undefined;
export declare const getContentFlaggingChannel: (state: GlobalState, { channelId }: ContentFlaggingChannelRequestIdentifier) => import("@mattermost/types/channels").Channel | undefined;
export declare const getContentFlaggingTeam: (state: GlobalState, { teamId }: ContentFlaggingTeamRequestIdentifier) => import("@mattermost/types/teams").Team | undefined;