From a8972b09b89625ebd1fa9bf4fcb27506fc06465e Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 6 May 2024 08:51:36 -0400 Subject: [PATCH] Dont export remote_image table to typescript. --- crates/db_schema/src/source/images.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/db_schema/src/source/images.rs b/crates/db_schema/src/source/images.rs index aa57b9494..8ef1c180a 100644 --- a/crates/db_schema/src/source/images.rs +++ b/crates/db_schema/src/source/images.rs @@ -43,8 +43,7 @@ pub struct LocalImageForm { /// is checked against this table to avoid Lemmy being used as a general purpose proxy. #[skip_serializing_none] #[derive(Clone, PartialEq, Eq, Debug, Serialize, Deserialize)] -#[cfg_attr(feature = "full", derive(Queryable, Selectable, Identifiable, TS))] -#[cfg_attr(feature = "full", ts(export))] +#[cfg_attr(feature = "full", derive(Queryable, Selectable, Identifiable))] #[cfg_attr(feature = "full", diesel(table_name = remote_image))] #[cfg_attr(feature = "full", diesel(check_for_backend(diesel::pg::Pg)))] #[cfg_attr(feature = "full", diesel(primary_key(link)))]