From f0329b6d86113e1e8e293f900a4218db886fe8bd Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 6 Jun 2024 17:39:32 -0400 Subject: [PATCH] Updating changes from main before a 0.19.4 release. (#275) --- src/types/LemmyErrorType.ts | 5 ++--- src/types/Register.ts | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/types/LemmyErrorType.ts b/src/types/LemmyErrorType.ts index ef203a2..16cc665 100644 --- a/src/types/LemmyErrorType.ts +++ b/src/types/LemmyErrorType.ts @@ -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 }; diff --git a/src/types/Register.ts b/src/types/Register.ts index cdf3ac9..eeba623 100644 --- a/src/types/Register.ts +++ b/src/types/Register.ts @@ -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;