From 77b2d236b952bc50667be8c9f40b56e180951e07 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 20 Sep 2023 09:28:56 -0400 Subject: [PATCH] Forgot to add ts export to pagination cursor. (#3971) --- crates/db_views/src/structs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/db_views/src/structs.rs b/crates/db_views/src/structs.rs index dd0bba184..10847b053 100644 --- a/crates/db_views/src/structs.rs +++ b/crates/db_views/src/structs.rs @@ -94,6 +94,7 @@ pub struct PostReportView { /// (api users love to make assumptions (e.g. parse stuff that looks like numbers as numbers) about apis that aren't part of the spec #[derive(Serialize, Deserialize, Debug, Clone)] #[cfg_attr(feature = "full", derive(ts_rs::TS))] +#[cfg_attr(feature = "full", ts(export))] pub struct PaginationCursor(pub(crate) String); #[skip_serializing_none]