UNPKG

mattermost-redux

Version:

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

96 lines (95 loc) 2.94 kB
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; AUTO_TRANSLATION_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; BURN_ON_READ: 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; AUTO_TRANSLATION_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; BURN_ON_READ: PostType; }; MESSAGE_TYPES: { POST: string; COMMENT: string; }; MAX_PREV_MSGS: number; POST_COLLAPSE_TIMEOUT: number; IGNORE_POST_TYPES: PostType[]; USER_ACTIVITY_POST_TYPES: PostType[]; BURN_ON_READ: { DURATION_1_MINUTE: number; DURATION_5_MINUTES: number; DURATION_10_MINUTES: number; DURATION_30_MINUTES: number; DURATION_1_HOUR: number; DURATION_8_HOURS: number; DURATION_DEFAULT: number; MAX_TTL_2_MINUTES: number; MAX_TTL_5_MINUTES: number; MAX_TTL_1_DAY: number; MAX_TTL_3_DAYS: number; MAX_TTL_7_DAYS: number; MAX_TTL_14_DAYS: number; MAX_TTL_30_DAYS: number; MAX_TTL_DEFAULT: number; }; }; export default _default;