mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
75 lines (74 loc) • 2.27 kB
TypeScript
import type { PostType } from '@mattermost/types/posts';
export declare const PostTypes: {
CHANNEL_DELETED: PostType;
CHANNEL_UNARCHIVED: PostType;
DISPLAYNAME_CHANGE: PostType;
CONVERT_CHANNEL: PostType;
EPHEMERAL: PostType;
EPHEMERAL_ADD_TO_CHANNEL: PostType;
HEADER_CHANGE: PostType;
PURPOSE_CHANGE: PostType;
JOIN_LEAVE: PostType;
JOIN_CHANNEL: PostType;
GUEST_JOIN_CHANNEL: PostType;
LEAVE_CHANNEL: PostType;
JOIN_LEAVE_CHANNEL: PostType;
ADD_REMOVE: PostType;
ADD_TO_CHANNEL: PostType;
ADD_GUEST_TO_CHANNEL: PostType;
REMOVE_FROM_CHANNEL: PostType;
JOIN_TEAM: PostType;
LEAVE_TEAM: PostType;
ADD_TO_TEAM: PostType;
REMOVE_FROM_TEAM: PostType;
COMBINED_USER_ACTIVITY: PostType;
ME: PostType;
ADD_BOT_TEAMS_CHANNELS: PostType;
REMINDER: PostType;
WRANGLER: PostType;
GM_CONVERTED_TO_CHANNEL: PostType;
};
declare const _default: {
POST_CHUNK_SIZE: number;
POST_DELETED: string;
SYSTEM_MESSAGE_PREFIX: string;
SYSTEM_AUTO_RESPONDER: string;
POST_TYPES: {
CHANNEL_DELETED: PostType;
CHANNEL_UNARCHIVED: PostType;
DISPLAYNAME_CHANGE: PostType;
CONVERT_CHANNEL: PostType;
EPHEMERAL: PostType;
EPHEMERAL_ADD_TO_CHANNEL: PostType;
HEADER_CHANGE: PostType;
PURPOSE_CHANGE: PostType;
JOIN_LEAVE: PostType;
JOIN_CHANNEL: PostType;
GUEST_JOIN_CHANNEL: PostType;
LEAVE_CHANNEL: PostType;
JOIN_LEAVE_CHANNEL: PostType;
ADD_REMOVE: PostType;
ADD_TO_CHANNEL: PostType;
ADD_GUEST_TO_CHANNEL: PostType;
REMOVE_FROM_CHANNEL: PostType;
JOIN_TEAM: PostType;
LEAVE_TEAM: PostType;
ADD_TO_TEAM: PostType;
REMOVE_FROM_TEAM: PostType;
COMBINED_USER_ACTIVITY: PostType;
ME: PostType;
ADD_BOT_TEAMS_CHANNELS: PostType;
REMINDER: PostType;
WRANGLER: PostType;
GM_CONVERTED_TO_CHANNEL: PostType;
};
MESSAGE_TYPES: {
POST: string;
COMMENT: string;
};
MAX_PREV_MSGS: number;
POST_COLLAPSE_TIMEOUT: number;
IGNORE_POST_TYPES: PostType[];
USER_ACTIVITY_POST_TYPES: PostType[];
};
export default _default;