import type { IUser, UserType } from '@rocket.chat/apps-engine/definition/users'; import { UserBridge } from '../../../src/server/bridges'; export class TestsUserBridge extends UserBridge { public getById(id: string, appId: string): Promise { throw new Error('Method not implemented.'); } public getByUsername(username: string, appId: string): Promise { throw new Error('Method not implemented.'); } public create(user: Partial): Promise { throw new Error('Method not implemented'); } public getActiveUserCount(): Promise { throw new Error('Method not implemented.'); } public remove(user: IUser, appId: string): Promise { throw new Error('Method not implemented.'); } public getAppUser(appId?: string): Promise { throw new Error('Method not implemented.'); } public async update(user: IUser, updates: Partial, appId: string): Promise { throw new Error('Method not implemented'); } public async deleteUsersCreatedByApp(appId: string, type: UserType.BOT): Promise { throw new Error('Method not implemented'); } protected getUserUnreadMessageCount(uid: string, appId: string): Promise { throw new Error('Method not implemented.'); } protected getUserRoomIds(userId: string, appId: string): Promise { throw new Error('Method not implemented.'); } protected deactivate(userId: IUser['id'], confirmRelinquish: boolean, appId: string): Promise { throw new Error('Method not implemented.'); } protected setActiveState( userId: IUser['id'], state: Pick, appId: string, ): Promise { throw new Error('Method not implemented.'); } protected endActiveState(userId: IUser['id'], appId: string, statusId?: string): Promise { throw new Error('Method not implemented.'); } }