diff --git a/pbs-api-types/src/jobs.rs b/pbs-api-types/src/jobs.rs index 5dbfe49c..d3739315 100644 --- a/pbs-api-types/src/jobs.rs +++ b/pbs-api-types/src/jobs.rs @@ -223,6 +223,15 @@ pub struct VerificationJobConfig { pub max_depth: Option, } +impl VerificationJobConfig { + pub fn store_with_ns(&self) -> DatastoreWithNamespace { + DatastoreWithNamespace { + store: self.store.clone(), + ns: self.ns.clone().unwrap_or_default(), + } + } +} + #[api( properties: { config: {