lemmy-js-client 0.19.3-alpha.4 → 0.19.3-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +5 -5
- package/dist/http.d.ts +0 -743
- package/dist/http.js +0 -929
- package/dist/index.d.ts +0 -246
- package/dist/index.js +0 -17
- package/dist/other_types.d.ts +0 -22
- package/dist/other_types.js +0 -4
- package/dist/types/ActivityId.d.ts +0 -1
- package/dist/types/ActivityId.js +0 -3
- package/dist/types/AddAdmin.d.ts +0 -5
- package/dist/types/AddAdmin.js +0 -2
- package/dist/types/AddAdminResponse.d.ts +0 -4
- package/dist/types/AddAdminResponse.js +0 -2
- package/dist/types/AddModToCommunity.d.ts +0 -7
- package/dist/types/AddModToCommunity.js +0 -2
- package/dist/types/AddModToCommunityResponse.d.ts +0 -4
- package/dist/types/AddModToCommunityResponse.js +0 -2
- package/dist/types/AdminPurgeComment.d.ts +0 -9
- package/dist/types/AdminPurgeComment.js +0 -2
- package/dist/types/AdminPurgeCommentView.d.ts +0 -8
- package/dist/types/AdminPurgeCommentView.js +0 -2
- package/dist/types/AdminPurgeCommunity.d.ts +0 -7
- package/dist/types/AdminPurgeCommunity.js +0 -2
- package/dist/types/AdminPurgeCommunityView.d.ts +0 -6
- package/dist/types/AdminPurgeCommunityView.js +0 -2
- package/dist/types/AdminPurgePerson.d.ts +0 -7
- package/dist/types/AdminPurgePerson.js +0 -2
- package/dist/types/AdminPurgePersonView.d.ts +0 -6
- package/dist/types/AdminPurgePersonView.js +0 -2
- package/dist/types/AdminPurgePost.d.ts +0 -9
- package/dist/types/AdminPurgePost.js +0 -2
- package/dist/types/AdminPurgePostView.d.ts +0 -8
- package/dist/types/AdminPurgePostView.js +0 -2
- package/dist/types/ApproveRegistrationApplication.d.ts +0 -5
- package/dist/types/ApproveRegistrationApplication.js +0 -3
- package/dist/types/BanFromCommunity.d.ts +0 -10
- package/dist/types/BanFromCommunity.js +0 -2
- package/dist/types/BanFromCommunityResponse.d.ts +0 -5
- package/dist/types/BanFromCommunityResponse.js +0 -2
- package/dist/types/BanPerson.d.ts +0 -8
- package/dist/types/BanPerson.js +0 -2
- package/dist/types/BanPersonResponse.d.ts +0 -5
- package/dist/types/BanPersonResponse.js +0 -2
- package/dist/types/BannedPersonsResponse.d.ts +0 -4
- package/dist/types/BannedPersonsResponse.js +0 -2
- package/dist/types/BlockCommunity.d.ts +0 -5
- package/dist/types/BlockCommunity.js +0 -2
- package/dist/types/BlockCommunityResponse.d.ts +0 -5
- package/dist/types/BlockCommunityResponse.js +0 -2
- package/dist/types/BlockInstance.d.ts +0 -5
- package/dist/types/BlockInstance.js +0 -2
- package/dist/types/BlockInstanceResponse.d.ts +0 -3
- package/dist/types/BlockInstanceResponse.js +0 -3
- package/dist/types/BlockPerson.d.ts +0 -5
- package/dist/types/BlockPerson.js +0 -2
- package/dist/types/BlockPersonResponse.d.ts +0 -5
- package/dist/types/BlockPersonResponse.js +0 -2
- package/dist/types/CaptchaResponse.d.ts +0 -5
- package/dist/types/CaptchaResponse.js +0 -3
- package/dist/types/ChangePassword.d.ts +0 -5
- package/dist/types/ChangePassword.js +0 -3
- package/dist/types/Comment.d.ts +0 -19
- package/dist/types/Comment.js +0 -2
- package/dist/types/CommentAggregates.d.ts +0 -9
- package/dist/types/CommentAggregates.js +0 -2
- package/dist/types/CommentId.d.ts +0 -1
- package/dist/types/CommentId.js +0 -3
- package/dist/types/CommentReply.d.ts +0 -10
- package/dist/types/CommentReply.js +0 -2
- package/dist/types/CommentReplyId.d.ts +0 -1
- package/dist/types/CommentReplyId.js +0 -3
- package/dist/types/CommentReplyResponse.d.ts +0 -4
- package/dist/types/CommentReplyResponse.js +0 -2
- package/dist/types/CommentReplyView.d.ts +0 -23
- package/dist/types/CommentReplyView.js +0 -2
- package/dist/types/CommentReport.d.ts +0 -14
- package/dist/types/CommentReport.js +0 -2
- package/dist/types/CommentReportId.d.ts +0 -1
- package/dist/types/CommentReportId.js +0 -3
- package/dist/types/CommentReportResponse.d.ts +0 -4
- package/dist/types/CommentReportResponse.js +0 -2
- package/dist/types/CommentReportView.d.ts +0 -18
- package/dist/types/CommentReportView.js +0 -2
- package/dist/types/CommentResponse.d.ts +0 -6
- package/dist/types/CommentResponse.js +0 -2
- package/dist/types/CommentSortType.d.ts +0 -1
- package/dist/types/CommentSortType.js +0 -3
- package/dist/types/CommentView.d.ts +0 -20
- package/dist/types/CommentView.js +0 -2
- package/dist/types/Community.d.ts +0 -20
- package/dist/types/Community.js +0 -2
- package/dist/types/CommunityAggregates.d.ts +0 -12
- package/dist/types/CommunityAggregates.js +0 -2
- package/dist/types/CommunityBlockView.d.ts +0 -6
- package/dist/types/CommunityBlockView.js +0 -2
- package/dist/types/CommunityFollowerView.d.ts +0 -6
- package/dist/types/CommunityFollowerView.js +0 -2
- package/dist/types/CommunityId.d.ts +0 -1
- package/dist/types/CommunityId.js +0 -3
- package/dist/types/CommunityModeratorView.d.ts +0 -6
- package/dist/types/CommunityModeratorView.js +0 -2
- package/dist/types/CommunityResponse.d.ts +0 -6
- package/dist/types/CommunityResponse.js +0 -2
- package/dist/types/CommunityView.d.ts +0 -9
- package/dist/types/CommunityView.js +0 -2
- package/dist/types/CreateComment.d.ts +0 -9
- package/dist/types/CreateComment.js +0 -2
- package/dist/types/CreateCommentLike.d.ts +0 -5
- package/dist/types/CreateCommentLike.js +0 -2
- package/dist/types/CreateCommentReport.d.ts +0 -5
- package/dist/types/CreateCommentReport.js +0 -2
- package/dist/types/CreateCommunity.d.ts +0 -11
- package/dist/types/CreateCommunity.js +0 -2
- package/dist/types/CreateCustomEmoji.d.ts +0 -7
- package/dist/types/CreateCustomEmoji.js +0 -3
- package/dist/types/CreatePost.d.ts +0 -11
- package/dist/types/CreatePost.js +0 -2
- package/dist/types/CreatePostLike.d.ts +0 -5
- package/dist/types/CreatePostLike.js +0 -2
- package/dist/types/CreatePostReport.d.ts +0 -5
- package/dist/types/CreatePostReport.js +0 -2
- package/dist/types/CreatePrivateMessage.d.ts +0 -5
- package/dist/types/CreatePrivateMessage.js +0 -2
- package/dist/types/CreatePrivateMessageReport.d.ts +0 -5
- package/dist/types/CreatePrivateMessageReport.js +0 -2
- package/dist/types/CreateSite.d.ts +0 -44
- package/dist/types/CreateSite.js +0 -2
- package/dist/types/CustomEmoji.d.ts +0 -12
- package/dist/types/CustomEmoji.js +0 -2
- package/dist/types/CustomEmojiId.d.ts +0 -1
- package/dist/types/CustomEmojiId.js +0 -3
- package/dist/types/CustomEmojiKeyword.d.ts +0 -5
- package/dist/types/CustomEmojiKeyword.js +0 -2
- package/dist/types/CustomEmojiResponse.d.ts +0 -4
- package/dist/types/CustomEmojiResponse.js +0 -2
- package/dist/types/CustomEmojiView.d.ts +0 -6
- package/dist/types/CustomEmojiView.js +0 -2
- package/dist/types/DeleteAccount.d.ts +0 -4
- package/dist/types/DeleteAccount.js +0 -3
- package/dist/types/DeleteComment.d.ts +0 -5
- package/dist/types/DeleteComment.js +0 -2
- package/dist/types/DeleteCommunity.d.ts +0 -5
- package/dist/types/DeleteCommunity.js +0 -2
- package/dist/types/DeleteCustomEmoji.d.ts +0 -4
- package/dist/types/DeleteCustomEmoji.js +0 -2
- package/dist/types/DeletePost.d.ts +0 -5
- package/dist/types/DeletePost.js +0 -2
- package/dist/types/DeletePrivateMessage.d.ts +0 -5
- package/dist/types/DeletePrivateMessage.js +0 -2
- package/dist/types/DistinguishComment.d.ts +0 -5
- package/dist/types/DistinguishComment.js +0 -2
- package/dist/types/EditComment.d.ts +0 -7
- package/dist/types/EditComment.js +0 -2
- package/dist/types/EditCommunity.d.ts +0 -12
- package/dist/types/EditCommunity.js +0 -2
- package/dist/types/EditCustomEmoji.d.ts +0 -8
- package/dist/types/EditCustomEmoji.js +0 -2
- package/dist/types/EditPost.d.ts +0 -10
- package/dist/types/EditPost.js +0 -2
- package/dist/types/EditPrivateMessage.d.ts +0 -5
- package/dist/types/EditPrivateMessage.js +0 -2
- package/dist/types/EditSite.d.ts +0 -45
- package/dist/types/EditSite.js +0 -2
- package/dist/types/FeaturePost.d.ts +0 -7
- package/dist/types/FeaturePost.js +0 -2
- package/dist/types/FederatedInstances.d.ts +0 -6
- package/dist/types/FederatedInstances.js +0 -2
- package/dist/types/FollowCommunity.d.ts +0 -5
- package/dist/types/FollowCommunity.js +0 -2
- package/dist/types/GenerateTotpSecretResponse.d.ts +0 -3
- package/dist/types/GenerateTotpSecretResponse.js +0 -3
- package/dist/types/GetCaptchaResponse.d.ts +0 -4
- package/dist/types/GetCaptchaResponse.js +0 -2
- package/dist/types/GetComment.d.ts +0 -4
- package/dist/types/GetComment.js +0 -2
- package/dist/types/GetComments.d.ts +0 -19
- package/dist/types/GetComments.js +0 -2
- package/dist/types/GetCommentsResponse.d.ts +0 -4
- package/dist/types/GetCommentsResponse.js +0 -2
- package/dist/types/GetCommunity.d.ts +0 -5
- package/dist/types/GetCommunity.js +0 -2
- package/dist/types/GetCommunityResponse.d.ts +0 -10
- package/dist/types/GetCommunityResponse.js +0 -2
- package/dist/types/GetFederatedInstancesResponse.d.ts +0 -4
- package/dist/types/GetFederatedInstancesResponse.js +0 -2
- package/dist/types/GetModlog.d.ts +0 -11
- package/dist/types/GetModlog.js +0 -2
- package/dist/types/GetModlogResponse.d.ts +0 -32
- package/dist/types/GetModlogResponse.js +0 -2
- package/dist/types/GetPersonDetails.d.ts +0 -12
- package/dist/types/GetPersonDetails.js +0 -2
- package/dist/types/GetPersonDetailsResponse.d.ts +0 -12
- package/dist/types/GetPersonDetailsResponse.js +0 -2
- package/dist/types/GetPersonMentions.d.ts +0 -7
- package/dist/types/GetPersonMentions.js +0 -2
- package/dist/types/GetPersonMentionsResponse.d.ts +0 -4
- package/dist/types/GetPersonMentionsResponse.js +0 -2
- package/dist/types/GetPost.d.ts +0 -6
- package/dist/types/GetPost.js +0 -2
- package/dist/types/GetPostResponse.d.ts +0 -9
- package/dist/types/GetPostResponse.js +0 -2
- package/dist/types/GetPosts.d.ts +0 -16
- package/dist/types/GetPosts.js +0 -2
- package/dist/types/GetPostsResponse.d.ts +0 -6
- package/dist/types/GetPostsResponse.js +0 -2
- package/dist/types/GetPrivateMessages.d.ts +0 -7
- package/dist/types/GetPrivateMessages.js +0 -2
- package/dist/types/GetReplies.d.ts +0 -7
- package/dist/types/GetReplies.js +0 -2
- package/dist/types/GetRepliesResponse.d.ts +0 -4
- package/dist/types/GetRepliesResponse.js +0 -2
- package/dist/types/GetReportCount.d.ts +0 -4
- package/dist/types/GetReportCount.js +0 -2
- package/dist/types/GetReportCountResponse.d.ts +0 -7
- package/dist/types/GetReportCountResponse.js +0 -2
- package/dist/types/GetSiteMetadata.d.ts +0 -3
- package/dist/types/GetSiteMetadata.js +0 -3
- package/dist/types/GetSiteMetadataResponse.d.ts +0 -4
- package/dist/types/GetSiteMetadataResponse.js +0 -2
- package/dist/types/GetSiteResponse.d.ts +0 -17
- package/dist/types/GetSiteResponse.js +0 -2
- package/dist/types/GetUnreadCountResponse.d.ts +0 -5
- package/dist/types/GetUnreadCountResponse.js +0 -3
- package/dist/types/GetUnreadRegistrationApplicationCountResponse.d.ts +0 -3
- package/dist/types/GetUnreadRegistrationApplicationCountResponse.js +0 -3
- package/dist/types/HideCommunity.d.ts +0 -6
- package/dist/types/HideCommunity.js +0 -2
- package/dist/types/ImageUpload.d.ts +0 -7
- package/dist/types/ImageUpload.js +0 -2
- package/dist/types/Instance.d.ts +0 -9
- package/dist/types/Instance.js +0 -2
- package/dist/types/InstanceBlockView.d.ts +0 -8
- package/dist/types/InstanceBlockView.js +0 -2
- package/dist/types/InstanceId.d.ts +0 -1
- package/dist/types/InstanceId.js +0 -3
- package/dist/types/InstanceWithFederationState.d.ts +0 -11
- package/dist/types/InstanceWithFederationState.js +0 -2
- package/dist/types/Language.d.ts +0 -6
- package/dist/types/Language.js +0 -2
- package/dist/types/LanguageId.d.ts +0 -1
- package/dist/types/LanguageId.js +0 -3
- package/dist/types/LemmyErrorType.d.ts +0 -310
- package/dist/types/LemmyErrorType.js +0 -3
- package/dist/types/ListCommentLikes.d.ts +0 -6
- package/dist/types/ListCommentLikes.js +0 -2
- package/dist/types/ListCommentLikesResponse.d.ts +0 -4
- package/dist/types/ListCommentLikesResponse.js +0 -2
- package/dist/types/ListCommentReports.d.ts +0 -7
- package/dist/types/ListCommentReports.js +0 -2
- package/dist/types/ListCommentReportsResponse.d.ts +0 -4
- package/dist/types/ListCommentReportsResponse.js +0 -2
- package/dist/types/ListCommunities.d.ts +0 -9
- package/dist/types/ListCommunities.js +0 -2
- package/dist/types/ListCommunitiesResponse.d.ts +0 -4
- package/dist/types/ListCommunitiesResponse.js +0 -2
- package/dist/types/ListPostLikes.d.ts +0 -6
- package/dist/types/ListPostLikes.js +0 -2
- package/dist/types/ListPostLikesResponse.d.ts +0 -4
- package/dist/types/ListPostLikesResponse.js +0 -2
- package/dist/types/ListPostReports.d.ts +0 -7
- package/dist/types/ListPostReports.js +0 -2
- package/dist/types/ListPostReportsResponse.d.ts +0 -4
- package/dist/types/ListPostReportsResponse.js +0 -2
- package/dist/types/ListPrivateMessageReports.d.ts +0 -5
- package/dist/types/ListPrivateMessageReports.js +0 -3
- package/dist/types/ListPrivateMessageReportsResponse.d.ts +0 -4
- package/dist/types/ListPrivateMessageReportsResponse.js +0 -2
- package/dist/types/ListRegistrationApplications.d.ts +0 -5
- package/dist/types/ListRegistrationApplications.js +0 -3
- package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -4
- package/dist/types/ListRegistrationApplicationsResponse.js +0 -2
- package/dist/types/ListingType.d.ts +0 -1
- package/dist/types/ListingType.js +0 -3
- package/dist/types/LocalSite.d.ts +0 -30
- package/dist/types/LocalSite.js +0 -2
- package/dist/types/LocalSiteId.d.ts +0 -1
- package/dist/types/LocalSiteId.js +0 -3
- package/dist/types/LocalSiteRateLimit.d.ts +0 -20
- package/dist/types/LocalSiteRateLimit.js +0 -2
- package/dist/types/LocalUser.d.ts +0 -32
- package/dist/types/LocalUser.js +0 -2
- package/dist/types/LocalUserId.d.ts +0 -1
- package/dist/types/LocalUserId.js +0 -3
- package/dist/types/LocalUserView.d.ts +0 -8
- package/dist/types/LocalUserView.js +0 -2
- package/dist/types/LockPost.d.ts +0 -5
- package/dist/types/LockPost.js +0 -2
- package/dist/types/Login.d.ts +0 -5
- package/dist/types/Login.js +0 -3
- package/dist/types/LoginResponse.d.ts +0 -5
- package/dist/types/LoginResponse.js +0 -3
- package/dist/types/LoginToken.d.ts +0 -7
- package/dist/types/LoginToken.js +0 -2
- package/dist/types/MarkCommentReplyAsRead.d.ts +0 -5
- package/dist/types/MarkCommentReplyAsRead.js +0 -2
- package/dist/types/MarkPersonMentionAsRead.d.ts +0 -5
- package/dist/types/MarkPersonMentionAsRead.js +0 -2
- package/dist/types/MarkPostAsRead.d.ts +0 -6
- package/dist/types/MarkPostAsRead.js +0 -2
- package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -5
- package/dist/types/MarkPrivateMessageAsRead.js +0 -2
- package/dist/types/ModAdd.d.ts +0 -8
- package/dist/types/ModAdd.js +0 -2
- package/dist/types/ModAddCommunity.d.ts +0 -10
- package/dist/types/ModAddCommunity.js +0 -2
- package/dist/types/ModAddCommunityView.d.ts +0 -9
- package/dist/types/ModAddCommunityView.js +0 -2
- package/dist/types/ModAddView.d.ts +0 -7
- package/dist/types/ModAddView.js +0 -2
- package/dist/types/ModBan.d.ts +0 -10
- package/dist/types/ModBan.js +0 -2
- package/dist/types/ModBanFromCommunity.d.ts +0 -12
- package/dist/types/ModBanFromCommunity.js +0 -2
- package/dist/types/ModBanFromCommunityView.d.ts +0 -9
- package/dist/types/ModBanFromCommunityView.js +0 -2
- package/dist/types/ModBanView.d.ts +0 -7
- package/dist/types/ModBanView.js +0 -2
- package/dist/types/ModFeaturePost.d.ts +0 -10
- package/dist/types/ModFeaturePost.js +0 -2
- package/dist/types/ModFeaturePostView.d.ts +0 -10
- package/dist/types/ModFeaturePostView.js +0 -2
- package/dist/types/ModHideCommunity.d.ts +0 -10
- package/dist/types/ModHideCommunity.js +0 -2
- package/dist/types/ModHideCommunityView.d.ts +0 -8
- package/dist/types/ModHideCommunityView.js +0 -2
- package/dist/types/ModLockPost.d.ts +0 -9
- package/dist/types/ModLockPost.js +0 -2
- package/dist/types/ModLockPostView.d.ts +0 -10
- package/dist/types/ModLockPostView.js +0 -2
- package/dist/types/ModRemoveComment.d.ts +0 -10
- package/dist/types/ModRemoveComment.js +0 -2
- package/dist/types/ModRemoveCommentView.d.ts +0 -13
- package/dist/types/ModRemoveCommentView.js +0 -2
- package/dist/types/ModRemoveCommunity.d.ts +0 -10
- package/dist/types/ModRemoveCommunity.js +0 -2
- package/dist/types/ModRemoveCommunityView.d.ts +0 -8
- package/dist/types/ModRemoveCommunityView.js +0 -2
- package/dist/types/ModRemovePost.d.ts +0 -10
- package/dist/types/ModRemovePost.js +0 -2
- package/dist/types/ModRemovePostView.d.ts +0 -10
- package/dist/types/ModRemovePostView.js +0 -2
- package/dist/types/ModTransferCommunity.d.ts +0 -9
- package/dist/types/ModTransferCommunity.js +0 -2
- package/dist/types/ModTransferCommunityView.d.ts +0 -9
- package/dist/types/ModTransferCommunityView.js +0 -2
- package/dist/types/ModlogActionType.d.ts +0 -1
- package/dist/types/ModlogActionType.js +0 -3
- package/dist/types/ModlogListParams.d.ts +0 -10
- package/dist/types/ModlogListParams.js +0 -2
- package/dist/types/MyUserInfo.d.ts +0 -16
- package/dist/types/MyUserInfo.js +0 -2
- package/dist/types/PaginationCursor.d.ts +0 -1
- package/dist/types/PaginationCursor.js +0 -3
- package/dist/types/PasswordChangeAfterReset.d.ts +0 -5
- package/dist/types/PasswordChangeAfterReset.js +0 -3
- package/dist/types/PasswordReset.d.ts +0 -3
- package/dist/types/PasswordReset.js +0 -3
- package/dist/types/Person.d.ts +0 -20
- package/dist/types/Person.js +0 -2
- package/dist/types/PersonAggregates.d.ts +0 -6
- package/dist/types/PersonAggregates.js +0 -2
- package/dist/types/PersonBlockId.d.ts +0 -1
- package/dist/types/PersonBlockId.js +0 -3
- package/dist/types/PersonBlockView.d.ts +0 -5
- package/dist/types/PersonBlockView.js +0 -2
- package/dist/types/PersonId.d.ts +0 -1
- package/dist/types/PersonId.js +0 -3
- package/dist/types/PersonMention.d.ts +0 -10
- package/dist/types/PersonMention.js +0 -2
- package/dist/types/PersonMentionId.d.ts +0 -1
- package/dist/types/PersonMentionId.js +0 -3
- package/dist/types/PersonMentionResponse.d.ts +0 -4
- package/dist/types/PersonMentionResponse.js +0 -2
- package/dist/types/PersonMentionView.d.ts +0 -23
- package/dist/types/PersonMentionView.js +0 -2
- package/dist/types/PersonView.d.ts +0 -7
- package/dist/types/PersonView.js +0 -2
- package/dist/types/Post.d.ts +0 -27
- package/dist/types/Post.js +0 -2
- package/dist/types/PostAggregates.d.ts +0 -10
- package/dist/types/PostAggregates.js +0 -2
- package/dist/types/PostFeatureType.d.ts +0 -1
- package/dist/types/PostFeatureType.js +0 -3
- package/dist/types/PostId.d.ts +0 -1
- package/dist/types/PostId.js +0 -3
- package/dist/types/PostListingMode.d.ts +0 -1
- package/dist/types/PostListingMode.js +0 -3
- package/dist/types/PostReport.d.ts +0 -16
- package/dist/types/PostReport.js +0 -2
- package/dist/types/PostReportId.d.ts +0 -1
- package/dist/types/PostReportId.js +0 -3
- package/dist/types/PostReportResponse.d.ts +0 -4
- package/dist/types/PostReportResponse.js +0 -2
- package/dist/types/PostReportView.d.ts +0 -16
- package/dist/types/PostReportView.js +0 -2
- package/dist/types/PostResponse.d.ts +0 -4
- package/dist/types/PostResponse.js +0 -2
- package/dist/types/PostView.d.ts +0 -20
- package/dist/types/PostView.js +0 -2
- package/dist/types/PrivateMessage.d.ts +0 -14
- package/dist/types/PrivateMessage.js +0 -2
- package/dist/types/PrivateMessageId.d.ts +0 -1
- package/dist/types/PrivateMessageId.js +0 -3
- package/dist/types/PrivateMessageReport.d.ts +0 -14
- package/dist/types/PrivateMessageReport.js +0 -2
- package/dist/types/PrivateMessageReportId.d.ts +0 -1
- package/dist/types/PrivateMessageReportId.js +0 -3
- package/dist/types/PrivateMessageReportResponse.d.ts +0 -4
- package/dist/types/PrivateMessageReportResponse.js +0 -2
- package/dist/types/PrivateMessageReportView.d.ts +0 -10
- package/dist/types/PrivateMessageReportView.js +0 -2
- package/dist/types/PrivateMessageResponse.d.ts +0 -4
- package/dist/types/PrivateMessageResponse.js +0 -2
- package/dist/types/PrivateMessageView.d.ts +0 -7
- package/dist/types/PrivateMessageView.js +0 -2
- package/dist/types/PrivateMessagesResponse.d.ts +0 -4
- package/dist/types/PrivateMessagesResponse.js +0 -2
- package/dist/types/PurgeComment.d.ts +0 -5
- package/dist/types/PurgeComment.js +0 -2
- package/dist/types/PurgeCommunity.d.ts +0 -5
- package/dist/types/PurgeCommunity.js +0 -2
- package/dist/types/PurgePerson.d.ts +0 -5
- package/dist/types/PurgePerson.js +0 -2
- package/dist/types/PurgePost.d.ts +0 -5
- package/dist/types/PurgePost.js +0 -2
- package/dist/types/ReadableFederationState.d.ts +0 -10
- package/dist/types/ReadableFederationState.js +0 -2
- package/dist/types/Register.d.ts +0 -11
- package/dist/types/Register.js +0 -3
- package/dist/types/RegistrationApplication.d.ts +0 -10
- package/dist/types/RegistrationApplication.js +0 -2
- package/dist/types/RegistrationApplicationResponse.d.ts +0 -4
- package/dist/types/RegistrationApplicationResponse.js +0 -2
- package/dist/types/RegistrationApplicationView.d.ts +0 -9
- package/dist/types/RegistrationApplicationView.js +0 -2
- package/dist/types/RegistrationMode.d.ts +0 -1
- package/dist/types/RegistrationMode.js +0 -3
- package/dist/types/RemoveComment.d.ts +0 -6
- package/dist/types/RemoveComment.js +0 -2
- package/dist/types/RemoveCommunity.d.ts +0 -6
- package/dist/types/RemoveCommunity.js +0 -2
- package/dist/types/RemovePost.d.ts +0 -6
- package/dist/types/RemovePost.js +0 -2
- package/dist/types/ResolveCommentReport.d.ts +0 -5
- package/dist/types/ResolveCommentReport.js +0 -2
- package/dist/types/ResolveObject.d.ts +0 -3
- package/dist/types/ResolveObject.js +0 -3
- package/dist/types/ResolveObjectResponse.d.ts +0 -10
- package/dist/types/ResolveObjectResponse.js +0 -2
- package/dist/types/ResolvePostReport.d.ts +0 -5
- package/dist/types/ResolvePostReport.js +0 -2
- package/dist/types/ResolvePrivateMessageReport.d.ts +0 -5
- package/dist/types/ResolvePrivateMessageReport.js +0 -2
- package/dist/types/SaveComment.d.ts +0 -5
- package/dist/types/SaveComment.js +0 -2
- package/dist/types/SavePost.d.ts +0 -5
- package/dist/types/SavePost.js +0 -2
- package/dist/types/SaveUserSettings.d.ts +0 -32
- package/dist/types/SaveUserSettings.js +0 -2
- package/dist/types/Search.d.ts +0 -16
- package/dist/types/Search.js +0 -2
- package/dist/types/SearchResponse.d.ts +0 -12
- package/dist/types/SearchResponse.js +0 -2
- package/dist/types/SearchType.d.ts +0 -1
- package/dist/types/SearchType.js +0 -3
- package/dist/types/Site.d.ts +0 -18
- package/dist/types/Site.js +0 -2
- package/dist/types/SiteAggregates.d.ts +0 -12
- package/dist/types/SiteAggregates.js +0 -2
- package/dist/types/SiteId.d.ts +0 -1
- package/dist/types/SiteId.js +0 -3
- package/dist/types/SiteMetadata.d.ts +0 -6
- package/dist/types/SiteMetadata.js +0 -3
- package/dist/types/SiteResponse.d.ts +0 -6
- package/dist/types/SiteResponse.js +0 -2
- package/dist/types/SiteView.d.ts +0 -10
- package/dist/types/SiteView.js +0 -2
- package/dist/types/SortType.d.ts +0 -1
- package/dist/types/SortType.js +0 -3
- package/dist/types/SubscribedType.d.ts +0 -1
- package/dist/types/SubscribedType.js +0 -3
- package/dist/types/SuccessResponse.d.ts +0 -3
- package/dist/types/SuccessResponse.js +0 -3
- package/dist/types/Tagline.d.ts +0 -8
- package/dist/types/Tagline.js +0 -2
- package/dist/types/TransferCommunity.d.ts +0 -6
- package/dist/types/TransferCommunity.js +0 -2
- package/dist/types/UpdateTotp.d.ts +0 -4
- package/dist/types/UpdateTotp.js +0 -3
- package/dist/types/UpdateTotpResponse.d.ts +0 -3
- package/dist/types/UpdateTotpResponse.js +0 -3
- package/dist/types/VerifyEmail.d.ts +0 -3
- package/dist/types/VerifyEmail.js +0 -3
- package/dist/types/VoteView.d.ts +0 -5
- package/dist/types/VoteView.js +0 -2
package/dist/types/Instance.d.ts
DELETED
package/dist/types/Instance.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export type InstanceId = number;
|
package/dist/types/InstanceId.js
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import type { InstanceId } from "./InstanceId";
|
2
|
-
import type { ReadableFederationState } from "./ReadableFederationState";
|
3
|
-
export interface InstanceWithFederationState {
|
4
|
-
id: InstanceId;
|
5
|
-
domain: string;
|
6
|
-
published: string;
|
7
|
-
updated?: string;
|
8
|
-
software?: string;
|
9
|
-
version?: string;
|
10
|
-
federation_state?: ReadableFederationState;
|
11
|
-
}
|
package/dist/types/Language.d.ts
DELETED
package/dist/types/Language.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export type LanguageId = number;
|
package/dist/types/LanguageId.js
DELETED
@@ -1,310 +0,0 @@
|
|
1
|
-
export type LemmyErrorType = {
|
2
|
-
error: "report_reason_required";
|
3
|
-
} | {
|
4
|
-
error: "report_too_long";
|
5
|
-
} | {
|
6
|
-
error: "not_a_moderator";
|
7
|
-
} | {
|
8
|
-
error: "not_an_admin";
|
9
|
-
} | {
|
10
|
-
error: "cant_block_yourself";
|
11
|
-
} | {
|
12
|
-
error: "cant_block_admin";
|
13
|
-
} | {
|
14
|
-
error: "couldnt_update_user";
|
15
|
-
} | {
|
16
|
-
error: "passwords_do_not_match";
|
17
|
-
} | {
|
18
|
-
error: "email_not_verified";
|
19
|
-
} | {
|
20
|
-
error: "email_required";
|
21
|
-
} | {
|
22
|
-
error: "couldnt_update_comment";
|
23
|
-
} | {
|
24
|
-
error: "couldnt_update_private_message";
|
25
|
-
} | {
|
26
|
-
error: "cannot_leave_admin";
|
27
|
-
} | {
|
28
|
-
error: "no_lines_in_html";
|
29
|
-
} | {
|
30
|
-
error: "site_metadata_page_is_not_doctype_html";
|
31
|
-
} | {
|
32
|
-
error: "pictrs_response_error";
|
33
|
-
message: string;
|
34
|
-
} | {
|
35
|
-
error: "pictrs_purge_response_error";
|
36
|
-
message: string;
|
37
|
-
} | {
|
38
|
-
error: "pictrs_caching_disabled";
|
39
|
-
} | {
|
40
|
-
error: "image_url_missing_path_segments";
|
41
|
-
} | {
|
42
|
-
error: "image_url_missing_last_path_segment";
|
43
|
-
} | {
|
44
|
-
error: "pictrs_api_key_not_provided";
|
45
|
-
} | {
|
46
|
-
error: "no_content_type_header";
|
47
|
-
} | {
|
48
|
-
error: "not_an_image_type";
|
49
|
-
} | {
|
50
|
-
error: "not_a_mod_or_admin";
|
51
|
-
} | {
|
52
|
-
error: "no_admins";
|
53
|
-
} | {
|
54
|
-
error: "not_top_admin";
|
55
|
-
} | {
|
56
|
-
error: "not_top_mod";
|
57
|
-
} | {
|
58
|
-
error: "not_logged_in";
|
59
|
-
} | {
|
60
|
-
error: "site_ban";
|
61
|
-
} | {
|
62
|
-
error: "deleted";
|
63
|
-
} | {
|
64
|
-
error: "banned_from_community";
|
65
|
-
} | {
|
66
|
-
error: "couldnt_find_community";
|
67
|
-
} | {
|
68
|
-
error: "couldnt_find_person";
|
69
|
-
} | {
|
70
|
-
error: "person_is_blocked";
|
71
|
-
} | {
|
72
|
-
error: "community_is_blocked";
|
73
|
-
} | {
|
74
|
-
error: "instance_is_blocked";
|
75
|
-
} | {
|
76
|
-
error: "downvotes_are_disabled";
|
77
|
-
} | {
|
78
|
-
error: "instance_is_private";
|
79
|
-
} | {
|
80
|
-
error: "invalid_password";
|
81
|
-
} | {
|
82
|
-
error: "site_description_length_overflow";
|
83
|
-
} | {
|
84
|
-
error: "honeypot_failed";
|
85
|
-
} | {
|
86
|
-
error: "registration_application_is_pending";
|
87
|
-
} | {
|
88
|
-
error: "cant_enable_private_instance_and_federation_together";
|
89
|
-
} | {
|
90
|
-
error: "locked";
|
91
|
-
} | {
|
92
|
-
error: "couldnt_create_comment";
|
93
|
-
} | {
|
94
|
-
error: "max_comment_depth_reached";
|
95
|
-
} | {
|
96
|
-
error: "no_comment_edit_allowed";
|
97
|
-
} | {
|
98
|
-
error: "only_admins_can_create_communities";
|
99
|
-
} | {
|
100
|
-
error: "community_already_exists";
|
101
|
-
} | {
|
102
|
-
error: "language_not_allowed";
|
103
|
-
} | {
|
104
|
-
error: "only_mods_can_post_in_community";
|
105
|
-
} | {
|
106
|
-
error: "couldnt_update_post";
|
107
|
-
} | {
|
108
|
-
error: "no_post_edit_allowed";
|
109
|
-
} | {
|
110
|
-
error: "couldnt_find_post";
|
111
|
-
} | {
|
112
|
-
error: "edit_private_message_not_allowed";
|
113
|
-
} | {
|
114
|
-
error: "site_already_exists";
|
115
|
-
} | {
|
116
|
-
error: "application_question_required";
|
117
|
-
} | {
|
118
|
-
error: "invalid_default_post_listing_type";
|
119
|
-
} | {
|
120
|
-
error: "registration_closed";
|
121
|
-
} | {
|
122
|
-
error: "registration_application_answer_required";
|
123
|
-
} | {
|
124
|
-
error: "email_already_exists";
|
125
|
-
} | {
|
126
|
-
error: "federation_forbidden_by_strict_allow_list";
|
127
|
-
} | {
|
128
|
-
error: "person_is_banned_from_community";
|
129
|
-
} | {
|
130
|
-
error: "object_is_not_public";
|
131
|
-
} | {
|
132
|
-
error: "invalid_community";
|
133
|
-
} | {
|
134
|
-
error: "cannot_create_post_or_comment_in_deleted_or_removed_community";
|
135
|
-
} | {
|
136
|
-
error: "cannot_receive_page";
|
137
|
-
} | {
|
138
|
-
error: "new_post_cannot_be_locked";
|
139
|
-
} | {
|
140
|
-
error: "only_local_admin_can_remove_community";
|
141
|
-
} | {
|
142
|
-
error: "only_local_admin_can_restore_community";
|
143
|
-
} | {
|
144
|
-
error: "no_id_given";
|
145
|
-
} | {
|
146
|
-
error: "incorrect_login";
|
147
|
-
} | {
|
148
|
-
error: "invalid_query";
|
149
|
-
} | {
|
150
|
-
error: "object_not_local";
|
151
|
-
} | {
|
152
|
-
error: "post_is_locked";
|
153
|
-
} | {
|
154
|
-
error: "person_is_banned_from_site";
|
155
|
-
message: string;
|
156
|
-
} | {
|
157
|
-
error: "invalid_vote_value";
|
158
|
-
} | {
|
159
|
-
error: "page_does_not_specify_creator";
|
160
|
-
} | {
|
161
|
-
error: "page_does_not_specify_group";
|
162
|
-
} | {
|
163
|
-
error: "no_community_found_in_cc";
|
164
|
-
} | {
|
165
|
-
error: "no_email_setup";
|
166
|
-
} | {
|
167
|
-
error: "email_smtp_server_needs_a_port";
|
168
|
-
} | {
|
169
|
-
error: "missing_an_email";
|
170
|
-
} | {
|
171
|
-
error: "rate_limit_error";
|
172
|
-
} | {
|
173
|
-
error: "invalid_name";
|
174
|
-
} | {
|
175
|
-
error: "invalid_display_name";
|
176
|
-
} | {
|
177
|
-
error: "invalid_matrix_id";
|
178
|
-
} | {
|
179
|
-
error: "invalid_post_title";
|
180
|
-
} | {
|
181
|
-
error: "invalid_body_field";
|
182
|
-
} | {
|
183
|
-
error: "bio_length_overflow";
|
184
|
-
} | {
|
185
|
-
error: "missing_totp_token";
|
186
|
-
} | {
|
187
|
-
error: "missing_totp_secret";
|
188
|
-
} | {
|
189
|
-
error: "incorrect_totp_token";
|
190
|
-
} | {
|
191
|
-
error: "couldnt_parse_totp_secret";
|
192
|
-
} | {
|
193
|
-
error: "couldnt_generate_totp";
|
194
|
-
} | {
|
195
|
-
error: "totp_already_enabled";
|
196
|
-
} | {
|
197
|
-
error: "couldnt_like_comment";
|
198
|
-
} | {
|
199
|
-
error: "couldnt_save_comment";
|
200
|
-
} | {
|
201
|
-
error: "couldnt_create_report";
|
202
|
-
} | {
|
203
|
-
error: "couldnt_resolve_report";
|
204
|
-
} | {
|
205
|
-
error: "community_moderator_already_exists";
|
206
|
-
} | {
|
207
|
-
error: "community_user_already_banned";
|
208
|
-
} | {
|
209
|
-
error: "community_block_already_exists";
|
210
|
-
} | {
|
211
|
-
error: "community_follower_already_exists";
|
212
|
-
} | {
|
213
|
-
error: "couldnt_update_community_hidden_status";
|
214
|
-
} | {
|
215
|
-
error: "person_block_already_exists";
|
216
|
-
} | {
|
217
|
-
error: "user_already_exists";
|
218
|
-
} | {
|
219
|
-
error: "token_not_found";
|
220
|
-
} | {
|
221
|
-
error: "couldnt_like_post";
|
222
|
-
} | {
|
223
|
-
error: "couldnt_save_post";
|
224
|
-
} | {
|
225
|
-
error: "couldnt_mark_post_as_read";
|
226
|
-
} | {
|
227
|
-
error: "couldnt_update_community";
|
228
|
-
} | {
|
229
|
-
error: "couldnt_update_replies";
|
230
|
-
} | {
|
231
|
-
error: "couldnt_update_person_mentions";
|
232
|
-
} | {
|
233
|
-
error: "post_title_too_long";
|
234
|
-
} | {
|
235
|
-
error: "couldnt_create_post";
|
236
|
-
} | {
|
237
|
-
error: "couldnt_create_private_message";
|
238
|
-
} | {
|
239
|
-
error: "couldnt_update_private";
|
240
|
-
} | {
|
241
|
-
error: "system_err_login";
|
242
|
-
} | {
|
243
|
-
error: "couldnt_set_all_registrations_accepted";
|
244
|
-
} | {
|
245
|
-
error: "couldnt_set_all_email_verified";
|
246
|
-
} | {
|
247
|
-
error: "banned";
|
248
|
-
} | {
|
249
|
-
error: "couldnt_get_comments";
|
250
|
-
} | {
|
251
|
-
error: "couldnt_get_posts";
|
252
|
-
} | {
|
253
|
-
error: "invalid_url";
|
254
|
-
} | {
|
255
|
-
error: "email_send_failed";
|
256
|
-
} | {
|
257
|
-
error: "slurs";
|
258
|
-
} | {
|
259
|
-
error: "couldnt_find_object";
|
260
|
-
} | {
|
261
|
-
error: "registration_denied";
|
262
|
-
message: string | null;
|
263
|
-
} | {
|
264
|
-
error: "federation_disabled";
|
265
|
-
} | {
|
266
|
-
error: "domain_blocked";
|
267
|
-
message: string;
|
268
|
-
} | {
|
269
|
-
error: "domain_not_in_allow_list";
|
270
|
-
message: string;
|
271
|
-
} | {
|
272
|
-
error: "federation_disabled_by_strict_allow_list";
|
273
|
-
} | {
|
274
|
-
error: "site_name_required";
|
275
|
-
} | {
|
276
|
-
error: "site_name_length_overflow";
|
277
|
-
} | {
|
278
|
-
error: "permissive_regex";
|
279
|
-
} | {
|
280
|
-
error: "invalid_regex";
|
281
|
-
} | {
|
282
|
-
error: "captcha_incorrect";
|
283
|
-
} | {
|
284
|
-
error: "password_reset_limit_reached";
|
285
|
-
} | {
|
286
|
-
error: "couldnt_create_audio_captcha";
|
287
|
-
} | {
|
288
|
-
error: "invalid_url_scheme";
|
289
|
-
} | {
|
290
|
-
error: "couldnt_send_webmention";
|
291
|
-
} | {
|
292
|
-
error: "contradicting_filters";
|
293
|
-
} | {
|
294
|
-
error: "instance_block_already_exists";
|
295
|
-
} | {
|
296
|
-
error: "too_many_items";
|
297
|
-
} | {
|
298
|
-
error: "community_has_no_followers";
|
299
|
-
} | {
|
300
|
-
error: "ban_expiration_in_past";
|
301
|
-
} | {
|
302
|
-
error: "invalid_unix_time";
|
303
|
-
} | {
|
304
|
-
error: "invalid_bot_action";
|
305
|
-
} | {
|
306
|
-
error: "cant_block_local_instance";
|
307
|
-
} | {
|
308
|
-
error: "unknown";
|
309
|
-
message: string;
|
310
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export type ListingType = "All" | "Local" | "Subscribed" | "ModeratorView";
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import type { ListingType } from "./ListingType";
|
2
|
-
import type { LocalSiteId } from "./LocalSiteId";
|
3
|
-
import type { RegistrationMode } from "./RegistrationMode";
|
4
|
-
import type { SiteId } from "./SiteId";
|
5
|
-
export interface LocalSite {
|
6
|
-
id: LocalSiteId;
|
7
|
-
site_id: SiteId;
|
8
|
-
site_setup: boolean;
|
9
|
-
enable_downvotes: boolean;
|
10
|
-
enable_nsfw: boolean;
|
11
|
-
community_creation_admin_only: boolean;
|
12
|
-
require_email_verification: boolean;
|
13
|
-
application_question?: string;
|
14
|
-
private_instance: boolean;
|
15
|
-
default_theme: string;
|
16
|
-
default_post_listing_type: ListingType;
|
17
|
-
legal_information?: string;
|
18
|
-
hide_modlog_mod_names: boolean;
|
19
|
-
application_email_admins: boolean;
|
20
|
-
slur_filter_regex?: string;
|
21
|
-
actor_name_max_length: number;
|
22
|
-
federation_enabled: boolean;
|
23
|
-
captcha_enabled: boolean;
|
24
|
-
captcha_difficulty: string;
|
25
|
-
published: string;
|
26
|
-
updated?: string;
|
27
|
-
registration_mode: RegistrationMode;
|
28
|
-
reports_email_admins: boolean;
|
29
|
-
federation_signed_fetch: boolean;
|
30
|
-
}
|
package/dist/types/LocalSite.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export type LocalSiteId = number;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import type { LocalSiteId } from "./LocalSiteId";
|
2
|
-
export interface LocalSiteRateLimit {
|
3
|
-
local_site_id: LocalSiteId;
|
4
|
-
message: number;
|
5
|
-
message_per_second: number;
|
6
|
-
post: number;
|
7
|
-
post_per_second: number;
|
8
|
-
register: number;
|
9
|
-
register_per_second: number;
|
10
|
-
image: number;
|
11
|
-
image_per_second: number;
|
12
|
-
comment: number;
|
13
|
-
comment_per_second: number;
|
14
|
-
search: number;
|
15
|
-
search_per_second: number;
|
16
|
-
published: string;
|
17
|
-
updated?: string;
|
18
|
-
import_user_settings: number;
|
19
|
-
import_user_settings_per_second: number;
|
20
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import type { ListingType } from "./ListingType";
|
2
|
-
import type { LocalUserId } from "./LocalUserId";
|
3
|
-
import type { PersonId } from "./PersonId";
|
4
|
-
import type { PostListingMode } from "./PostListingMode";
|
5
|
-
import type { SortType } from "./SortType";
|
6
|
-
export interface LocalUser {
|
7
|
-
id: LocalUserId;
|
8
|
-
person_id: PersonId;
|
9
|
-
email?: string;
|
10
|
-
show_nsfw: boolean;
|
11
|
-
theme: string;
|
12
|
-
default_sort_type: SortType;
|
13
|
-
default_listing_type: ListingType;
|
14
|
-
interface_language: string;
|
15
|
-
show_avatars: boolean;
|
16
|
-
send_notifications_to_email: boolean;
|
17
|
-
show_scores: boolean;
|
18
|
-
show_bot_accounts: boolean;
|
19
|
-
show_read_posts: boolean;
|
20
|
-
email_verified: boolean;
|
21
|
-
accepted_application: boolean;
|
22
|
-
open_links_in_new_tab: boolean;
|
23
|
-
blur_nsfw: boolean;
|
24
|
-
auto_expand: boolean;
|
25
|
-
infinite_scroll_enabled: boolean;
|
26
|
-
admin: boolean;
|
27
|
-
post_listing_mode: PostListingMode;
|
28
|
-
totp_2fa_enabled: boolean;
|
29
|
-
enable_keyboard_navigation: boolean;
|
30
|
-
enable_animated_images: boolean;
|
31
|
-
collapse_bot_comments: boolean;
|
32
|
-
}
|