X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi_common%2Fsrc%2Fperson.rs;h=031bc6c7e88cba34f6ceb1b07cab686857ce0466;hb=9b5e765364ecf7de64c9cbc7a452ccfaabce5449;hp=263fd584ceaa9f4a956747a51b4bfa7b7442aaec;hpb=32a5567cbffbc540e19dca61d370b9d078e37d30;p=lemmy.git diff --git a/crates/api_common/src/person.rs b/crates/api_common/src/person.rs index 263fd584..031bc6c7 100644 --- a/crates/api_common/src/person.rs +++ b/crates/api_common/src/person.rs @@ -75,9 +75,9 @@ pub struct GetCaptchaResponse { #[cfg_attr(feature = "full", ts(export))] /// A captcha response. pub struct CaptchaResponse { - /// A Base64 encoded png + /// A Base64 encoded png pub png: String, - /// A Base64 encoded wav audio + /// A Base64 encoded wav audio pub wav: String, /// The UUID for the captcha item. pub uuid: String, @@ -109,7 +109,7 @@ pub struct SaveUserSettings { pub email: Option>, /// Your bio / info, in markdown. pub bio: Option, - /// Your matrix user id. Ex: @my_user:matrix.org + /// Your matrix user id. Ex: @my_user:matrix.org pub matrix_user_id: Option, /// Whether to show or hide avatars. pub show_avatars: Option, @@ -131,6 +131,10 @@ pub struct SaveUserSettings { /// None leaves it as is, true will generate or regenerate it, false clears it out. pub generate_totp_2fa: Option, pub auth: Sensitive, + /// Open links in a new tab + pub open_links_in_new_tab: Option, + /// Enable infinite scroll + pub infinite_scroll_enabled: Option, } #[derive(Debug, Serialize, Deserialize, Clone, Default)]