remove old methods

This commit is contained in:
Peter Maquiran
2024-06-10 17:04:04 +01:00
parent bf1457417d
commit 3dc6c0e249
6 changed files with 158 additions and 128 deletions
@@ -3,8 +3,6 @@ import { RoomListItemOutPutDTO, RoomListOutPutDTO } from '../../dto/room/roomLis
import { Dexie, EntityTable, liveQuery, Observable } from 'Dexie';
import { err, ok } from 'neverthrow';
import { z } from 'zod';
import { UserList } from '../../../contacts/data-source/contacts-data-source.service';
const tableSchema = z.object({
id: z.string(),
@@ -105,6 +103,7 @@ export class RoomLocalDataSourceService {
return await roomDataSource.room.toArray()
}
getItemsLive(): Observable<RoomListOutPutDTO[]> {
return liveQuery(() => roomDataSource.room.toArray()) as any;
}