lemmy-js-client 1.0.0-site-person-ban.1 → 1.0.0-test-npm-token-fix.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/http.d.ts +170 -88
- package/dist/http.js +1171 -938
- package/dist/index.d.ts +62 -99
- package/dist/index.js +3 -0
- package/dist/other_types.d.ts +25 -7
- package/dist/types/AdminAllowInstanceParams.d.ts +1 -1
- package/dist/types/AdminBlockInstanceParams.d.ts +7 -2
- package/dist/types/AdminListUsers.d.ts +6 -0
- package/dist/types/AllLemmyErrors.d.ts +1 -0
- package/dist/types/AllLemmyErrors.js +117 -0
- package/dist/types/AuthenticateWithOauth.d.ts +4 -0
- package/dist/types/BanFromCommunity.d.ts +2 -2
- package/dist/types/BanPerson.d.ts +2 -2
- package/dist/types/ChangePassword.d.ts +4 -0
- package/dist/types/Comment.d.ts +11 -2
- package/dist/types/CommentActions.d.ts +6 -10
- package/dist/types/CommentActions.js +1 -0
- package/dist/types/CommentReport.d.ts +2 -2
- package/dist/types/CommentReportView.d.ts +5 -1
- package/dist/types/CommentResponse.d.ts +0 -2
- package/dist/types/CommentSlimView.d.ts +3 -5
- package/dist/types/CommentSortType.d.ts +1 -1
- package/dist/types/CommentView.d.ts +7 -4
- package/dist/types/Community.d.ts +2 -2
- package/dist/types/CommunityActions.d.ts +11 -17
- package/dist/types/CommunityFollowerState.d.ts +1 -1
- package/dist/types/CommunityIdQuery.d.ts +8 -0
- package/dist/types/CommunityNotificationsMode.d.ts +4 -0
- package/dist/types/CommunityReport.d.ts +2 -2
- package/dist/types/CommunityReportView.d.ts +6 -0
- package/dist/types/CommunitySortType.d.ts +1 -1
- package/dist/types/CommunityView.d.ts +2 -2
- package/dist/types/CommunityVisibility.d.ts +1 -1
- package/dist/types/CreateCommentLike.d.ts +2 -2
- package/dist/types/CreateCommunityTag.d.ts +10 -0
- package/dist/types/CreateCustomEmoji.d.ts +2 -1
- package/dist/types/CreateCustomEmoji.js +0 -1
- package/dist/types/CreateMultiCommunity.d.ts +5 -0
- package/dist/types/CreateOrDeleteMultiCommunityEntry.d.ts +6 -0
- package/dist/types/CreatePost.d.ts +1 -1
- package/dist/types/CreatePostLike.d.ts +2 -2
- package/dist/types/CreateSite.d.ts +17 -15
- package/dist/types/CustomEmoji.d.ts +2 -2
- package/dist/types/DeleteCommunityTag.d.ts +7 -0
- package/dist/types/EditCustomEmoji.d.ts +7 -5
- package/dist/types/EditPost.d.ts +2 -2
- package/dist/types/EditSite.d.ts +30 -25
- package/dist/types/ExportDataResponse.d.ts +13 -0
- package/dist/types/FederatedInstanceView.d.ts +12 -0
- package/dist/types/FederationAllowList.d.ts +4 -0
- package/dist/types/FederationBlockList.d.ts +3 -5
- package/dist/types/FederationBlockList.js +1 -0
- package/dist/types/FederationMode.d.ts +1 -1
- package/dist/types/FederationQueueState.d.ts +18 -0
- package/dist/types/FollowMultiCommunity.d.ts +5 -0
- package/dist/types/GetComments.d.ts +2 -3
- package/dist/types/GetFederatedInstances.d.ts +8 -0
- package/dist/types/GetFederatedInstancesKind.d.ts +1 -0
- package/dist/types/GetModlog.d.ts +3 -3
- package/dist/types/GetMultiCommunity.d.ts +5 -0
- package/dist/types/GetMultiCommunityResponse.d.ts +6 -0
- package/dist/types/GetPersonDetailsResponse.d.ts +2 -0
- package/dist/types/GetPosts.d.ts +6 -12
- package/dist/types/GetSiteResponse.d.ts +8 -0
- package/dist/types/HideCommunity.d.ts +1 -1
- package/dist/types/Instance.d.ts +4 -3
- package/dist/types/InstanceActions.d.ts +8 -8
- package/dist/types/InstanceActions.js +1 -0
- package/dist/types/InstanceWithFederationState.d.ts +2 -2
- package/dist/types/LemmyErrorType.d.ts +45 -94
- package/dist/types/LikeType.d.ts +4 -0
- package/dist/types/LinkMetadata.d.ts +4 -0
- package/dist/types/ListCommentLikes.d.ts +2 -1
- package/dist/types/ListCommunities.d.ts +2 -1
- package/dist/types/ListCommunityPendingFollows.d.ts +3 -2
- package/dist/types/ListCommunityPendingFollows.js +0 -1
- package/dist/types/ListCustomEmojis.d.ts +0 -3
- package/dist/types/ListMedia.d.ts +2 -1
- package/dist/types/ListMedia.js +0 -1
- package/dist/types/ListMultiCommunities.d.ts +16 -0
- package/dist/types/{ListInbox.d.ts → ListNotifications.d.ts} +4 -4
- package/dist/types/ListPersonContent.d.ts +1 -1
- package/dist/types/{ListBannedPersons.d.ts → ListPersonHidden.d.ts} +2 -3
- package/dist/types/ListPersonLiked.d.ts +12 -0
- package/dist/types/ListPersonRead.d.ts +8 -0
- package/dist/types/ListPersonSaved.d.ts +1 -1
- package/dist/types/ListPostLikes.d.ts +2 -1
- package/dist/types/ListRegistrationApplications.d.ts +2 -1
- package/dist/types/ListRegistrationApplications.js +0 -1
- package/dist/types/ListReports.d.ts +1 -1
- package/dist/types/ListTaglines.d.ts +2 -1
- package/dist/types/ListTaglines.js +0 -1
- package/dist/types/ListingType.d.ts +1 -1
- package/dist/types/LocalImage.d.ts +8 -3
- package/dist/types/LocalImageView.d.ts +2 -0
- package/dist/types/LocalSite.d.ts +9 -15
- package/dist/types/LocalSiteRateLimit.d.ts +16 -16
- package/dist/types/LocalSiteUrlBlocklist.d.ts +2 -2
- package/dist/types/LocalUser.d.ts +13 -14
- package/dist/types/LocalUserView.d.ts +2 -2
- package/dist/types/LockComment.d.ts +9 -0
- package/dist/types/LockPost.d.ts +1 -0
- package/dist/types/Login.d.ts +7 -0
- package/dist/types/LoginToken.d.ts +1 -1
- package/dist/types/MarkManyPostsAsRead.d.ts +1 -0
- package/dist/types/MarkNotificationAsRead.d.ts +8 -0
- package/dist/types/ModEditPost.d.ts +10 -0
- package/dist/types/Modlog.d.ts +10 -0
- package/dist/types/ModlogId.d.ts +1 -0
- package/dist/types/ModlogKind.d.ts +4 -0
- package/dist/types/ModlogView.d.ts +15 -0
- package/dist/types/MultiCommunity.d.ts +20 -0
- package/dist/types/MultiCommunityEntry.d.ts +6 -0
- package/dist/types/MultiCommunityFollow.d.ts +8 -0
- package/dist/types/MultiCommunityId.d.ts +1 -0
- package/dist/types/MultiCommunityListingType.d.ts +4 -0
- package/dist/types/MultiCommunityResponse.d.ts +4 -0
- package/dist/types/MultiCommunitySortType.d.ts +1 -0
- package/dist/types/MultiCommunityView.d.ts +8 -0
- package/dist/types/MyUserInfo.d.ts +5 -1
- package/dist/types/NotePerson.d.ts +10 -0
- package/dist/types/Notification.d.ts +18 -0
- package/dist/types/NotificationData.d.ts +13 -0
- package/dist/types/NotificationDataType.d.ts +4 -0
- package/dist/types/NotificationId.d.ts +1 -0
- package/dist/types/NotificationType.d.ts +4 -0
- package/dist/types/NotificationView.d.ts +6 -0
- package/dist/types/OAuthAccount.d.ts +2 -2
- package/dist/types/OAuthProvider.d.ts +2 -2
- package/dist/types/OpenGraphData.d.ts +4 -0
- package/dist/types/PagedResponse.d.ts +11 -0
- package/dist/types/PaginationCursor.d.ts +5 -1
- package/dist/types/PendingFollowerView.d.ts +9 -0
- package/dist/types/Person.d.ts +2 -2
- package/dist/types/PersonActions.d.ts +21 -4
- package/dist/types/PersonActions.js +1 -0
- package/dist/types/PersonContentType.d.ts +1 -1
- package/dist/types/PersonResponse.d.ts +7 -0
- package/dist/types/PersonView.d.ts +4 -3
- package/dist/types/PluginMetadata.d.ts +5 -0
- package/dist/types/Post.d.ts +14 -7
- package/dist/types/PostActions.d.ts +15 -17
- package/dist/types/{PersonSavedCombinedView.d.ts → PostCommentCombinedView.d.ts} +3 -3
- package/dist/types/PostFeatureType.d.ts +1 -1
- package/dist/types/PostListingMode.d.ts +1 -1
- package/dist/types/PostNotificationsMode.d.ts +4 -0
- package/dist/types/PostOrCommentOrPrivateMessage.d.ts +10 -0
- package/dist/types/PostReport.d.ts +2 -2
- package/dist/types/PostReportView.d.ts +5 -1
- package/dist/types/PostSortType.d.ts +1 -1
- package/dist/types/PostView.d.ts +7 -4
- package/dist/types/PrivateMessage.d.ts +2 -3
- package/dist/types/PrivateMessageReport.d.ts +2 -2
- package/dist/types/PrivateMessageReportView.d.ts +3 -0
- package/dist/types/PurgeComment.d.ts +1 -1
- package/dist/types/PurgeCommunity.d.ts +1 -1
- package/dist/types/PurgePerson.d.ts +1 -1
- package/dist/types/PurgePost.d.ts +1 -1
- package/dist/types/ReadableFederationState.d.ts +3 -3
- package/dist/types/Register.d.ts +4 -0
- package/dist/types/RegistrationApplication.d.ts +2 -1
- package/dist/types/RegistrationMode.d.ts +1 -1
- package/dist/types/RemoveComment.d.ts +1 -1
- package/dist/types/RemoveCommunity.d.ts +1 -1
- package/dist/types/RemovePost.d.ts +1 -1
- package/dist/types/ReportCombinedView.d.ts +4 -4
- package/dist/types/ReportType.d.ts +1 -1
- package/dist/types/SaveUserSettings.d.ts +12 -6
- package/dist/types/Search.d.ts +10 -2
- package/dist/types/SearchCombinedView.d.ts +8 -5
- package/dist/types/SearchResponse.d.ts +12 -1
- package/dist/types/SearchSortType.d.ts +1 -1
- package/dist/types/SearchType.d.ts +1 -1
- package/dist/types/Site.d.ts +4 -3
- package/dist/types/SiteResponse.d.ts +0 -4
- package/dist/types/Tag.d.ts +7 -13
- package/dist/types/Tagline.d.ts +4 -3
- package/dist/types/Tagline.js +0 -1
- package/dist/types/TagsView.d.ts +5 -0
- package/dist/types/UntranslatedError.d.ts +14 -0
- package/dist/types/UpdateCommunityNotifications.d.ts +9 -0
- package/dist/types/UpdateCommunityTag.d.ts +9 -0
- package/dist/types/UpdateMultiCommunity.d.ts +7 -0
- package/dist/types/UpdatePostNotifications.d.ts +9 -0
- package/dist/types/UserBlockInstanceCommunitiesParams.d.ts +8 -0
- package/dist/types/{UserBlockInstanceParams.d.ts → UserBlockInstancePersonsParams.d.ts} +2 -2
- package/dist/types/UserSettingsBackup.d.ts +29 -0
- package/dist/types/VoteShow.d.ts +4 -0
- package/dist/types/VoteView.d.ts +5 -1
- package/package.json +11 -7
- package/dist/types/AdminAllowInstance.d.ts +0 -11
- package/dist/types/AdminAllowInstanceId.d.ts +0 -1
- package/dist/types/AdminAllowInstanceView.d.ts +0 -11
- package/dist/types/AdminBlockInstance.d.ts +0 -12
- package/dist/types/AdminBlockInstanceId.d.ts +0 -1
- package/dist/types/AdminBlockInstanceView.d.ts +0 -11
- package/dist/types/AdminPurgeComment.d.ts +0 -13
- package/dist/types/AdminPurgeCommentId.d.ts +0 -1
- package/dist/types/AdminPurgeCommentView.d.ts +0 -11
- package/dist/types/AdminPurgeCommunity.d.ts +0 -11
- package/dist/types/AdminPurgeCommunityId.d.ts +0 -1
- package/dist/types/AdminPurgeCommunityView.d.ts +0 -9
- package/dist/types/AdminPurgePerson.d.ts +0 -11
- package/dist/types/AdminPurgePersonId.d.ts +0 -1
- package/dist/types/AdminPurgePersonView.d.ts +0 -9
- package/dist/types/AdminPurgePost.d.ts +0 -13
- package/dist/types/AdminPurgePostId.d.ts +0 -1
- package/dist/types/AdminPurgePostView.d.ts +0 -11
- package/dist/types/BanFromCommunityResponse.d.ts +0 -8
- package/dist/types/BanPersonResponse.d.ts +0 -8
- package/dist/types/BannedPersonsResponse.d.ts +0 -12
- package/dist/types/BlockCommunityResponse.d.ts +0 -8
- package/dist/types/BlockPersonResponse.d.ts +0 -8
- package/dist/types/CommentReply.d.ts +0 -13
- package/dist/types/CommentReplyId.d.ts +0 -4
- package/dist/types/CommentReplyView.d.ts +0 -28
- package/dist/types/FederatedInstances.d.ts +0 -9
- package/dist/types/FederationError.d.ts +0 -10
- package/dist/types/GetCommentsResponse.d.ts +0 -7
- package/dist/types/GetCommentsSlimResponse.d.ts +0 -7
- package/dist/types/GetCommunityPendingFollowsCount.d.ts +0 -4
- package/dist/types/GetFederatedInstancesResponse.d.ts +0 -10
- package/dist/types/GetModlogResponse.d.ts +0 -12
- package/dist/types/GetPostsResponse.d.ts +0 -12
- package/dist/types/InboxCombinedView.d.ts +0 -13
- package/dist/types/InboxDataType.d.ts +0 -4
- package/dist/types/ListCommentLikesResponse.d.ts +0 -7
- package/dist/types/ListCommunitiesResponse.d.ts +0 -7
- package/dist/types/ListCommunityPendingFollowsResponse.d.ts +0 -4
- package/dist/types/ListInboxResponse.d.ts +0 -12
- package/dist/types/ListMediaResponse.d.ts +0 -4
- package/dist/types/ListPersonContentResponse.d.ts +0 -12
- package/dist/types/ListPersonSavedResponse.d.ts +0 -12
- package/dist/types/ListPostLikesResponse.d.ts +0 -7
- package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -7
- package/dist/types/ListReportsResponse.d.ts +0 -12
- package/dist/types/ListTaglinesResponse.d.ts +0 -7
- package/dist/types/MarkCommentReplyAsRead.d.ts +0 -8
- package/dist/types/MarkPersonCommentMentionAsRead.d.ts +0 -8
- package/dist/types/MarkPersonPostMentionAsRead.d.ts +0 -8
- package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -8
- package/dist/types/ModAdd.d.ts +0 -12
- package/dist/types/ModAdd.js +0 -2
- package/dist/types/ModAddCommunity.d.ts +0 -14
- package/dist/types/ModAddCommunity.js +0 -2
- package/dist/types/ModAddCommunityId.d.ts +0 -1
- package/dist/types/ModAddCommunityView.d.ts +0 -12
- package/dist/types/ModAddCommunityView.js +0 -2
- package/dist/types/ModAddId.d.ts +0 -1
- package/dist/types/ModAddView.d.ts +0 -10
- package/dist/types/ModAddView.js +0 -2
- package/dist/types/ModBan.d.ts +0 -16
- package/dist/types/ModBan.js +0 -2
- package/dist/types/ModBanFromCommunity.d.ts +0 -16
- package/dist/types/ModBanFromCommunity.js +0 -2
- package/dist/types/ModBanFromCommunityId.d.ts +0 -1
- package/dist/types/ModBanFromCommunityView.d.ts +0 -12
- package/dist/types/ModBanFromCommunityView.js +0 -2
- package/dist/types/ModBanId.d.ts +0 -1
- package/dist/types/ModBanView.d.ts +0 -10
- package/dist/types/ModBanView.js +0 -2
- package/dist/types/ModChangeCommunityVisibility.d.ts +0 -12
- package/dist/types/ModChangeCommunityVisibility.js +0 -2
- package/dist/types/ModChangeCommunityVisibilityId.d.ts +0 -1
- package/dist/types/ModChangeCommunityVisibilityView.d.ts +0 -11
- package/dist/types/ModChangeCommunityVisibilityView.js +0 -2
- package/dist/types/ModFeaturePost.d.ts +0 -14
- package/dist/types/ModFeaturePost.js +0 -2
- package/dist/types/ModFeaturePostId.d.ts +0 -1
- package/dist/types/ModFeaturePostView.d.ts +0 -14
- package/dist/types/ModFeaturePostView.js +0 -2
- package/dist/types/ModLockPost.d.ts +0 -13
- package/dist/types/ModLockPost.js +0 -2
- package/dist/types/ModLockPostId.d.ts +0 -1
- package/dist/types/ModLockPostView.d.ts +0 -14
- package/dist/types/ModLockPostView.js +0 -2
- package/dist/types/ModRemoveComment.d.ts +0 -14
- package/dist/types/ModRemoveComment.js +0 -2
- package/dist/types/ModRemoveCommentId.d.ts +0 -1
- package/dist/types/ModRemoveCommentView.d.ts +0 -16
- package/dist/types/ModRemoveCommentView.js +0 -2
- package/dist/types/ModRemoveCommunity.d.ts +0 -14
- package/dist/types/ModRemoveCommunity.js +0 -2
- package/dist/types/ModRemoveCommunityId.d.ts +0 -1
- package/dist/types/ModRemoveCommunityId.js +0 -3
- package/dist/types/ModRemoveCommunityView.d.ts +0 -11
- package/dist/types/ModRemoveCommunityView.js +0 -2
- package/dist/types/ModRemovePost.d.ts +0 -14
- package/dist/types/ModRemovePost.js +0 -2
- package/dist/types/ModRemovePostId.d.ts +0 -1
- package/dist/types/ModRemovePostId.js +0 -3
- package/dist/types/ModRemovePostView.d.ts +0 -14
- package/dist/types/ModRemovePostView.js +0 -2
- package/dist/types/ModTransferCommunity.d.ts +0 -13
- package/dist/types/ModTransferCommunity.js +0 -2
- package/dist/types/ModTransferCommunityId.d.ts +0 -1
- package/dist/types/ModTransferCommunityId.js +0 -3
- package/dist/types/ModTransferCommunityView.d.ts +0 -12
- package/dist/types/ModTransferCommunityView.js +0 -2
- package/dist/types/ModlogActionType.d.ts +0 -4
- package/dist/types/ModlogActionType.js +0 -3
- package/dist/types/ModlogCombinedView.d.ts +0 -52
- package/dist/types/ModlogCombinedView.js +0 -2
- package/dist/types/PersonCommentMention.d.ts +0 -13
- package/dist/types/PersonCommentMention.js +0 -2
- package/dist/types/PersonCommentMentionId.d.ts +0 -4
- package/dist/types/PersonCommentMentionId.js +0 -3
- package/dist/types/PersonCommentMentionView.d.ts +0 -28
- package/dist/types/PersonCommentMentionView.js +0 -2
- package/dist/types/PersonContentCombinedView.d.ts +0 -7
- package/dist/types/PersonContentCombinedView.js +0 -2
- package/dist/types/PersonPostMention.d.ts +0 -13
- package/dist/types/PersonPostMention.js +0 -2
- package/dist/types/PersonPostMentionId.d.ts +0 -4
- package/dist/types/PersonPostMentionId.js +0 -3
- package/dist/types/PersonPostMentionView.d.ts +0 -28
- package/dist/types/PersonPostMentionView.js +0 -2
- package/dist/types/PersonSavedCombinedView.js +0 -2
- package/dist/types/PostPaginationCursor.d.ts +0 -7
- package/dist/types/PostPaginationCursor.js +0 -3
- package/dist/types/ResolveObjectResponse.d.ts +0 -13
- package/dist/types/ResolveObjectResponse.js +0 -2
- package/dist/types/UserBlockInstanceParams.js +0 -2
- /package/dist/types/{AdminAllowInstance.js → AdminListUsers.js} +0 -0
- /package/dist/types/{AdminAllowInstanceView.js → CommunityIdQuery.js} +0 -0
- /package/dist/types/{AdminAllowInstanceId.js → CommunityNotificationsMode.js} +0 -0
- /package/dist/types/{AdminBlockInstance.js → CreateCommunityTag.js} +0 -0
- /package/dist/types/{AdminBlockInstanceId.js → CreateMultiCommunity.js} +0 -0
- /package/dist/types/{AdminBlockInstanceView.js → CreateOrDeleteMultiCommunityEntry.js} +0 -0
- /package/dist/types/{AdminPurgeComment.js → DeleteCommunityTag.js} +0 -0
- /package/dist/types/{AdminPurgeCommentView.js → ExportDataResponse.js} +0 -0
- /package/dist/types/{AdminPurgeCommunity.js → FederatedInstanceView.js} +0 -0
- /package/dist/types/{AdminPurgeCommentId.js → FederationAllowList.js} +0 -0
- /package/dist/types/{AdminPurgeCommunityView.js → FederationQueueState.js} +0 -0
- /package/dist/types/{AdminPurgePerson.js → FollowMultiCommunity.js} +0 -0
- /package/dist/types/{AdminPurgePersonView.js → GetFederatedInstances.js} +0 -0
- /package/dist/types/{AdminPurgeCommunityId.js → GetFederatedInstancesKind.js} +0 -0
- /package/dist/types/{AdminPurgePost.js → GetMultiCommunity.js} +0 -0
- /package/dist/types/{AdminPurgePostView.js → GetMultiCommunityResponse.js} +0 -0
- /package/dist/types/{AdminPurgePersonId.js → LikeType.js} +0 -0
- /package/dist/types/{BanFromCommunityResponse.js → ListMultiCommunities.js} +0 -0
- /package/dist/types/{BanPersonResponse.js → ListNotifications.js} +0 -0
- /package/dist/types/{BannedPersonsResponse.js → ListPersonHidden.js} +0 -0
- /package/dist/types/{BlockCommunityResponse.js → ListPersonLiked.js} +0 -0
- /package/dist/types/{BlockPersonResponse.js → ListPersonRead.js} +0 -0
- /package/dist/types/{CommentReply.js → LockComment.js} +0 -0
- /package/dist/types/{CommentReplyView.js → MarkNotificationAsRead.js} +0 -0
- /package/dist/types/{FederatedInstances.js → ModEditPost.js} +0 -0
- /package/dist/types/{GetCommentsResponse.js → Modlog.js} +0 -0
- /package/dist/types/{AdminPurgePostId.js → ModlogId.js} +0 -0
- /package/dist/types/{CommentReplyId.js → ModlogKind.js} +0 -0
- /package/dist/types/{GetCommentsSlimResponse.js → ModlogView.js} +0 -0
- /package/dist/types/{GetCommunityPendingFollowsCount.js → MultiCommunity.js} +0 -0
- /package/dist/types/{GetFederatedInstancesResponse.js → MultiCommunityEntry.js} +0 -0
- /package/dist/types/{GetModlogResponse.js → MultiCommunityFollow.js} +0 -0
- /package/dist/types/{FederationError.js → MultiCommunityId.js} +0 -0
- /package/dist/types/{InboxDataType.js → MultiCommunityListingType.js} +0 -0
- /package/dist/types/{GetPostsResponse.js → MultiCommunityResponse.js} +0 -0
- /package/dist/types/{ModAddCommunityId.js → MultiCommunitySortType.js} +0 -0
- /package/dist/types/{InboxCombinedView.js → MultiCommunityView.js} +0 -0
- /package/dist/types/{ListBannedPersons.js → NotePerson.js} +0 -0
- /package/dist/types/{ListCommentLikesResponse.js → Notification.js} +0 -0
- /package/dist/types/{ListCommunitiesResponse.js → NotificationData.js} +0 -0
- /package/dist/types/{ModAddId.js → NotificationDataType.js} +0 -0
- /package/dist/types/{ModBanFromCommunityId.js → NotificationId.js} +0 -0
- /package/dist/types/{ModBanId.js → NotificationType.js} +0 -0
- /package/dist/types/{ListCommunityPendingFollowsResponse.js → NotificationView.js} +0 -0
- /package/dist/types/{ListInbox.js → PagedResponse.js} +0 -0
- /package/dist/types/{ListInboxResponse.js → PendingFollowerView.js} +0 -0
- /package/dist/types/{ListMediaResponse.js → PersonResponse.js} +0 -0
- /package/dist/types/{ModChangeCommunityVisibilityId.js → PluginMetadata.js} +0 -0
- /package/dist/types/{ListPersonContentResponse.js → PostCommentCombinedView.js} +0 -0
- /package/dist/types/{ModFeaturePostId.js → PostNotificationsMode.js} +0 -0
- /package/dist/types/{ListPersonSavedResponse.js → PostOrCommentOrPrivateMessage.js} +0 -0
- /package/dist/types/{ListPostLikesResponse.js → TagsView.js} +0 -0
- /package/dist/types/{ModLockPostId.js → UntranslatedError.js} +0 -0
- /package/dist/types/{ListRegistrationApplicationsResponse.js → UpdateCommunityNotifications.js} +0 -0
- /package/dist/types/{ListReportsResponse.js → UpdateCommunityTag.js} +0 -0
- /package/dist/types/{ListTaglinesResponse.js → UpdateMultiCommunity.js} +0 -0
- /package/dist/types/{MarkCommentReplyAsRead.js → UpdatePostNotifications.js} +0 -0
- /package/dist/types/{MarkPersonCommentMentionAsRead.js → UserBlockInstanceCommunitiesParams.js} +0 -0
- /package/dist/types/{MarkPersonPostMentionAsRead.js → UserBlockInstancePersonsParams.js} +0 -0
- /package/dist/types/{MarkPrivateMessageAsRead.js → UserSettingsBackup.js} +0 -0
- /package/dist/types/{ModRemoveCommentId.js → VoteShow.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,46 +5,22 @@ export { AddAdmin } from "./types/AddAdmin";
|
|
|
5
5
|
export { AddAdminResponse } from "./types/AddAdminResponse";
|
|
6
6
|
export { AddModToCommunity } from "./types/AddModToCommunity";
|
|
7
7
|
export { AddModToCommunityResponse } from "./types/AddModToCommunityResponse";
|
|
8
|
-
export { AdminAllowInstance } from "./types/AdminAllowInstance";
|
|
9
|
-
export { AdminAllowInstanceId } from "./types/AdminAllowInstanceId";
|
|
10
8
|
export { AdminAllowInstanceParams } from "./types/AdminAllowInstanceParams";
|
|
11
|
-
export { AdminAllowInstanceView } from "./types/AdminAllowInstanceView";
|
|
12
|
-
export { AdminBlockInstance } from "./types/AdminBlockInstance";
|
|
13
|
-
export { AdminBlockInstanceId } from "./types/AdminBlockInstanceId";
|
|
14
9
|
export { AdminBlockInstanceParams } from "./types/AdminBlockInstanceParams";
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export { AdminPurgeCommentId } from "./types/AdminPurgeCommentId";
|
|
18
|
-
export { AdminPurgeCommentView } from "./types/AdminPurgeCommentView";
|
|
19
|
-
export { AdminPurgeCommunity } from "./types/AdminPurgeCommunity";
|
|
20
|
-
export { AdminPurgeCommunityId } from "./types/AdminPurgeCommunityId";
|
|
21
|
-
export { AdminPurgeCommunityView } from "./types/AdminPurgeCommunityView";
|
|
22
|
-
export { AdminPurgePerson } from "./types/AdminPurgePerson";
|
|
23
|
-
export { AdminPurgePersonId } from "./types/AdminPurgePersonId";
|
|
24
|
-
export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
|
|
25
|
-
export { AdminPurgePost } from "./types/AdminPurgePost";
|
|
26
|
-
export { AdminPurgePostId } from "./types/AdminPurgePostId";
|
|
27
|
-
export { AdminPurgePostView } from "./types/AdminPurgePostView";
|
|
10
|
+
export { AdminListUsers } from "./types/AdminListUsers";
|
|
11
|
+
export { AllLemmyErrors } from "./types/AllLemmyErrors";
|
|
28
12
|
export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
|
29
13
|
export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
|
|
30
14
|
export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
|
|
31
15
|
export { BanFromCommunity } from "./types/BanFromCommunity";
|
|
32
|
-
export { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
|
|
33
16
|
export { BanPerson } from "./types/BanPerson";
|
|
34
|
-
export { BanPersonResponse } from "./types/BanPersonResponse";
|
|
35
|
-
export { BannedPersonsResponse } from "./types/BannedPersonsResponse";
|
|
36
17
|
export { BlockCommunity } from "./types/BlockCommunity";
|
|
37
|
-
export { BlockCommunityResponse } from "./types/BlockCommunityResponse";
|
|
38
18
|
export { BlockPerson } from "./types/BlockPerson";
|
|
39
|
-
export { BlockPersonResponse } from "./types/BlockPersonResponse";
|
|
40
19
|
export { CaptchaResponse } from "./types/CaptchaResponse";
|
|
41
20
|
export { ChangePassword } from "./types/ChangePassword";
|
|
42
21
|
export { Comment } from "./types/Comment";
|
|
43
22
|
export { CommentActions } from "./types/CommentActions";
|
|
44
23
|
export { CommentId } from "./types/CommentId";
|
|
45
|
-
export { CommentReply } from "./types/CommentReply";
|
|
46
|
-
export { CommentReplyId } from "./types/CommentReplyId";
|
|
47
|
-
export { CommentReplyView } from "./types/CommentReplyView";
|
|
48
24
|
export { CommentReport } from "./types/CommentReport";
|
|
49
25
|
export { CommentReportId } from "./types/CommentReportId";
|
|
50
26
|
export { CommentReportResponse } from "./types/CommentReportResponse";
|
|
@@ -58,7 +34,9 @@ export { CommunityActions } from "./types/CommunityActions";
|
|
|
58
34
|
export { CommunityFollowerState } from "./types/CommunityFollowerState";
|
|
59
35
|
export { CommunityFollowerView } from "./types/CommunityFollowerView";
|
|
60
36
|
export { CommunityId } from "./types/CommunityId";
|
|
37
|
+
export { CommunityIdQuery } from "./types/CommunityIdQuery";
|
|
61
38
|
export { CommunityModeratorView } from "./types/CommunityModeratorView";
|
|
39
|
+
export { CommunityNotificationsMode } from "./types/CommunityNotificationsMode";
|
|
62
40
|
export { CommunityReport } from "./types/CommunityReport";
|
|
63
41
|
export { CommunityReportId } from "./types/CommunityReportId";
|
|
64
42
|
export { CommunityReportResponse } from "./types/CommunityReportResponse";
|
|
@@ -72,8 +50,11 @@ export { CreateCommentLike } from "./types/CreateCommentLike";
|
|
|
72
50
|
export { CreateCommentReport } from "./types/CreateCommentReport";
|
|
73
51
|
export { CreateCommunity } from "./types/CreateCommunity";
|
|
74
52
|
export { CreateCommunityReport } from "./types/CreateCommunityReport";
|
|
53
|
+
export { CreateCommunityTag } from "./types/CreateCommunityTag";
|
|
75
54
|
export { CreateCustomEmoji } from "./types/CreateCustomEmoji";
|
|
55
|
+
export { CreateMultiCommunity } from "./types/CreateMultiCommunity";
|
|
76
56
|
export { CreateOAuthProvider } from "./types/CreateOAuthProvider";
|
|
57
|
+
export { CreateOrDeleteMultiCommunityEntry } from "./types/CreateOrDeleteMultiCommunityEntry";
|
|
77
58
|
export { CreatePost } from "./types/CreatePost";
|
|
78
59
|
export { CreatePostLike } from "./types/CreatePostLike";
|
|
79
60
|
export { CreatePostReport } from "./types/CreatePostReport";
|
|
@@ -90,6 +71,7 @@ export { DbUrl } from "./types/DbUrl";
|
|
|
90
71
|
export { DeleteAccount } from "./types/DeleteAccount";
|
|
91
72
|
export { DeleteComment } from "./types/DeleteComment";
|
|
92
73
|
export { DeleteCommunity } from "./types/DeleteCommunity";
|
|
74
|
+
export { DeleteCommunityTag } from "./types/DeleteCommunityTag";
|
|
93
75
|
export { DeleteCustomEmoji } from "./types/DeleteCustomEmoji";
|
|
94
76
|
export { DeleteImageParams } from "./types/DeleteImageParams";
|
|
95
77
|
export { DeleteOAuthProvider } from "./types/DeleteOAuthProvider";
|
|
@@ -104,31 +86,32 @@ export { EditOAuthProvider } from "./types/EditOAuthProvider";
|
|
|
104
86
|
export { EditPost } from "./types/EditPost";
|
|
105
87
|
export { EditPrivateMessage } from "./types/EditPrivateMessage";
|
|
106
88
|
export { EditSite } from "./types/EditSite";
|
|
89
|
+
export { ExportDataResponse } from "./types/ExportDataResponse";
|
|
107
90
|
export { FeaturePost } from "./types/FeaturePost";
|
|
108
|
-
export {
|
|
91
|
+
export { FederatedInstanceView } from "./types/FederatedInstanceView";
|
|
92
|
+
export { FederationAllowList } from "./types/FederationAllowList";
|
|
109
93
|
export { FederationBlockList } from "./types/FederationBlockList";
|
|
110
|
-
export { FederationError } from "./types/FederationError";
|
|
111
94
|
export { FederationMode } from "./types/FederationMode";
|
|
95
|
+
export { FederationQueueState } from "./types/FederationQueueState";
|
|
112
96
|
export { FollowCommunity } from "./types/FollowCommunity";
|
|
97
|
+
export { FollowMultiCommunity } from "./types/FollowMultiCommunity";
|
|
113
98
|
export { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
|
|
114
99
|
export { GetCaptchaResponse } from "./types/GetCaptchaResponse";
|
|
115
100
|
export { GetComment } from "./types/GetComment";
|
|
116
101
|
export { GetComments } from "./types/GetComments";
|
|
117
|
-
export { GetCommentsResponse } from "./types/GetCommentsResponse";
|
|
118
|
-
export { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
|
|
119
102
|
export { GetCommunity } from "./types/GetCommunity";
|
|
120
|
-
export { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
|
|
121
103
|
export { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
|
|
122
104
|
export { GetCommunityResponse } from "./types/GetCommunityResponse";
|
|
123
|
-
export {
|
|
105
|
+
export { GetFederatedInstances } from "./types/GetFederatedInstances";
|
|
106
|
+
export { GetFederatedInstancesKind } from "./types/GetFederatedInstancesKind";
|
|
124
107
|
export { GetModlog } from "./types/GetModlog";
|
|
125
|
-
export {
|
|
108
|
+
export { GetMultiCommunity } from "./types/GetMultiCommunity";
|
|
109
|
+
export { GetMultiCommunityResponse } from "./types/GetMultiCommunityResponse";
|
|
126
110
|
export { GetPersonDetails } from "./types/GetPersonDetails";
|
|
127
111
|
export { GetPersonDetailsResponse } from "./types/GetPersonDetailsResponse";
|
|
128
112
|
export { GetPost } from "./types/GetPost";
|
|
129
113
|
export { GetPostResponse } from "./types/GetPostResponse";
|
|
130
114
|
export { GetPosts } from "./types/GetPosts";
|
|
131
|
-
export { GetPostsResponse } from "./types/GetPostsResponse";
|
|
132
115
|
export { GetRandomCommunity } from "./types/GetRandomCommunity";
|
|
133
116
|
export { GetRegistrationApplication } from "./types/GetRegistrationApplication";
|
|
134
117
|
export { GetReportCount } from "./types/GetReportCount";
|
|
@@ -143,8 +126,6 @@ export { HidePost } from "./types/HidePost";
|
|
|
143
126
|
export { ImageDetails } from "./types/ImageDetails";
|
|
144
127
|
export { ImageGetParams } from "./types/ImageGetParams";
|
|
145
128
|
export { ImageProxyParams } from "./types/ImageProxyParams";
|
|
146
|
-
export { InboxCombinedView } from "./types/InboxCombinedView";
|
|
147
|
-
export { InboxDataType } from "./types/InboxDataType";
|
|
148
129
|
export { Instance } from "./types/Instance";
|
|
149
130
|
export { InstanceActions } from "./types/InstanceActions";
|
|
150
131
|
export { InstanceId } from "./types/InstanceId";
|
|
@@ -152,33 +133,26 @@ export { InstanceWithFederationState } from "./types/InstanceWithFederationState
|
|
|
152
133
|
export { Language } from "./types/Language";
|
|
153
134
|
export { LanguageId } from "./types/LanguageId";
|
|
154
135
|
export { LemmyErrorType } from "./types/LemmyErrorType";
|
|
136
|
+
export { LikeType } from "./types/LikeType";
|
|
155
137
|
export { LinkMetadata } from "./types/LinkMetadata";
|
|
156
|
-
export { ListBannedPersons } from "./types/ListBannedPersons";
|
|
157
138
|
export { ListCommentLikes } from "./types/ListCommentLikes";
|
|
158
|
-
export { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
|
|
159
139
|
export { ListCommunities } from "./types/ListCommunities";
|
|
160
|
-
export { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
|
|
161
140
|
export { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
|
|
162
|
-
export { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
|
|
163
141
|
export { ListCustomEmojis } from "./types/ListCustomEmojis";
|
|
164
142
|
export { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
|
165
|
-
export { ListInbox } from "./types/ListInbox";
|
|
166
|
-
export { ListInboxResponse } from "./types/ListInboxResponse";
|
|
167
143
|
export { ListLoginsResponse } from "./types/ListLoginsResponse";
|
|
168
144
|
export { ListMedia } from "./types/ListMedia";
|
|
169
|
-
export {
|
|
145
|
+
export { ListMultiCommunities } from "./types/ListMultiCommunities";
|
|
146
|
+
export { ListNotifications } from "./types/ListNotifications";
|
|
170
147
|
export { ListPersonContent } from "./types/ListPersonContent";
|
|
171
|
-
export {
|
|
148
|
+
export { ListPersonHidden } from "./types/ListPersonHidden";
|
|
149
|
+
export { ListPersonLiked } from "./types/ListPersonLiked";
|
|
150
|
+
export { ListPersonRead } from "./types/ListPersonRead";
|
|
172
151
|
export { ListPersonSaved } from "./types/ListPersonSaved";
|
|
173
|
-
export { ListPersonSavedResponse } from "./types/ListPersonSavedResponse";
|
|
174
152
|
export { ListPostLikes } from "./types/ListPostLikes";
|
|
175
|
-
export { ListPostLikesResponse } from "./types/ListPostLikesResponse";
|
|
176
153
|
export { ListRegistrationApplications } from "./types/ListRegistrationApplications";
|
|
177
|
-
export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
|
|
178
154
|
export { ListReports } from "./types/ListReports";
|
|
179
|
-
export { ListReportsResponse } from "./types/ListReportsResponse";
|
|
180
155
|
export { ListTaglines } from "./types/ListTaglines";
|
|
181
|
-
export { ListTaglinesResponse } from "./types/ListTaglinesResponse";
|
|
182
156
|
export { ListingType } from "./types/ListingType";
|
|
183
157
|
export { LocalImage } from "./types/LocalImage";
|
|
184
158
|
export { LocalImageView } from "./types/LocalImageView";
|
|
@@ -189,79 +163,60 @@ export { LocalSiteUrlBlocklist } from "./types/LocalSiteUrlBlocklist";
|
|
|
189
163
|
export { LocalUser } from "./types/LocalUser";
|
|
190
164
|
export { LocalUserId } from "./types/LocalUserId";
|
|
191
165
|
export { LocalUserView } from "./types/LocalUserView";
|
|
166
|
+
export { LockComment } from "./types/LockComment";
|
|
192
167
|
export { LockPost } from "./types/LockPost";
|
|
193
168
|
export { Login } from "./types/Login";
|
|
194
169
|
export { LoginResponse } from "./types/LoginResponse";
|
|
195
170
|
export { LoginToken } from "./types/LoginToken";
|
|
196
|
-
export { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
|
|
197
171
|
export { MarkManyPostsAsRead } from "./types/MarkManyPostsAsRead";
|
|
198
|
-
export {
|
|
199
|
-
export { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
|
|
172
|
+
export { MarkNotificationAsRead } from "./types/MarkNotificationAsRead";
|
|
200
173
|
export { MarkPostAsRead } from "./types/MarkPostAsRead";
|
|
201
|
-
export {
|
|
202
|
-
export {
|
|
203
|
-
export {
|
|
204
|
-
export {
|
|
205
|
-
export {
|
|
206
|
-
export {
|
|
207
|
-
export {
|
|
208
|
-
export {
|
|
209
|
-
export {
|
|
210
|
-
export {
|
|
211
|
-
export {
|
|
212
|
-
export {
|
|
213
|
-
export {
|
|
214
|
-
export { ModChangeCommunityVisibility } from "./types/ModChangeCommunityVisibility";
|
|
215
|
-
export { ModChangeCommunityVisibilityId } from "./types/ModChangeCommunityVisibilityId";
|
|
216
|
-
export { ModChangeCommunityVisibilityView } from "./types/ModChangeCommunityVisibilityView";
|
|
217
|
-
export { ModFeaturePost } from "./types/ModFeaturePost";
|
|
218
|
-
export { ModFeaturePostId } from "./types/ModFeaturePostId";
|
|
219
|
-
export { ModFeaturePostView } from "./types/ModFeaturePostView";
|
|
220
|
-
export { ModLockPost } from "./types/ModLockPost";
|
|
221
|
-
export { ModLockPostId } from "./types/ModLockPostId";
|
|
222
|
-
export { ModLockPostView } from "./types/ModLockPostView";
|
|
223
|
-
export { ModRemoveComment } from "./types/ModRemoveComment";
|
|
224
|
-
export { ModRemoveCommentId } from "./types/ModRemoveCommentId";
|
|
225
|
-
export { ModRemoveCommentView } from "./types/ModRemoveCommentView";
|
|
226
|
-
export { ModRemoveCommunity } from "./types/ModRemoveCommunity";
|
|
227
|
-
export { ModRemoveCommunityId } from "./types/ModRemoveCommunityId";
|
|
228
|
-
export { ModRemoveCommunityView } from "./types/ModRemoveCommunityView";
|
|
229
|
-
export { ModRemovePost } from "./types/ModRemovePost";
|
|
230
|
-
export { ModRemovePostId } from "./types/ModRemovePostId";
|
|
231
|
-
export { ModRemovePostView } from "./types/ModRemovePostView";
|
|
232
|
-
export { ModTransferCommunity } from "./types/ModTransferCommunity";
|
|
233
|
-
export { ModTransferCommunityId } from "./types/ModTransferCommunityId";
|
|
234
|
-
export { ModTransferCommunityView } from "./types/ModTransferCommunityView";
|
|
235
|
-
export { ModlogActionType } from "./types/ModlogActionType";
|
|
236
|
-
export { ModlogCombinedView } from "./types/ModlogCombinedView";
|
|
174
|
+
export { ModEditPost } from "./types/ModEditPost";
|
|
175
|
+
export { Modlog } from "./types/Modlog";
|
|
176
|
+
export { ModlogId } from "./types/ModlogId";
|
|
177
|
+
export { ModlogKind } from "./types/ModlogKind";
|
|
178
|
+
export { ModlogView } from "./types/ModlogView";
|
|
179
|
+
export { MultiCommunity } from "./types/MultiCommunity";
|
|
180
|
+
export { MultiCommunityEntry } from "./types/MultiCommunityEntry";
|
|
181
|
+
export { MultiCommunityFollow } from "./types/MultiCommunityFollow";
|
|
182
|
+
export { MultiCommunityId } from "./types/MultiCommunityId";
|
|
183
|
+
export { MultiCommunityListingType } from "./types/MultiCommunityListingType";
|
|
184
|
+
export { MultiCommunityResponse } from "./types/MultiCommunityResponse";
|
|
185
|
+
export { MultiCommunitySortType } from "./types/MultiCommunitySortType";
|
|
186
|
+
export { MultiCommunityView } from "./types/MultiCommunityView";
|
|
237
187
|
export { MyUserInfo } from "./types/MyUserInfo";
|
|
188
|
+
export { NotePerson } from "./types/NotePerson";
|
|
189
|
+
export { Notification } from "./types/Notification";
|
|
190
|
+
export { NotificationData } from "./types/NotificationData";
|
|
191
|
+
export { NotificationDataType } from "./types/NotificationDataType";
|
|
192
|
+
export { NotificationId } from "./types/NotificationId";
|
|
193
|
+
export { NotificationType } from "./types/NotificationType";
|
|
194
|
+
export { NotificationView } from "./types/NotificationView";
|
|
238
195
|
export { OAuthAccount } from "./types/OAuthAccount";
|
|
239
196
|
export { OAuthProvider } from "./types/OAuthProvider";
|
|
240
197
|
export { OAuthProviderId } from "./types/OAuthProviderId";
|
|
241
198
|
export { OpenGraphData } from "./types/OpenGraphData";
|
|
199
|
+
export { PagedResponse } from "./types/PagedResponse";
|
|
242
200
|
export { PaginationCursor } from "./types/PaginationCursor";
|
|
243
201
|
export { PasswordChangeAfterReset } from "./types/PasswordChangeAfterReset";
|
|
244
202
|
export { PasswordReset } from "./types/PasswordReset";
|
|
245
203
|
export { PendingFollow } from "./types/PendingFollow";
|
|
204
|
+
export { PendingFollowerView } from "./types/PendingFollowerView";
|
|
246
205
|
export { Person } from "./types/Person";
|
|
247
206
|
export { PersonActions } from "./types/PersonActions";
|
|
248
|
-
export { PersonCommentMention } from "./types/PersonCommentMention";
|
|
249
|
-
export { PersonCommentMentionId } from "./types/PersonCommentMentionId";
|
|
250
|
-
export { PersonCommentMentionView } from "./types/PersonCommentMentionView";
|
|
251
|
-
export { PersonContentCombinedView } from "./types/PersonContentCombinedView";
|
|
252
207
|
export { PersonContentType } from "./types/PersonContentType";
|
|
253
208
|
export { PersonId } from "./types/PersonId";
|
|
254
|
-
export {
|
|
255
|
-
export { PersonPostMentionId } from "./types/PersonPostMentionId";
|
|
256
|
-
export { PersonPostMentionView } from "./types/PersonPostMentionView";
|
|
257
|
-
export { PersonSavedCombinedView } from "./types/PersonSavedCombinedView";
|
|
209
|
+
export { PersonResponse } from "./types/PersonResponse";
|
|
258
210
|
export { PersonView } from "./types/PersonView";
|
|
211
|
+
export { PluginMetadata } from "./types/PluginMetadata";
|
|
259
212
|
export { Post } from "./types/Post";
|
|
260
213
|
export { PostActions } from "./types/PostActions";
|
|
214
|
+
export { PostCommentCombinedView } from "./types/PostCommentCombinedView";
|
|
261
215
|
export { PostFeatureType } from "./types/PostFeatureType";
|
|
262
216
|
export { PostId } from "./types/PostId";
|
|
263
217
|
export { PostListingMode } from "./types/PostListingMode";
|
|
264
|
-
export {
|
|
218
|
+
export { PostNotificationsMode } from "./types/PostNotificationsMode";
|
|
219
|
+
export { PostOrCommentOrPrivateMessage } from "./types/PostOrCommentOrPrivateMessage";
|
|
265
220
|
export { PostReport } from "./types/PostReport";
|
|
266
221
|
export { PostReportId } from "./types/PostReportId";
|
|
267
222
|
export { PostReportResponse } from "./types/PostReportResponse";
|
|
@@ -298,7 +253,6 @@ export { ResendVerificationEmail } from "./types/ResendVerificationEmail";
|
|
|
298
253
|
export { ResolveCommentReport } from "./types/ResolveCommentReport";
|
|
299
254
|
export { ResolveCommunityReport } from "./types/ResolveCommunityReport";
|
|
300
255
|
export { ResolveObject } from "./types/ResolveObject";
|
|
301
|
-
export { ResolveObjectResponse } from "./types/ResolveObjectResponse";
|
|
302
256
|
export { ResolvePostReport } from "./types/ResolvePostReport";
|
|
303
257
|
export { ResolvePrivateMessageReport } from "./types/ResolvePrivateMessageReport";
|
|
304
258
|
export { SaveComment } from "./types/SaveComment";
|
|
@@ -320,11 +274,20 @@ export { TagId } from "./types/TagId";
|
|
|
320
274
|
export { Tagline } from "./types/Tagline";
|
|
321
275
|
export { TaglineId } from "./types/TaglineId";
|
|
322
276
|
export { TaglineResponse } from "./types/TaglineResponse";
|
|
277
|
+
export { TagsView } from "./types/TagsView";
|
|
323
278
|
export { TransferCommunity } from "./types/TransferCommunity";
|
|
279
|
+
export { UntranslatedError } from "./types/UntranslatedError";
|
|
280
|
+
export { UpdateCommunityNotifications } from "./types/UpdateCommunityNotifications";
|
|
281
|
+
export { UpdateCommunityTag } from "./types/UpdateCommunityTag";
|
|
282
|
+
export { UpdateMultiCommunity } from "./types/UpdateMultiCommunity";
|
|
283
|
+
export { UpdatePostNotifications } from "./types/UpdatePostNotifications";
|
|
324
284
|
export { UpdateTagline } from "./types/UpdateTagline";
|
|
325
285
|
export { UpdateTotp } from "./types/UpdateTotp";
|
|
326
286
|
export { UpdateTotpResponse } from "./types/UpdateTotpResponse";
|
|
327
287
|
export { UploadImageResponse } from "./types/UploadImageResponse";
|
|
328
|
-
export {
|
|
288
|
+
export { UserBlockInstanceCommunitiesParams } from "./types/UserBlockInstanceCommunitiesParams";
|
|
289
|
+
export { UserBlockInstancePersonsParams } from "./types/UserBlockInstancePersonsParams";
|
|
290
|
+
export { UserSettingsBackup } from "./types/UserSettingsBackup";
|
|
329
291
|
export { VerifyEmail } from "./types/VerifyEmail";
|
|
292
|
+
export { VoteShow } from "./types/VoteShow";
|
|
330
293
|
export { VoteView } from "./types/VoteView";
|
package/dist/index.js
CHANGED
|
@@ -14,4 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.AllLemmyErrors = void 0;
|
|
17
18
|
__exportStar(require("./http"), exports);
|
|
19
|
+
var AllLemmyErrors_1 = require("./types/AllLemmyErrors");
|
|
20
|
+
Object.defineProperty(exports, "AllLemmyErrors", { enumerable: true, get: function () { return AllLemmyErrors_1.AllLemmyErrors; } });
|
package/dist/other_types.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { AdminListUsers } from "./types/AdminListUsers";
|
|
2
|
+
import { CommunityIdQuery } from "./types/CommunityIdQuery";
|
|
1
3
|
import { DeleteImageParams } from "./types/DeleteImageParams";
|
|
2
4
|
import { GetComment } from "./types/GetComment";
|
|
3
5
|
import { GetComments } from "./types/GetComments";
|
|
4
6
|
import { GetCommunity } from "./types/GetCommunity";
|
|
5
|
-
import { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
|
|
6
7
|
import { GetModlog } from "./types/GetModlog";
|
|
8
|
+
import { GetMultiCommunity } from "./types/GetMultiCommunity";
|
|
7
9
|
import { GetPersonDetails } from "./types/GetPersonDetails";
|
|
8
10
|
import { GetPost } from "./types/GetPost";
|
|
9
11
|
import { GetPosts } from "./types/GetPosts";
|
|
@@ -11,14 +13,17 @@ import { GetRandomCommunity } from "./types/GetRandomCommunity";
|
|
|
11
13
|
import { GetRegistrationApplication } from "./types/GetRegistrationApplication";
|
|
12
14
|
import { GetReportCount } from "./types/GetReportCount";
|
|
13
15
|
import { GetSiteMetadata } from "./types/GetSiteMetadata";
|
|
14
|
-
import { ListBannedPersons } from "./types/ListBannedPersons";
|
|
15
16
|
import { ListCommentLikes } from "./types/ListCommentLikes";
|
|
16
17
|
import { ListCommunities } from "./types/ListCommunities";
|
|
17
18
|
import { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
|
|
18
19
|
import { ListCustomEmojis } from "./types/ListCustomEmojis";
|
|
19
|
-
import {
|
|
20
|
+
import { ListNotifications } from "./types/ListNotifications";
|
|
20
21
|
import { ListMedia } from "./types/ListMedia";
|
|
22
|
+
import { ListMultiCommunities } from "./types/ListMultiCommunities";
|
|
21
23
|
import { ListPersonContent } from "./types/ListPersonContent";
|
|
24
|
+
import { ListPersonHidden } from "./types/ListPersonHidden";
|
|
25
|
+
import { ListPersonLiked } from "./types/ListPersonLiked";
|
|
26
|
+
import { ListPersonRead } from "./types/ListPersonRead";
|
|
22
27
|
import { ListPersonSaved } from "./types/ListPersonSaved";
|
|
23
28
|
import { ListPostLikes } from "./types/ListPostLikes";
|
|
24
29
|
import { ListRegistrationApplications } from "./types/ListRegistrationApplications";
|
|
@@ -26,6 +31,7 @@ import { ListReports } from "./types/ListReports";
|
|
|
26
31
|
import { ListTaglines } from "./types/ListTaglines";
|
|
27
32
|
import { ResolveObject } from "./types/ResolveObject";
|
|
28
33
|
import { Search } from "./types/Search";
|
|
34
|
+
import { GetFederatedInstances } from "./types/GetFederatedInstances";
|
|
29
35
|
export declare const VERSION = "v4";
|
|
30
36
|
export interface UploadImage {
|
|
31
37
|
image: File | Buffer;
|
|
@@ -42,8 +48,6 @@ export interface GetCommunityI extends GetCommunity {
|
|
|
42
48
|
}
|
|
43
49
|
export interface ListCommunitiesI extends ListCommunities {
|
|
44
50
|
}
|
|
45
|
-
export interface GetCommunityPendingFollowsCountI extends GetCommunityPendingFollowsCount {
|
|
46
|
-
}
|
|
47
51
|
export interface ListCommunityPendingFollowsI extends ListCommunityPendingFollows {
|
|
48
52
|
}
|
|
49
53
|
export interface GetRandomCommunityI extends GetRandomCommunity {
|
|
@@ -68,10 +72,16 @@ export interface ListPersonContentI extends ListPersonContent {
|
|
|
68
72
|
}
|
|
69
73
|
export interface GetReportCountI extends GetReportCount {
|
|
70
74
|
}
|
|
71
|
-
export interface
|
|
75
|
+
export interface ListNotificationsI extends ListNotifications {
|
|
72
76
|
}
|
|
73
77
|
export interface ListPersonSavedI extends ListPersonSaved {
|
|
74
78
|
}
|
|
79
|
+
export interface ListPersonReadI extends ListPersonRead {
|
|
80
|
+
}
|
|
81
|
+
export interface ListPersonHiddenI extends ListPersonHidden {
|
|
82
|
+
}
|
|
83
|
+
export interface ListPersonLikedI extends ListPersonLiked {
|
|
84
|
+
}
|
|
75
85
|
export interface ListRegistrationApplicationsI extends ListRegistrationApplications {
|
|
76
86
|
}
|
|
77
87
|
export interface GetRegistrationApplicationI extends GetRegistrationApplication {
|
|
@@ -84,5 +94,13 @@ export interface ListReportsI extends ListReports {
|
|
|
84
94
|
}
|
|
85
95
|
export interface DeleteImageParamsI extends DeleteImageParams {
|
|
86
96
|
}
|
|
87
|
-
export interface
|
|
97
|
+
export interface AdminListUsersI extends AdminListUsers {
|
|
98
|
+
}
|
|
99
|
+
export interface CommunityIdQueryI extends CommunityIdQuery {
|
|
100
|
+
}
|
|
101
|
+
export interface ListMultiCommunitiesI extends ListMultiCommunities {
|
|
102
|
+
}
|
|
103
|
+
export interface GetMultiCommunityI extends GetMultiCommunity {
|
|
104
|
+
}
|
|
105
|
+
export interface GetFederatedInstancesI extends GetFederatedInstances {
|
|
88
106
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export type AdminBlockInstanceParams = {
|
|
2
2
|
instance: string;
|
|
3
3
|
block: boolean;
|
|
4
|
-
reason
|
|
5
|
-
|
|
4
|
+
reason: string;
|
|
5
|
+
/**
|
|
6
|
+
* A time that the block will expire, in unix epoch seconds.
|
|
7
|
+
*
|
|
8
|
+
* An i64 unix timestamp is used for a simpler API client implementation.
|
|
9
|
+
*/
|
|
10
|
+
expires_at?: number;
|
|
6
11
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AllLemmyErrors: string[];
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AllLemmyErrors = void 0;
|
|
4
|
+
exports.AllLemmyErrors = [
|
|
5
|
+
"block_keyword_too_short",
|
|
6
|
+
"block_keyword_too_long",
|
|
7
|
+
"couldnt_update",
|
|
8
|
+
"couldnt_create",
|
|
9
|
+
"report_reason_required",
|
|
10
|
+
"report_too_long",
|
|
11
|
+
"not_a_moderator",
|
|
12
|
+
"not_an_admin",
|
|
13
|
+
"cant_block_yourself",
|
|
14
|
+
"cant_note_yourself",
|
|
15
|
+
"cant_block_admin",
|
|
16
|
+
"passwords_do_not_match",
|
|
17
|
+
"email_not_verified",
|
|
18
|
+
"email_required",
|
|
19
|
+
"cannot_leave_admin",
|
|
20
|
+
"cannot_leave_mod",
|
|
21
|
+
"cannot_leave_mod",
|
|
22
|
+
"cannot_leave_mod",
|
|
23
|
+
"pictrs_api_key_not_provided",
|
|
24
|
+
"pictrs_api_key_not_provided",
|
|
25
|
+
"no_content_type_header",
|
|
26
|
+
"not_an_image_type",
|
|
27
|
+
"image_upload_disabled",
|
|
28
|
+
"not_a_mod_or_admin",
|
|
29
|
+
"not_top_mod",
|
|
30
|
+
"not_logged_in",
|
|
31
|
+
"not_higher_mod",
|
|
32
|
+
"not_higher_admin",
|
|
33
|
+
"site_ban",
|
|
34
|
+
"deleted",
|
|
35
|
+
"person_is_blocked",
|
|
36
|
+
"community_is_blocked",
|
|
37
|
+
"instance_is_blocked",
|
|
38
|
+
"instance_is_private",
|
|
39
|
+
"invalid_password",
|
|
40
|
+
"site_description_length_overflow",
|
|
41
|
+
"honeypot_failed",
|
|
42
|
+
"registration_application_is_pending",
|
|
43
|
+
"locked",
|
|
44
|
+
"max_comment_depth_reached",
|
|
45
|
+
"no_comment_edit_allowed",
|
|
46
|
+
"only_admins_can_create_communities",
|
|
47
|
+
"already_exists",
|
|
48
|
+
"language_not_allowed",
|
|
49
|
+
"no_post_edit_allowed",
|
|
50
|
+
"nsfw_not_allowed",
|
|
51
|
+
"edit_private_message_not_allowed",
|
|
52
|
+
"application_question_required",
|
|
53
|
+
"invalid_default_post_listing_type",
|
|
54
|
+
"registration_closed",
|
|
55
|
+
"registration_application_answer_required",
|
|
56
|
+
"registration_username_required",
|
|
57
|
+
"email_already_taken",
|
|
58
|
+
"username_already_taken",
|
|
59
|
+
"person_is_banned_from_community",
|
|
60
|
+
"no_id_given",
|
|
61
|
+
"incorrect_login",
|
|
62
|
+
"no_email_setup",
|
|
63
|
+
"local_site_not_setup",
|
|
64
|
+
"local_site_not_setup",
|
|
65
|
+
"invalid_name",
|
|
66
|
+
"invalid_code_verifier",
|
|
67
|
+
"invalid_display_name",
|
|
68
|
+
"invalid_matrix_id",
|
|
69
|
+
"invalid_post_title",
|
|
70
|
+
"invalid_body_field",
|
|
71
|
+
"bio_length_overflow",
|
|
72
|
+
"alt_text_length_overflow",
|
|
73
|
+
"couldnt_parse_totp_secret",
|
|
74
|
+
"couldnt_generate_totp",
|
|
75
|
+
"missing_totp_token",
|
|
76
|
+
"missing_totp_secret",
|
|
77
|
+
"incorrect_totp_token",
|
|
78
|
+
"totp_already_enabled",
|
|
79
|
+
"blocked_url",
|
|
80
|
+
"invalid_url",
|
|
81
|
+
"email_send_failed",
|
|
82
|
+
"slurs",
|
|
83
|
+
"slurs",
|
|
84
|
+
"site_name_required",
|
|
85
|
+
"site_name_length_overflow",
|
|
86
|
+
"permissive_regex",
|
|
87
|
+
"invalid_regex",
|
|
88
|
+
"captcha_incorrect",
|
|
89
|
+
"couldnt_create_audio_captcha",
|
|
90
|
+
"couldnt_create_image_captcha",
|
|
91
|
+
"invalid_url_scheme",
|
|
92
|
+
"contradicting_filters",
|
|
93
|
+
"too_many_items",
|
|
94
|
+
"ban_expiration_in_past",
|
|
95
|
+
"invalid_unix_time",
|
|
96
|
+
"invalid_bot_action",
|
|
97
|
+
"tag_not_in_community",
|
|
98
|
+
"cant_block_local_instance",
|
|
99
|
+
"cant_block_local_instance",
|
|
100
|
+
"url_length_overflow",
|
|
101
|
+
"oauth_authorization_invalid",
|
|
102
|
+
"oauth_login_failed",
|
|
103
|
+
"oauth_registration_closed",
|
|
104
|
+
"not_found",
|
|
105
|
+
"post_schedule_time_must_be_in_future",
|
|
106
|
+
"too_many_scheduled_posts",
|
|
107
|
+
"cannot_combine_federation_blocklist_and_allowlist",
|
|
108
|
+
"cannot_combine_federation_blocklist_and_allowlist",
|
|
109
|
+
"couldnt_parse_pagination_token",
|
|
110
|
+
"couldnt_parse_pagination_token",
|
|
111
|
+
"invalid_fetch_limit",
|
|
112
|
+
"email_notifications_disabled",
|
|
113
|
+
"multi_community_update_wrong_user",
|
|
114
|
+
"cannot_combine_community_id_and_multi_community_id",
|
|
115
|
+
"multi_community_entry_limit_reached",
|
|
116
|
+
"too_many_requests",
|
|
117
|
+
];
|
|
@@ -12,11 +12,11 @@ export type BanFromCommunity = {
|
|
|
12
12
|
* If ban is true, then this means remove. If ban is false, it means restore.
|
|
13
13
|
*/
|
|
14
14
|
remove_or_restore_data?: boolean;
|
|
15
|
-
reason
|
|
15
|
+
reason: string;
|
|
16
16
|
/**
|
|
17
17
|
* A time that the ban will expire, in unix epoch seconds.
|
|
18
18
|
*
|
|
19
19
|
* An i64 unix timestamp is used for a simpler API client implementation.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
expires_at?: number;
|
|
22
22
|
};
|
|
@@ -10,11 +10,11 @@ export type BanPerson = {
|
|
|
10
10
|
* If ban is true, then this means remove. If ban is false, it means restore.
|
|
11
11
|
*/
|
|
12
12
|
remove_or_restore_data?: boolean;
|
|
13
|
-
reason
|
|
13
|
+
reason: string;
|
|
14
14
|
/**
|
|
15
15
|
* A time that the ban will expire, in unix epoch seconds.
|
|
16
16
|
*
|
|
17
17
|
* An i64 unix timestamp is used for a simpler API client implementation.
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
expires_at?: number;
|
|
20
20
|
};
|
|
@@ -6,4 +6,8 @@ export type ChangePassword = {
|
|
|
6
6
|
new_password: SensitiveString;
|
|
7
7
|
new_password_verify: SensitiveString;
|
|
8
8
|
old_password: SensitiveString;
|
|
9
|
+
/**
|
|
10
|
+
* If this is true the login is valid forever, otherwise it expires after one week.
|
|
11
|
+
*/
|
|
12
|
+
stay_logged_in?: boolean;
|
|
9
13
|
};
|
package/dist/types/Comment.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ export type Comment = {
|
|
|
15
15
|
* Whether the comment has been removed.
|
|
16
16
|
*/
|
|
17
17
|
removed: boolean;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
published_at: string;
|
|
19
|
+
updated_at?: string;
|
|
20
20
|
/**
|
|
21
21
|
* Whether the comment has been deleted by its creator.
|
|
22
22
|
*/
|
|
@@ -48,4 +48,13 @@ export type Comment = {
|
|
|
48
48
|
child_count: number;
|
|
49
49
|
report_count: number;
|
|
50
50
|
unresolved_report_count: number;
|
|
51
|
+
/**
|
|
52
|
+
* If a local user comments in a remote community, the comment is hidden until it is confirmed
|
|
53
|
+
* accepted by the community (by receiving it back via federation).
|
|
54
|
+
*/
|
|
55
|
+
federation_pending: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the comment is locked.
|
|
58
|
+
*/
|
|
59
|
+
locked: boolean;
|
|
51
60
|
};
|