X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_views%2Fsrc%2Fstructs.rs;h=1e4fe70ae8450653d373a41558ec03afe1bd5c74;hb=235cc8b22897bfb3e71ba3dbd725d36863fea8ba;hp=5b068d9aed24efbcb1f20062a0a4b5d611bc4d94;hpb=276a8c2bd3e4fd1323e66b808675cf14cf6f75c5;p=lemmy.git diff --git a/crates/db_views/src/structs.rs b/crates/db_views/src/structs.rs index 5b068d9a..1e4fe70a 100644 --- a/crates/db_views/src/structs.rs +++ b/crates/db_views/src/structs.rs @@ -5,6 +5,8 @@ use lemmy_db_schema::{ comment_report::CommentReport, community::CommunitySafe, language::Language, + local_site::LocalSite, + local_site_rate_limit::LocalSiteRateLimit, local_user::{LocalUser, LocalUserSettings}, person::{Person, PersonSafe}, post::Post, @@ -115,6 +117,8 @@ pub struct RegistrationApplicationView { #[derive(Debug, Serialize, Deserialize, Clone)] pub struct SiteView { pub site: Site, + pub local_site: LocalSite, + pub local_site_rate_limit: LocalSiteRateLimit, pub counts: SiteAggregates, }