-use crate::{
- schema::{comment, comment_alias_1, comment_like, comment_saved},
- source::post::Post,
- DbUrl,
-};
-use serde::Serialize;
+#[cfg(feature = "full")]
+use crate::newtypes::LtreeDef;
+use crate::newtypes::{CommentId, DbUrl, LanguageId, PersonId, PostId};
+#[cfg(feature = "full")]
+use crate::schema::{comment, comment_like, comment_saved};
+#[cfg(feature = "full")]
+use diesel_ltree::Ltree;
+use serde::{Deserialize, Serialize};
+use serde_with::skip_serializing_none;
+#[cfg(feature = "full")]
+use ts_rs::TS;
+use typed_builder::TypedBuilder;