merge: per-preset resume_command (#165)

Closes #165
This commit is contained in:
Miguel Palhas
2026-09-04 08:43:11 +01:00
5 changed files with 52 additions and 0 deletions
+3
View File
@@ -529,8 +529,11 @@ impl ApiError {
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct SpawnPreset {
pub id: String,
#[serde(default)]
pub label: String,
pub command: String,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub resume_command: Option<String>,
}
/// Build provenance of the running daemon: the commit it was compiled