ChangeEvent

interface ChangeEvent : Mappable

Event wrapper emitted by editors bundling applied changelogs and the document. Implements Mappable for serialization.

Properties

Link copied to clipboard
abstract val changelogs: List<ChangeLog>

Ordered list of atomic changes that occurred.

Link copied to clipboard
abstract val document: Document

Snapshot document reference the changes apply to.

Functions

Link copied to clipboard
open operator fun component1(): List<ChangeLog>
Link copied to clipboard
open operator fun component2(): Document
Link copied to clipboard
abstract fun toJsonObject(): JsonObject
Link copied to clipboard
abstract fun toJsonString(): String
Link copied to clipboard
abstract fun toMap(): MutableMap<String, Any?>