import type { IMessage, IMessageRaw } from '@rocket.chat/apps-engine/definition/messages'; import type { IRoom } from '@rocket.chat/apps-engine/definition/rooms'; import type { IRoomRaw } from '@rocket.chat/apps-engine/definition/rooms/IRoomRaw'; import type { IUser } from '@rocket.chat/apps-engine/definition/users'; import { RoomBridge } from '../../../src/server/bridges'; import type { GetMessagesOptions, GetRoomsOptions, GetRoomsFilters } from '../../../src/server/bridges/RoomBridge'; export class TestsRoomBridge extends RoomBridge { public create(room: IRoom, members: Array, appId: string): Promise { throw new Error('Method not implemented.'); } public getById(roomId: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getCreatorById(roomId: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getByName(roomName: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getCreatorByName(roomName: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getDirectByUsernames(username: Array, appId: string): Promise { throw new Error('Method not implemented'); } public getMembers(roomName: string, appId: string): Promise> { throw new Error('Method not implemented.'); } public getAllRooms(filter: GetRoomsFilters, options: GetRoomsOptions, appId: string): Promise { throw new Error('Method not implemented.'); } public getMessages(roomId: string, options: GetMessagesOptions, appId: string): Promise { throw new Error('Method not implemented.'); } public update(room: IRoom, members: Array, appId: string): Promise { throw new Error('Method not implemented.'); } public createDiscussion(room: IRoom, parentMessage: IMessage, reply: string, members: Array, appId: string): Promise { throw new Error('Method not implemented.'); } public delete(roomId: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getLeaders(roomId: string, appId: string): Promise> { throw new Error('Method not implemented.'); } public getModerators(roomId: string, appId: string): Promise> { throw new Error('Method not implemented.'); } public getOwners(roomId: string, appId: string): Promise> { throw new Error('Method not implemented.'); } public removeUsers(roomId: string, usernames: string[], appId: string): Promise { throw new Error('Method not implemented'); } public getUnreadByUser(roomId: string, uid: string, options: GetMessagesOptions, appId: string): Promise { throw new Error('Method not implemented.'); } protected getUserUnreadMessageCount(roomId: string, uid: string, appId: string): Promise { throw new Error('Method not implemented.'); } }