Remove Epiphany job backend kind

This commit is contained in:
Meta Vens 2026-05-12 05:30:18 +01:00
commit b9ad3cdac7
24 changed files with 13 additions and 447 deletions

View file

@ -3356,13 +3356,6 @@ pub enum EpiphanyJobKind {
Specialist,
}
#[derive(Serialize, Deserialize, Clone, Copy, Debug, PartialEq, Eq, JsonSchema, TS)]
#[serde(rename_all = "snake_case")]
#[ts(rename_all = "snake_case")]
pub enum EpiphanyJobBackendKind {
Heartbeat,
}
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema, TS)]
pub struct EpiphanyJobBinding {
pub id: String,
@ -3376,9 +3369,6 @@ pub struct EpiphanyJobBinding {
#[ts(type = "string | null")]
pub authority_scope: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(type = "EpiphanyJobBackendKind | null")]
pub backend_kind: Option<EpiphanyJobBackendKind>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[ts(type = "string | null")]
pub backend_job_id: Option<String>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]