From b58fbb51e0ea89a9b22cd73e50944193a38c4d32 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 9 Oct 2023 12:42:35 -0400 Subject: [PATCH] Regenerating types from main. (#197) --- src/index.ts | 8 +++++++- src/types/LocalUser.ts | 1 - src/types/SuccessResponse.ts | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 src/types/SuccessResponse.ts diff --git a/src/index.ts b/src/index.ts index 05f9aea..7eb142b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -235,10 +235,16 @@ export { SiteResponse } from "./types/SiteResponse"; export { SiteView } from "./types/SiteView"; export { SortType } from "./types/SortType"; export { SubscribedType } from "./types/SubscribedType"; +export { SuccessResponse } from "./types/SuccessResponse"; export { Tagline } from "./types/Tagline"; export { TransferCommunity } from "./types/TransferCommunity"; export { UpdateTotp } from "./types/UpdateTotp"; export { UpdateTotpResponse } from "./types/UpdateTotpResponse"; export { VerifyEmail } from "./types/VerifyEmail"; export { VerifyEmailResponse } from "./types/VerifyEmailResponse"; -export { UploadImage, UploadImageResponse, ImageFile } from "./types/others"; +export { + UploadImage, + UploadImageResponse, + ImageFile, + DeleteImage, +} from "./types/others"; diff --git a/src/types/LocalUser.ts b/src/types/LocalUser.ts index 63daf21..a9321e9 100644 --- a/src/types/LocalUser.ts +++ b/src/types/LocalUser.ts @@ -16,7 +16,6 @@ export interface LocalUser { interface_language: string; show_avatars: boolean; send_notifications_to_email: boolean; - validator_time: string; show_scores: boolean; show_bot_accounts: boolean; show_read_posts: boolean; diff --git a/src/types/SuccessResponse.ts b/src/types/SuccessResponse.ts new file mode 100644 index 0000000..7e6bd26 --- /dev/null +++ b/src/types/SuccessResponse.ts @@ -0,0 +1,5 @@ +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export interface SuccessResponse { + success: boolean; +}