| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PersonId } from "./PersonId"; | |
| export interface AddAdmin { | ||
| person_id: PersonId; | ||
| added: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,5 +6,4 @@ export interface AddModToCommunity { | |
| community_id: CommunityId; | ||
| person_id: PersonId; | ||
| added: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ export interface ApproveRegistrationApplication { | |
| id: number; | ||
| approve: boolean; | ||
| deny_reason?: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { InstanceId } from "./InstanceId"; | ||
|
|
||
| export interface BlockInstance { | ||
| instance_id: InstanceId; | ||
| block: boolean; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface BlockInstanceResponse { | ||
| blocked: boolean; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PersonId } from "./PersonId"; | |
| export interface BlockPerson { | ||
| person_id: PersonId; | ||
| block: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ export interface ChangePassword { | |
| new_password: string; | ||
| new_password_verify: string; | ||
| old_password: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type CommentSortType = "Hot" | "Top" | "New" | "Old" | "Controversial"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,6 +8,4 @@ export interface CreateComment { | |
| post_id: PostId; | ||
| parent_id?: CommentId; | ||
| language_id?: LanguageId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,5 +6,4 @@ export interface CreateCustomEmoji { | |
| image_url: string; | ||
| alt_text: string; | ||
| keywords: Array<string>; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,5 +10,4 @@ export interface CreatePost { | |
| honeypot?: string; | ||
| nsfw?: boolean; | ||
| language_id?: LanguageId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface CreatePostLike { | ||
| post_id: PostId; | ||
| score: number; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface CreatePostReport { | ||
| post_id: PostId; | ||
| reason: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,5 +2,5 @@ | |
|
|
||
| export interface DeleteAccount { | ||
| password: string; | ||
| delete_content: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type DeleteAccountResponse = Record<string, never>; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,4 @@ import type { CustomEmojiId } from "./CustomEmojiId"; | |
|
|
||
| export interface DeleteCustomEmoji { | ||
| id: CustomEmojiId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface DeletePost { | ||
| post_id: PostId; | ||
| deleted: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,4 @@ export interface EditComment { | |
| comment_id: CommentId; | ||
| content?: string; | ||
| language_id?: LanguageId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,5 +7,4 @@ export interface EditCustomEmoji { | |
| image_url: string; | ||
| alt_text: string; | ||
| keywords: Array<string>; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,5 +9,4 @@ export interface EditPost { | |
| body?: string; | ||
| nsfw?: boolean; | ||
| language_id?: LanguageId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,5 +6,4 @@ export interface FeaturePost { | |
| post_id: PostId; | ||
| featured: boolean; | ||
| feature_type: PostFeatureType; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 GenerateTotpSecretResponse { | ||
| totp_secret_url: string; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,4 @@ import type { CommentId } from "./CommentId"; | |
|
|
||
| export interface GetComment { | ||
| id: CommentId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ import type { PostId } from "./PostId"; | |
| export interface GetPost { | ||
| id?: PostId; | ||
| comment_id?: CommentId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,18 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { CommunityId } from "./CommunityId"; | ||
| import type { ListingType } from "./ListingType"; | ||
| import type { PaginationCursor } from "./PaginationCursor"; | ||
| import type { SortType } from "./SortType"; | ||
|
|
||
| export interface GetPosts { | ||
| type_?: ListingType; | ||
| sort?: SortType; | ||
| page?: /* integer */ number; | ||
| limit?: /* integer */ number; | ||
| community_id?: CommunityId; | ||
| community_name?: string; | ||
| saved_only?: boolean; | ||
| liked_only?: boolean; | ||
| disliked_only?: boolean; | ||
| page_cursor?: PaginationCursor; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { PaginationCursor } from "./PaginationCursor"; | ||
| import type { PostView } from "./PostView"; | ||
|
|
||
| export interface GetPostsResponse { | ||
| posts: Array<PostView>; | ||
| next_page?: PaginationCursor; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { PersonId } from "./PersonId"; | ||
|
|
||
| export interface GetPrivateMessages { | ||
| unread_only?: boolean; | ||
| page?: /* integer */ number; | ||
| limit?: /* integer */ number; | ||
| creator_id?: PersonId; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,4 @@ import type { CommunityId } from "./CommunityId"; | |
|
|
||
| export interface GetReportCount { | ||
| community_id?: CommunityId; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface GetUnreadCountResponse { | ||
| replies: /* integer */ number; | ||
| mentions: /* integer */ number; | ||
| private_messages: /* integer */ number; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface GetUnreadRegistrationApplicationCountResponse { | ||
| registration_applications: /* integer */ number; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ export interface HideCommunity { | |
| community_id: CommunityId; | ||
| hidden: boolean; | ||
| reason?: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { ImageUploadId } from "./ImageUploadId"; | ||
| import type { LocalUserId } from "./LocalUserId"; | ||
|
|
||
| export interface ImageUpload { | ||
| id: ImageUploadId; | ||
| local_user_id: LocalUserId; | ||
| pictrs_alias: string; | ||
| pictrs_delete_token: string; | ||
| published: string; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type ImageUploadId = number; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { Instance } from "./Instance"; | ||
| import type { Person } from "./Person"; | ||
| import type { Site } from "./Site"; | ||
|
|
||
| export interface InstanceBlockView { | ||
| person: Person; | ||
| instance: Instance; | ||
| site?: Site; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,139 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type LemmyErrorType = | ||
| | { error_type: "ReportReasonRequired" } | ||
| | { error_type: "ReportTooLong" } | ||
| | { error_type: "NotAModerator" } | ||
| | { error_type: "NotAnAdmin" } | ||
| | { error_type: "CannotBlockYourself" } | ||
| | { error_type: "CannotBlockAdmin" } | ||
| | { error_type: "CouldNotUpdateUser" } | ||
| | { error_type: "PasswordsDoNotMatch" } | ||
| | { error_type: "PasswordIncorrect" } | ||
| | { error_type: "EmailNotVerified" } | ||
| | { error_type: "EmailRequired" } | ||
| | { error_type: "CouldNotUpdateComment" } | ||
| | { error_type: "CouldNotUpdatePrivateMessage" } | ||
| | { error_type: "CannotLeaveAdmin" } | ||
| | { error_type: "NoLinesInHtml" } | ||
| | { error_type: "SiteMetadataPageIsNotDoctypeHtml" } | ||
| | { error_type: "PictrsResponseError"; message: string } | ||
| | { error_type: "PictrsPurgeResponseError"; message: string } | ||
| | { error_type: "ImageUrlMissingPathSegments" } | ||
| | { error_type: "ImageUrlMissingLastPathSegment" } | ||
| | { error_type: "PictrsApiKeyNotProvided" } | ||
| | { error_type: "NoContentTypeHeader" } | ||
| | { error_type: "NotAnImageType" } | ||
| | { error_type: "NotAModOrAdmin" } | ||
| | { error_type: "NoAdmins" } | ||
| | { error_type: "NotTopAdmin" } | ||
| | { error_type: "NotTopMod" } | ||
| | { error_type: "NotLoggedIn" } | ||
| | { error_type: "SiteBan" } | ||
| | { error_type: "Deleted" } | ||
| | { error_type: "BannedFromCommunity" } | ||
| | { error_type: "CouldNotFindCommunity" } | ||
| | { error_type: "PersonIsBlocked" } | ||
| | { error_type: "DownvotesAreDisabled" } | ||
| | { error_type: "InstanceIsPrivate" } | ||
| | { error_type: "InvalidPassword" } | ||
| | { error_type: "SiteDescriptionLengthOverflow" } | ||
| | { error_type: "HoneypotFailed" } | ||
| | { error_type: "RegistrationApplicationIsPending" } | ||
| | { error_type: "PrivateInstanceCannotHaveFederationEnabled" } | ||
| | { error_type: "Locked" } | ||
| | { error_type: "CouldNotCreateComment" } | ||
| | { error_type: "MaxCommentDepthReached" } | ||
| | { error_type: "EditCommentNotAllowed" } | ||
| | { error_type: "OnlyAdminsCanCreateCommunities" } | ||
| | { error_type: "CommunityAlreadyExists" } | ||
| | { error_type: "LanguageNotAllowed" } | ||
| | { error_type: "OnlyModsCanPostInCommunity" } | ||
| | { error_type: "CouldNotUpdatePost" } | ||
| | { error_type: "EditPostNotAllowed" } | ||
| | { error_type: "CouldNotFindPost" } | ||
| | { error_type: "EditPrivateMessageNotAllowed" } | ||
| | { error_type: "SiteAlreadyExists" } | ||
| | { error_type: "ApplicationQuestionRequired" } | ||
| | { error_type: "InvalidDefaultPostListingType" } | ||
| | { error_type: "RegistrationClosed" } | ||
| | { error_type: "RegistrationApplicationAnswerRequired" } | ||
| | { error_type: "EmailAlreadyExists" } | ||
| | { error_type: "FederationError"; message: string } | ||
| | { error_type: "FederationForbiddenByStrictAllowList" } | ||
| | { error_type: "PersonIsBannedFromCommunity" } | ||
| | { error_type: "ObjectIsNotPublic" } | ||
| | { error_type: "InvalidCommunity" } | ||
| | { error_type: "CannotCreatePostOrCommentInDeletedOrRemovedCommunity" } | ||
| | { error_type: "CannotReceivePage" } | ||
| | { error_type: "NewPostCannotBeLocked" } | ||
| | { error_type: "OnlyLocalAdminCanRemoveCommunity" } | ||
| | { error_type: "OnlyLocalAdminCanRestoreCommunity" } | ||
| | { error_type: "NoIdGiven" } | ||
| | { error_type: "CouldNotFindUsernameOrEmail" } | ||
| | { error_type: "InvalidQuery" } | ||
| | { error_type: "ObjectNotLocal" } | ||
| | { error_type: "PostIsLocked" } | ||
| | { error_type: "PersonIsBannedFromSite" } | ||
| | { error_type: "InvalidVoteValue" } | ||
| | { error_type: "PageDoesNotSpecifyCreator" } | ||
| | { error_type: "PageDoesNotSpecifyGroup" } | ||
| | { error_type: "NoCommunityFoundInCC" } | ||
| | { error_type: "NoEmailSetup" } | ||
| | { error_type: "EmailSmtpServerNeedsAPort" } | ||
| | { error_type: "MissingAnEmail" } | ||
| | { error_type: "RateLimitError" } | ||
| | { error_type: "InvalidName" } | ||
| | { error_type: "InvalidDisplayName" } | ||
| | { error_type: "InvalidMatrixId" } | ||
| | { error_type: "InvalidPostTitle" } | ||
| | { error_type: "InvalidBodyField" } | ||
| | { error_type: "BioLengthOverflow" } | ||
| | { error_type: "MissingTotpToken" } | ||
| | { error_type: "IncorrectTotpToken" } | ||
| | { error_type: "CouldNotParseTotpSecret" } | ||
| | { error_type: "CouldNotLikeComment" } | ||
| | { error_type: "CouldNotSaveComment" } | ||
| | { error_type: "CouldNotCreateReport" } | ||
| | { error_type: "CouldNotResolveReport" } | ||
| | { error_type: "CommunityModeratorAlreadyExists" } | ||
| | { error_type: "CommunityUserIsAlreadyBanned" } | ||
| | { error_type: "CommunityBlockAlreadyExists" } | ||
| | { error_type: "CommunityFollowerAlreadyExists" } | ||
| | { error_type: "CouldNotUpdateCommunityHiddenStatus" } | ||
| | { error_type: "PersonBlockAlreadyExists" } | ||
| | { error_type: "UserAlreadyExists" } | ||
| | { error_type: "TokenNotFound" } | ||
| | { error_type: "CouldNotLikePost" } | ||
| | { error_type: "CouldNotSavePost" } | ||
| | { error_type: "CouldNotMarkPostAsRead" } | ||
| | { error_type: "CouldNotUpdateCommunity" } | ||
| | { error_type: "CouldNotUpdateReplies" } | ||
| | { error_type: "CouldNotUpdatePersonMentions" } | ||
| | { error_type: "PostTitleTooLong" } | ||
| | { error_type: "CouldNotCreatePost" } | ||
| | { error_type: "CouldNotCreatePrivateMessage" } | ||
| | { error_type: "CouldNotUpdatePrivate" } | ||
| | { error_type: "SystemErrLogin" } | ||
| | { error_type: "CouldNotSetAllRegistrationsAccepted" } | ||
| | { error_type: "CouldNotSetAllEmailVerified" } | ||
| | { error_type: "Banned" } | ||
| | { error_type: "CouldNotGetComments" } | ||
| | { error_type: "CouldNotGetPosts" } | ||
| | { error_type: "InvalidUrl" } | ||
| | { error_type: "EmailSendFailed" } | ||
| | { error_type: "Slurs" } | ||
| | { error_type: "CouldNotGenerateTotp" } | ||
| | { error_type: "CouldNotFindObject" } | ||
| | { error_type: "RegistrationDenied"; message: string } | ||
| | { error_type: "FederationDisabled" } | ||
| | { error_type: "DomainBlocked" } | ||
| | { error_type: "DomainNotInAllowList" } | ||
| | { error_type: "FederationDisabledByStrictAllowList" } | ||
| | { error_type: "SiteNameRequired" } | ||
| | { error_type: "SiteNameLengthOverflow" } | ||
| | { error_type: "PermissiveRegex" } | ||
| | { error_type: "InvalidRegex" } | ||
| | { error_type: "CaptchaIncorrect" } | ||
| | { error_type: "PasswordResetLimitReached" } | ||
| | { error_type: "CouldNotCreateAudioCaptcha" }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,7 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface ListPrivateMessageReports { | ||
| page?: /* integer */ number; | ||
| limit?: /* integer */ number; | ||
| unresolved_only?: boolean; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type ListingType = "All" | "Local" | "Subscribed" | "ModeratorView"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface LockPost { | ||
| post_id: PostId; | ||
| locked: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface MarkPostAsRead { | ||
| post_id: PostId; | ||
| read: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type PaginationCursor = string; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type PasswordResetResponse = Record<string, never>; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type PersonSortType = | ||
| | "New" | ||
| | "Old" | ||
| | "MostComments" | ||
| | "CommentScore" | ||
| | "PostScore" | ||
| | "PostCount"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,26 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
| import type { CommunityId } from "./CommunityId"; | ||
| import type { InstanceId } from "./InstanceId"; | ||
| import type { PersonId } from "./PersonId"; | ||
| import type { PostId } from "./PostId"; | ||
|
|
||
| export interface PostAggregates { | ||
| id: number; | ||
| post_id: PostId; | ||
| comments: /* integer */ number; | ||
| score: /* integer */ number; | ||
| upvotes: /* integer */ number; | ||
| downvotes: /* integer */ number; | ||
| published: string; | ||
| newest_comment_time_necro: string; | ||
| newest_comment_time: string; | ||
| featured_community: boolean; | ||
| featured_local: boolean; | ||
| hot_rank: number; | ||
| hot_rank_active: number; | ||
| community_id: CommunityId; | ||
| creator_id: PersonId; | ||
| controversy_rank: number; | ||
| instance_id: InstanceId; | ||
| scaled_rank: number; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type PostListingMode = "List" | "Card" | "SmallCard"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface PurgePost { | ||
| post_id: PostId; | ||
| reason?: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ export interface RemoveComment { | |
| comment_id: CommentId; | ||
| removed: boolean; | ||
| reason?: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,5 +5,4 @@ export interface RemovePost { | |
| post_id: PostId; | ||
| removed: boolean; | ||
| reason?: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,5 +2,4 @@ | |
|
|
||
| export interface ResolveObject { | ||
| q: string; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,4 @@ import type { PostId } from "./PostId"; | |
| export interface SavePost { | ||
| post_id: PostId; | ||
| save: boolean; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface UpdateTotp { | ||
| totp_token: string; | ||
| enabled: boolean; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export interface UpdateTotpResponse { | ||
| enabled: boolean; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
|
||
| export type VerifyEmailResponse = Record<string, never>; |