X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi_common%2Fsrc%2Fperson.rs;fp=crates%2Fapi_common%2Fsrc%2Fperson.rs;h=6402096c9a0b94d16893fd69f167ef13f9914b2c;hb=d97129e7ae095ae39de2ce321eaaac2bfe1bdcb6;hp=53033a9205083b73ab285f0b4d5d79ae89436adb;hpb=f33f763278865d09149b78b1f796304e04cf6de4;p=lemmy.git diff --git a/crates/api_common/src/person.rs b/crates/api_common/src/person.rs index 53033a92..6402096c 100644 --- a/crates/api_common/src/person.rs +++ b/crates/api_common/src/person.rs @@ -39,25 +39,29 @@ pub struct GetCaptchaResponse { #[derive(Serialize)] pub struct CaptchaResponse { - pub png: String, // A Base64 encoded png - pub wav: Option, // A Base64 encoded wav audio + pub png: String, // A Base64 encoded png + pub wav: String, // A Base64 encoded wav audio pub uuid: String, } #[derive(Deserialize)] pub struct SaveUserSettings { pub show_nsfw: Option, + pub show_scores: Option, pub theme: Option, pub default_sort_type: Option, pub default_listing_type: Option, pub lang: Option, pub avatar: Option, pub banner: Option, - pub preferred_username: Option, + pub display_name: Option, pub email: Option, pub bio: Option, pub matrix_user_id: Option, pub show_avatars: Option, + pub new_password: Option, + pub new_password_verify: Option, + pub old_password: Option, pub send_notifications_to_email: Option, pub auth: String, }