mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Formatting
This commit is contained in:
parent
682604f849
commit
66c4fed3d6
@ -4,7 +4,12 @@ use lemmy_db_schema::{
|
||||
CommunityVisibility,
|
||||
ListingType,
|
||||
};
|
||||
use lemmy_db_views_actor::structs::{CommunityModeratorView, CommunitySortType, CommunityView, PersonView};
|
||||
use lemmy_db_views_actor::structs::{
|
||||
CommunityModeratorView,
|
||||
CommunitySortType,
|
||||
CommunityView,
|
||||
PersonView,
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_with::skip_serializing_none;
|
||||
#[cfg(feature = "full")]
|
||||
|
@ -14,7 +14,8 @@ use lemmy_db_views::{
|
||||
};
|
||||
use lemmy_db_views_actor::{
|
||||
structs::CommunitySortType,
|
||||
community_view::CommunityQuery, person_view::PersonQuery,
|
||||
community_view::CommunityQuery,
|
||||
person_view::PersonQuery,
|
||||
};
|
||||
use lemmy_utils::error::LemmyResult;
|
||||
|
||||
|
@ -88,7 +88,6 @@ pub enum CommunitySortType {
|
||||
NameDesc,
|
||||
}
|
||||
|
||||
|
||||
#[skip_serializing_none]
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize, Clone)]
|
||||
#[cfg_attr(feature = "full", derive(TS, Queryable))]
|
||||
|
Loading…
Reference in New Issue
Block a user