diff --git a/crates/db_schema/src/source/community.rs b/crates/db_schema/src/source/community.rs index c00a065a6..5da772be3 100644 --- a/crates/db_schema/src/source/community.rs +++ b/crates/db_schema/src/source/community.rs @@ -46,8 +46,10 @@ pub struct Community { pub icon: Option, /// A URL for a banner. pub banner: Option, + #[cfg_attr(feature = "full", ts(skip))] #[serde(skip, default = "placeholder_apub_url")] pub followers_url: DbUrl, + #[cfg_attr(feature = "full", ts(skip))] #[serde(skip, default = "placeholder_apub_url")] pub inbox_url: DbUrl, #[serde(skip)] diff --git a/crates/db_schema/src/source/person.rs b/crates/db_schema/src/source/person.rs index 339ce5adf..82772fefa 100644 --- a/crates/db_schema/src/source/person.rs +++ b/crates/db_schema/src/source/person.rs @@ -44,6 +44,7 @@ pub struct Person { pub banner: Option, /// Whether the person is deleted. pub deleted: bool, + #[cfg_attr(feature = "full", ts(skip))] #[serde(skip, default = "placeholder_apub_url")] pub inbox_url: DbUrl, #[serde(skip)]