mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-23 10:25:56 +00:00
Fixing ts_option.
This commit is contained in:
parent
dd66ef57b8
commit
d9daa3546b
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ use ts_rs::TS;
|
|||
#[cfg_attr(feature = "full", ts(export))]
|
||||
/// Searches the site, given a search term, and some optional filters.
|
||||
pub struct Search {
|
||||
#[cfg_attr(feature = "full", ts(optional))]
|
||||
pub search_term: Option<String>,
|
||||
#[cfg_attr(feature = "full", ts(optional))]
|
||||
pub community_id: Option<CommunityId>,
|
||||
|
|
Loading…
Reference in a new issue