Updating changes from main before a 0.19.4 release. (#275)

This commit is contained in:
Dessalines 2024-06-06 17:39:32 -04:00 committed by GitHub
parent fc2211cfc1
commit f0329b6d86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -89,8 +89,6 @@ export type LemmyErrorType =
| { error: "person_is_banned_from_site"; message: string }
| { error: "invalid_vote_value" }
| { error: "page_does_not_specify_creator" }
| { error: "page_does_not_specify_group" }
| { error: "no_community_found_in_cc" }
| { error: "no_email_setup" }
| { error: "local_site_not_setup" }
| { error: "email_smtp_server_needs_a_port" }
@ -153,7 +151,6 @@ export type LemmyErrorType =
| { error: "permissive_regex" }
| { error: "invalid_regex" }
| { error: "captcha_incorrect" }
| { error: "password_reset_limit_reached" }
| { error: "couldnt_create_audio_captcha" }
| { error: "invalid_url_scheme" }
| { error: "couldnt_send_webmention" }
@ -165,4 +162,6 @@ export type LemmyErrorType =
| { error: "invalid_unix_time" }
| { error: "invalid_bot_action" }
| { error: "cant_block_local_instance" }
| { error: "url_without_domain" }
| { error: "inbox_timeout" }
| { error: "unknown"; message: string };

View file

@ -4,7 +4,7 @@ export interface Register {
username: string;
password: string;
password_verify: string;
show_nsfw: boolean;
show_nsfw?: boolean;
email?: string;
captcha_uuid?: string;
captcha_answer?: string;