All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.s2.sample.did.domain.features.DidRevokePublicKeyFunction.kt Maven / Gradle / Ivy

package s2.sample.did.domain.features

import f2.dsl.fnc.F2Function
import kotlin.js.JsExport
import kotlin.js.JsName
import kotlinx.serialization.Serializable
import s2.sample.did.domain.DidCommand
import s2.sample.did.domain.DidEvent
import s2.sample.did.domain.DidId
import s2.sample.did.domain.DidState

typealias DidRevokePublicKeyCommandFunction = F2Function

@Serializable
@JsExport
@JsName("DidRevokePublicKeyCommand")
class DidRevokePublicKeyCommand(
	override val id: DidId,
) : DidCommand

@Serializable
@JsExport
@JsName("DidRevokedPublicKeyFncEvent")
class DidRevokedPublicKeyEvent(
	override val type: DidState,
	override val id: DidId,
) : DidEvent




© 2015 - 2024 Weber Informatics LLC | Privacy Policy