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

46 lines
703 B
TypeScript
Raw Normal View History

2024-01-25 14:11:07 +00:00
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[];