android: add room schema and chat list domain models
This commit is contained in:
@@ -24,3 +24,9 @@
|
||||
### Step 4 - Unit tests
|
||||
- Added `DataStoreTokenRepositoryTest` for token save/read and clear behavior.
|
||||
- Added `NetworkAuthRepositoryTest` for login success path and 401 -> `InvalidCredentials` error mapping.
|
||||
|
||||
### Step 5 - Chat Room models and persistence core
|
||||
- Added domain chat model (`ChatItem`) for chat list rendering concerns.
|
||||
- Added Room entities: `chats`, `users_short` with sort-friendly indices.
|
||||
- Added `ChatDao` with `observeChats()`, `upsertChats()`, and transactional `clearAndReplaceChats()`.
|
||||
- Added `MessengerDatabase` and Hilt database wiring (`DatabaseModule`).
|
||||
|
||||
Reference in New Issue
Block a user