Note Change Event
Sealed class representing different types of note change events that can be received via database observation and delta sync.
Inheritors
Types
Link copied to clipboard
data class NotesUpdated(val updatedNotes: List<ZyncNote>, val deletedNoteUids: List<String>) : NoteChangeEvent, ChangeEvent<ZyncNote, String>
Event triggered when notes are updated via database observation. Contains a list of notes that were found during background sync. Clients should decide whether each note is new or updated based on their local state.
Link copied to clipboard
data class NoteUploadStatusChanged(val noteUid: String, val uploadStatus: ZyncUploadStatus) : NoteChangeEvent
Event triggered when a note's upload status changes. Contains the complete upload information including status, progress, and error details. Clients can check pendingUpload.status to determine the current state.