The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/lib/rooms/adminFields.ts

31 lines
472 B

import type { IRoom } from '@rocket.chat/core-typings';
export const adminFields: Partial<Record<keyof IRoom, 1>> = {
_id: 1,
prid: 1,
fname: 1,
name: 1,
t: 1,
cl: 1,
u: 1,
usernames: 1,
usersCount: 1,
muted: 1,
unmuted: 1,
ro: 1,
reactWhenReadOnly: 1,
default: 1,
favorite: 1,
featured: 1,
topic: 1,
msgs: 1,
archived: 1,
teamId: 1,
teamMain: 1,
announcement: 1,
description: 1,
broadcast: 1,
uids: 1,
avatarETag: 1,
federated: 1,
} as const;