diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs index 52520811..e18197fb 100644 --- a/pbs-api-types/src/jobs.rs +++ b/pbs-api-types/src/jobs.rs @@ -660,6 +660,9 @@ impl SyncJobConfig { status: { type: JobScheduleStatus, }, + direction: { + type: SyncDirection, + }, }, )] #[derive(Serialize, Deserialize, Clone, PartialEq)] @@ -670,6 +673,9 @@ pub struct SyncJobStatus { pub config: SyncJobConfig, #[serde(flatten)] pub status: JobScheduleStatus, + + /// The direction of the job + pub direction: SyncDirection, } /// These are used separately without `ns`/`max-depth` sometimes in the API, specifically in the API