Package dev.petuska.klip.core.domain

Types

Link copied to clipboard
actual typealias Contextual = Contextual
expect annotation class Contextual
actual typealias Contextual = Contextual
actual annotation class Contextual
Link copied to clipboard
data class Klip<T>(    val type: KType,     val data: T,     val attributes: Map<String, String>)
Link copied to clipboard
typealias Klips = Map<String, Klip<*>>
Link copied to clipboard
typealias MutableKlips = MutableMap<String, Klip<*>>
Link copied to clipboard
actual typealias Serializable = Serializable
expect annotation class Serializable
actual typealias Serializable = Serializable
actual annotation class Serializable
Link copied to clipboard
actual typealias Transient = Transient
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
expect annotation class Transient
actual typealias Transient = Transient
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
actual annotation class Transient

Functions

Link copied to clipboard
inline fun <T> Klip(data: T, attributes: Map<String, String> = mapOf()): Klip<T>