commonMain.ssm.couchdb.dsl.model.DatabaseChanges.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssm-couchdb-dsl Show documentation
Show all versions of ssm-couchdb-dsl Show documentation
Aggregate all ssm data source to optimize request
The newest version!
package ssm.couchdb.dsl.model
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
typealias ChangeEventId = String
/**
* Information about a couchdb database.
* TODO Use SHOUlD NOT BE H2 BU H3
* @d2 query
* @title Database
* @parent [ssm.couchdb.dsl.CouchdbSsmD2Model]
*/
@JsExport
@JsName("DatabaseChangesDTO")
interface DatabaseChangesDTO {
val changeEventId: ChangeEventId
val docType: DocType<*>?
val objectId: String
}
@JsExport
@JsName("DatabaseChanges")
class DatabaseChanges(
override val changeEventId: ChangeEventId,
override val docType: DocType<*>?,
override val objectId: String
) : DatabaseChangesDTO