From f10a820312a67b92e6e3246403ca75ebaa3e59a6 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 6 Jun 2024 17:22:40 -0400 Subject: [PATCH] Updating changes from main before a 0.19.4 release. --- 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 ef203a29..16cc6653 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 cdf3ac92..eeba623e 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;