use schemars::JsonSchema;
use serde::Deserialize;
#[derive(Debug, Deserialize, JsonSchema)]
pub struct VerifyStateParams {
pub frontend_expr: String,
pub backend_state: Option<serde_json::Value>,
pub backend_command: Option<String>,
pub backend_args: Option<serde_json::Value>,
pub webview_label: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct GhostCommandParams {
pub webview_label: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct IpcIntegrityParams {
pub stale_threshold_ms: Option<i64>,
pub webview_label: Option<String>,
}