UNPKG

mattermost-redux

Version:

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

11 lines (10 loc) 783 B
import type { ContentFlaggingConfig } from '@mattermost/types/content_flagging'; import type { NameMappedPropertyFields, PropertyValue } from '@mattermost/types/properties'; import type { ActionFuncAsync } from 'mattermost-redux/types/actions'; export declare function getTeamContentFlaggingStatus(teamId: string): ActionFuncAsync<{ enabled: boolean; }>; export declare function getContentFlaggingConfig(teamId?: string): ActionFuncAsync<ContentFlaggingConfig>; export declare function getPostContentFlaggingFields(): ActionFuncAsync<NameMappedPropertyFields>; export declare function loadPostContentFlaggingFields(): ActionFuncAsync<NameMappedPropertyFields>; export declare function getPostContentFlaggingValues(postId: string): ActionFuncAsync<Array<PropertyValue<unknown>>>;