import type { RocketChatAssociationRecord } from '@rocket.chat/apps-engine/definition/metadata'; import { PersistenceBridge } from '../../../src/server/bridges'; export class TestsPersisBridge extends PersistenceBridge { public purge(appId: string): Promise { throw new Error('Method not implemented.'); } public create(data: any, appId: string): Promise { throw new Error('Method not implemented.'); } public createWithAssociations(data: object, associations: Array, appId: string): Promise { throw new Error('Method not implemented.'); } public readById(id: string, appId: string): Promise { throw new Error('Method not implemented.'); } public readByAssociations(associations: Array, appId: string): Promise> { throw new Error('Method not implemented.'); } public remove(id: string, appId: string): Promise { throw new Error('Method not implemented.'); } public removeByAssociations(associations: Array, appId: string): Promise> { throw new Error('Method not implemented.'); } public update(id: string, data: object, upsert: boolean, appId: string): Promise { throw new Error('Method not implemented.'); } public updateByAssociations( associations: Array, data: object, upsert: boolean, appId: string, ): Promise { throw new Error('Method not implemented'); } }