diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs index e4be03f0..7f029af7 100644 --- a/pbs-api-types/src/jobs.rs +++ b/pbs-api-types/src/jobs.rs @@ -128,6 +128,10 @@ pub enum Notify { type: Notify, optional: true, }, + prune: { + type: Notify, + optional: true, + }, }, )] #[derive(Debug, Serialize, Deserialize)] @@ -139,6 +143,8 @@ pub struct DatastoreNotify { pub verify: Option, /// Sync job setting pub sync: Option, + /// Prune job setting + pub prune: Option, } pub const DATASTORE_NOTIFY_STRING_SCHEMA: Schema =