import { IUser } from '../users';
import { RoomType } from './RoomType';

export interface IRoom {
    id: string;
    displayName: string;
    slugifiedName?: string;
    type: RoomType;
    creator: IUser;
    usernames: Array<string>;
    isDefault?: boolean;
    isReadOnly?: boolean;
    displaySystemMessages?: boolean;
    messageCount?: number;
    createdAt?: Date;
    updatedAt?: Date;
    lastModifiedAt?: Date;
    customFields?: { [key: string]: object };
}

import { IUser } from '../users';
import { RoomType } from './RoomType';

export interface IRoom {
    id: string;
    name: string;
    type: RoomType;
    creator: IUser;
    usernames: Array<string>;
    isDefault?: boolean;
    messageCount?: number;
    createdAt?: Date;
    updatedAt?: Date;
    lastModifiedAt?: Date;
}

--- 
+++ 
@@ -3,13 +3,17 @@
 
 export interface IRoom {
     id: string;
-    name: string;
+    displayName: string;
+    slugifiedName?: string;
     type: RoomType;
     creator: IUser;
     usernames: Array<string>;
     isDefault?: boolean;
+    isReadOnly?: boolean;
+    displaySystemMessages?: boolean;
     messageCount?: number;
     createdAt?: Date;
     updatedAt?: Date;
     lastModifiedAt?: Date;
+    customFields?: { [key: string]: object };
 }
Add some properties to the room interface
