mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 11:21:32 +00:00
Dessalines
32b5411abd
- Separating the profile fetch from its combined content fetch. - Starting to separate saved_only into its own combined view.
41 lines
1,011 B
Rust
41 lines
1,011 B
Rust
#[cfg(test)]
|
|
extern crate serial_test;
|
|
|
|
#[cfg(feature = "full")]
|
|
pub mod comment_report_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod comment_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod custom_emoji_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod local_image_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod local_user_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod person_content_combined_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod person_saved_combined_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod post_report_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod post_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod private_message_report_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod private_message_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod registration_application_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod report_combined_view;
|
|
#[cfg(feature = "full")]
|
|
pub mod site_view;
|
|
pub mod structs;
|
|
#[cfg(feature = "full")]
|
|
pub mod vote_view;
|
|
|
|
pub trait InternalToCombinedView {
|
|
type CombinedView;
|
|
|
|
/// Maps the combined DB row to an enum
|
|
fn map_to_enum(&self) -> Option<Self::CombinedView>;
|
|
}
|