]> Untitled Git - lemmy.git/blobdiff - crates/db_schema/src/lib.rs
Feature add three six and nine months options backend (#3226)
[lemmy.git] / crates / db_schema / src / lib.rs
index 4ab26981bc18d3b8a72a8f85b222506641955698..acb069ca7d3711a585b647f32f84c8de46bc37e1 100644 (file)
@@ -26,6 +26,7 @@ pub mod impls;
 pub mod newtypes;
 #[cfg(feature = "full")]
 #[rustfmt::skip]
+#[allow(clippy::wildcard_imports)]
 pub mod schema;
 pub mod source;
 #[cfg(feature = "full")]
@@ -62,6 +63,9 @@ pub enum SortType {
   TopHour,
   TopSixHour,
   TopTwelveHour,
+  TopThreeMonths,
+  TopSixMonths,
+  TopNineMonths,
 }
 
 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy)]