From 8f02db04f962d2ba4917460fcacfdd8bead66332 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 11 Feb 2021 11:51:22 +0100 Subject: [PATCH] docs: use new type_text option for calendar events --- src/api2/types/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api2/types/mod.rs b/src/api2/types/mod.rs index 5611c54c..d9394586 100644 --- a/src/api2/types/mod.rs +++ b/src/api2/types/mod.rs @@ -367,21 +367,25 @@ pub const MEDIA_UUID_SCHEMA: Schema = pub const SYNC_SCHEDULE_SCHEMA: Schema = StringSchema::new( "Run sync job at specified schedule.") .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) + .type_text("") .schema(); pub const GC_SCHEDULE_SCHEMA: Schema = StringSchema::new( "Run garbage collection job at specified schedule.") .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) + .type_text("") .schema(); pub const PRUNE_SCHEDULE_SCHEMA: Schema = StringSchema::new( "Run prune job at specified schedule.") .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) + .type_text("") .schema(); pub const VERIFICATION_SCHEDULE_SCHEMA: Schema = StringSchema::new( "Run verify job at specified schedule.") .format(&ApiStringFormat::VerifyFn(crate::tools::systemd::time::verify_calendar_event)) + .type_text("") .schema(); pub const REMOTE_ID_SCHEMA: Schema = StringSchema::new("Remote ID.")