Rocket.Chat.ReactNative/app/views/RoomView/constants.ts

46 lines
703 B
TypeScript

import { TRoomUpdate, TStateAttrsUpdate } from './definitions';
export const stateAttrsUpdate = [
'joined',
'lastOpen',
'reactionsModalVisible',
'canAutoTranslate',
'loading',
'editing',
'readOnly',
'member',
'canForwardGuest',
'canReturnQueue',
'canViewCannedResponse'
] as TStateAttrsUpdate[];
export const roomAttrsUpdate = [
'f',
'ro',
'blocked',
'blocker',
'archived',
'tunread',
'muted',
'ignored',
'jitsiTimeout',
'announcement',
'sysMes',
'topic',
'name',
'fname',
'roles',
'bannerClosed',
'visitor',
'joinCodeRequired',
'teamMain',
'teamId',
'status',
'lastMessage',
'onHold',
't',
'autoTranslate',
'autoTranslateLanguage',
'unmuted'
] as TRoomUpdate[];