Package-level declarations

Types

Link copied to clipboard
data class ChangeLogEntry(val conversationId: QualifiedIDEntity, val messageId: String?, val eventType: ChangeLogEventType, val timestampMs: Long, val messageTimestampMs: Long)

Represents a single entry in the remote backup change log.

Link copied to clipboard

Combined event types for the remote backup change log. Code ranges indicate level:

Link copied to clipboard
data class ChangeLogSyncBatch(val events: List<ChangeLogSyncEvent>, val conversationLastReads: List<ConversationLastReadSyncEntity>)
Link copied to clipboard
sealed interface ChangeLogSyncEvent

A remote-backup changelog event enriched with the data needed for proto encoding. Each event type exposes only its relevant payload.

Link copied to clipboard
data class ConversationLastReadSyncEntity(val conversationId: QualifiedIDEntity, val lastReadDate: <Error class: unknown class>)
Link copied to clipboard
Link copied to clipboard
internal class NomadMessagesDAOImpl(usersQueries: UsersQueries, conversationsQueries: ConversationsQueries, messagesQueries: MessagesQueries, messageAttachmentsQueries: MessageAttachmentsQueries, writeDispatcher: WriteDispatcher) : NomadMessagesDAO
Link copied to clipboard
data class NomadMessageStoreResult(val storedMessages: Int, val batches: Int)
Link copied to clipboard
data class NomadMessageToInsert(val id: String, val conversationId: QualifiedIDEntity, val date: <Error class: unknown class>, val payload: SyncableMessagePayloadEntity)
Link copied to clipboard

Data Access Object for tracking changes that need to be synced to remote backup. This changelog tracks WHAT changed, not the data itself. Actual data is fetched from existing DB tables when syncing.

Link copied to clipboard
internal class RemoteBackupChangeLogDAOImpl(queries: RemotebackupChangeLogQueries, readDispatcher: ReadDispatcher, writeDispatcher: WriteDispatcher, mapper: RemoteBackupChangeLogMapper = RemoteBackupChangeLogMapper) : RemoteBackupChangeLogDAO
Link copied to clipboard
Link copied to clipboard

Minimal message payload needed for nomad-device proto encoding. This is intentionally smaller than MessageDetailsView and avoids UI-specific joins.