android: add message room schema and core domain models
Some checks failed
CI / test (push) Failing after 2m6s

This commit is contained in:
Codex
2026-03-08 23:03:34 +03:00
parent 4939754de8
commit 5ad89fc05b
7 changed files with 169 additions and 1 deletions

View File

@@ -64,3 +64,10 @@
- Fixed Hilt dependency cycle by separating refresh `AuthApiService` with a dedicated qualifier.
- Added `CoroutineDispatcher` DI provider and qualifier for repositories.
- Fixed Material3 experimental API opt-in and removed deprecated `StateFlow.distinctUntilChanged()` usage.
### Step 11 - Sprint A / 1) Message Room + models
- Added message domain model (`MessageItem`) for chat screen rendering.
- Added Room entities `messages` and `message_attachments` with chat-history indexes.
- Added `MessageDao` with observe/pagination/upsert/delete APIs.
- Updated `MessengerDatabase` schema to include message tables and DAO.
- Added Hilt DI provider for `MessageDao`.