commonMain.com.copperleaf.ballast.debugger.versions.v1.BallastDebuggerActionV1.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ballast-debugger-server-jvm Show documentation
Show all versions of ballast-debugger-server-jvm Show documentation
Ktor websocket server for building Ballast Debugger UI
package com.copperleaf.ballast.debugger.versions.v1
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
private const val ACTION_MODEL_BASE_CLASS_NAME = "com.copperleaf.ballast.debugger.models.BallastDebuggerAction"
@Serializable
public sealed class BallastDebuggerActionV1 {
public abstract val connectionId: String
public abstract val viewModelName: String
@Serializable
@SerialName("$ACTION_MODEL_BASE_CLASS_NAME.RequestViewModelRefresh")
public data class RequestViewModelRefresh(
override val connectionId: String,
override val viewModelName: String,
) : BallastDebuggerActionV1()
@Serializable
@SerialName("$ACTION_MODEL_BASE_CLASS_NAME.RequestViewModelRefresh")
public data class RequestRestoreState(
override val connectionId: String,
override val viewModelName: String,
val stateUuid: String,
) : BallastDebuggerActionV1()
@Serializable
@SerialName("$ACTION_MODEL_BASE_CLASS_NAME.RequestViewModelRefresh")
public data class RequestResendInput(
override val connectionId: String,
override val viewModelName: String,
val inputUuid: String,
) : BallastDebuggerActionV1()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy