use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeleteContextBody {
pub id: String,
#[serde(default)]
pub force: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeleteContextResultBody {
pub id: String,
pub deleted: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeleteContextPreviewBody {
pub id: String,
}
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct DeleteContextPreviewResultBody {
pub id: String,
pub keys: Vec<String>,
pub webvh_dids: Vec<String>,
pub acl_entries_removed: Vec<String>,
pub acl_entries_updated: Vec<String>,
#[serde(default)]
pub did_templates: Vec<String>,
}