feat: Get the health checks for the js

This commit is contained in:
J H
2024-03-07 11:38:59 -07:00
parent 14be2fa344
commit efbbaa5741
10 changed files with 159 additions and 80 deletions

View File

@@ -22,3 +22,13 @@ impl std::fmt::Display for HealthCheckResult {
}
}
}
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub enum HealthCheckString {
Passing,
Disabled,
Starting,
Warning,
Failure,
}