lemmy-js-client 1.0.0-site-person-ban.0 → 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.
Files changed (386) hide show
  1. package/README.md +6 -0
  2. package/dist/http.d.ts +170 -88
  3. package/dist/http.js +1171 -938
  4. package/dist/index.d.ts +62 -99
  5. package/dist/index.js +3 -0
  6. package/dist/other_types.d.ts +25 -7
  7. package/dist/types/AdminAllowInstanceParams.d.ts +1 -1
  8. package/dist/types/AdminBlockInstanceParams.d.ts +7 -2
  9. package/dist/types/AdminListUsers.d.ts +6 -0
  10. package/dist/types/AllLemmyErrors.d.ts +1 -0
  11. package/dist/types/AllLemmyErrors.js +117 -0
  12. package/dist/types/AuthenticateWithOauth.d.ts +4 -0
  13. package/dist/types/BanFromCommunity.d.ts +2 -2
  14. package/dist/types/BanPerson.d.ts +2 -2
  15. package/dist/types/ChangePassword.d.ts +4 -0
  16. package/dist/types/Comment.d.ts +11 -2
  17. package/dist/types/CommentActions.d.ts +6 -10
  18. package/dist/types/CommentActions.js +1 -0
  19. package/dist/types/CommentReport.d.ts +2 -2
  20. package/dist/types/CommentReportView.d.ts +5 -1
  21. package/dist/types/CommentResponse.d.ts +0 -2
  22. package/dist/types/CommentSlimView.d.ts +3 -4
  23. package/dist/types/CommentSortType.d.ts +1 -1
  24. package/dist/types/CommentView.d.ts +7 -3
  25. package/dist/types/Community.d.ts +2 -2
  26. package/dist/types/CommunityActions.d.ts +11 -17
  27. package/dist/types/CommunityFollowerState.d.ts +1 -1
  28. package/dist/types/CommunityIdQuery.d.ts +8 -0
  29. package/dist/types/CommunityNotificationsMode.d.ts +4 -0
  30. package/dist/types/CommunityReport.d.ts +2 -2
  31. package/dist/types/CommunityReportView.d.ts +6 -0
  32. package/dist/types/CommunitySortType.d.ts +1 -1
  33. package/dist/types/CommunityView.d.ts +2 -2
  34. package/dist/types/CommunityVisibility.d.ts +1 -1
  35. package/dist/types/CreateCommentLike.d.ts +2 -2
  36. package/dist/types/CreateCommunityTag.d.ts +10 -0
  37. package/dist/types/CreateCustomEmoji.d.ts +2 -1
  38. package/dist/types/CreateCustomEmoji.js +0 -1
  39. package/dist/types/CreateMultiCommunity.d.ts +5 -0
  40. package/dist/types/CreateOrDeleteMultiCommunityEntry.d.ts +6 -0
  41. package/dist/types/CreatePost.d.ts +1 -1
  42. package/dist/types/CreatePostLike.d.ts +2 -2
  43. package/dist/types/CreateSite.d.ts +17 -15
  44. package/dist/types/CustomEmoji.d.ts +2 -2
  45. package/dist/types/DeleteCommunityTag.d.ts +7 -0
  46. package/dist/types/EditCustomEmoji.d.ts +7 -5
  47. package/dist/types/EditPost.d.ts +2 -2
  48. package/dist/types/EditSite.d.ts +30 -25
  49. package/dist/types/ExportDataResponse.d.ts +13 -0
  50. package/dist/types/FederatedInstanceView.d.ts +12 -0
  51. package/dist/types/FederationAllowList.d.ts +4 -0
  52. package/dist/types/FederationBlockList.d.ts +3 -5
  53. package/dist/types/FederationBlockList.js +1 -0
  54. package/dist/types/FederationMode.d.ts +1 -1
  55. package/dist/types/FederationQueueState.d.ts +18 -0
  56. package/dist/types/FollowMultiCommunity.d.ts +5 -0
  57. package/dist/types/GetComments.d.ts +2 -3
  58. package/dist/types/GetFederatedInstances.d.ts +8 -0
  59. package/dist/types/GetFederatedInstancesKind.d.ts +1 -0
  60. package/dist/types/GetModlog.d.ts +3 -3
  61. package/dist/types/GetMultiCommunity.d.ts +5 -0
  62. package/dist/types/GetMultiCommunityResponse.d.ts +6 -0
  63. package/dist/types/GetPersonDetailsResponse.d.ts +2 -0
  64. package/dist/types/GetPosts.d.ts +6 -12
  65. package/dist/types/GetSiteResponse.d.ts +8 -0
  66. package/dist/types/HideCommunity.d.ts +1 -1
  67. package/dist/types/Instance.d.ts +4 -3
  68. package/dist/types/InstanceActions.d.ts +8 -8
  69. package/dist/types/InstanceActions.js +1 -0
  70. package/dist/types/InstanceWithFederationState.d.ts +2 -2
  71. package/dist/types/LemmyErrorType.d.ts +45 -94
  72. package/dist/types/LikeType.d.ts +4 -0
  73. package/dist/types/LinkMetadata.d.ts +4 -0
  74. package/dist/types/ListCommentLikes.d.ts +2 -1
  75. package/dist/types/ListCommunities.d.ts +2 -1
  76. package/dist/types/ListCommunityPendingFollows.d.ts +3 -2
  77. package/dist/types/ListCommunityPendingFollows.js +0 -1
  78. package/dist/types/ListCustomEmojis.d.ts +0 -3
  79. package/dist/types/ListMedia.d.ts +2 -1
  80. package/dist/types/ListMedia.js +0 -1
  81. package/dist/types/ListMultiCommunities.d.ts +16 -0
  82. package/dist/types/{ListInbox.d.ts → ListNotifications.d.ts} +4 -4
  83. package/dist/types/ListPersonContent.d.ts +1 -1
  84. package/dist/types/{ListBannedPersons.d.ts → ListPersonHidden.d.ts} +2 -3
  85. package/dist/types/ListPersonLiked.d.ts +12 -0
  86. package/dist/types/ListPersonRead.d.ts +8 -0
  87. package/dist/types/ListPersonSaved.d.ts +1 -1
  88. package/dist/types/ListPostLikes.d.ts +2 -1
  89. package/dist/types/ListRegistrationApplications.d.ts +2 -1
  90. package/dist/types/ListRegistrationApplications.js +0 -1
  91. package/dist/types/ListReports.d.ts +1 -1
  92. package/dist/types/ListTaglines.d.ts +2 -1
  93. package/dist/types/ListTaglines.js +0 -1
  94. package/dist/types/ListingType.d.ts +1 -1
  95. package/dist/types/LocalImage.d.ts +8 -3
  96. package/dist/types/LocalImageView.d.ts +2 -0
  97. package/dist/types/LocalSite.d.ts +9 -15
  98. package/dist/types/LocalSiteRateLimit.d.ts +16 -16
  99. package/dist/types/LocalSiteUrlBlocklist.d.ts +2 -2
  100. package/dist/types/LocalUser.d.ts +13 -14
  101. package/dist/types/LocalUserView.d.ts +2 -2
  102. package/dist/types/LockComment.d.ts +9 -0
  103. package/dist/types/LockPost.d.ts +1 -0
  104. package/dist/types/Login.d.ts +7 -0
  105. package/dist/types/LoginToken.d.ts +1 -1
  106. package/dist/types/MarkManyPostsAsRead.d.ts +1 -0
  107. package/dist/types/MarkNotificationAsRead.d.ts +8 -0
  108. package/dist/types/ModEditPost.d.ts +10 -0
  109. package/dist/types/Modlog.d.ts +10 -0
  110. package/dist/types/ModlogId.d.ts +1 -0
  111. package/dist/types/ModlogKind.d.ts +4 -0
  112. package/dist/types/ModlogView.d.ts +15 -0
  113. package/dist/types/MultiCommunity.d.ts +20 -0
  114. package/dist/types/MultiCommunityEntry.d.ts +6 -0
  115. package/dist/types/MultiCommunityFollow.d.ts +8 -0
  116. package/dist/types/MultiCommunityId.d.ts +1 -0
  117. package/dist/types/MultiCommunityListingType.d.ts +4 -0
  118. package/dist/types/MultiCommunityResponse.d.ts +4 -0
  119. package/dist/types/MultiCommunitySortType.d.ts +1 -0
  120. package/dist/types/MultiCommunityView.d.ts +8 -0
  121. package/dist/types/MyUserInfo.d.ts +5 -1
  122. package/dist/types/NotePerson.d.ts +10 -0
  123. package/dist/types/Notification.d.ts +18 -0
  124. package/dist/types/NotificationData.d.ts +13 -0
  125. package/dist/types/NotificationDataType.d.ts +4 -0
  126. package/dist/types/NotificationId.d.ts +1 -0
  127. package/dist/types/NotificationType.d.ts +4 -0
  128. package/dist/types/NotificationView.d.ts +6 -0
  129. package/dist/types/OAuthAccount.d.ts +2 -2
  130. package/dist/types/OAuthProvider.d.ts +2 -2
  131. package/dist/types/OpenGraphData.d.ts +4 -0
  132. package/dist/types/PagedResponse.d.ts +11 -0
  133. package/dist/types/PaginationCursor.d.ts +5 -1
  134. package/dist/types/PendingFollowerView.d.ts +9 -0
  135. package/dist/types/Person.d.ts +2 -2
  136. package/dist/types/PersonActions.d.ts +21 -4
  137. package/dist/types/PersonActions.js +1 -0
  138. package/dist/types/PersonContentType.d.ts +1 -1
  139. package/dist/types/PersonResponse.d.ts +7 -0
  140. package/dist/types/PersonView.d.ts +4 -2
  141. package/dist/types/PluginMetadata.d.ts +5 -0
  142. package/dist/types/Post.d.ts +14 -7
  143. package/dist/types/PostActions.d.ts +15 -17
  144. package/dist/types/{PersonSavedCombinedView.d.ts → PostCommentCombinedView.d.ts} +3 -3
  145. package/dist/types/PostFeatureType.d.ts +1 -1
  146. package/dist/types/PostListingMode.d.ts +1 -1
  147. package/dist/types/PostNotificationsMode.d.ts +4 -0
  148. package/dist/types/PostOrCommentOrPrivateMessage.d.ts +10 -0
  149. package/dist/types/PostReport.d.ts +2 -2
  150. package/dist/types/PostReportView.d.ts +5 -1
  151. package/dist/types/PostSortType.d.ts +1 -1
  152. package/dist/types/PostView.d.ts +7 -3
  153. package/dist/types/PrivateMessage.d.ts +2 -3
  154. package/dist/types/PrivateMessageReport.d.ts +2 -2
  155. package/dist/types/PrivateMessageReportView.d.ts +3 -0
  156. package/dist/types/PurgeComment.d.ts +1 -1
  157. package/dist/types/PurgeCommunity.d.ts +1 -1
  158. package/dist/types/PurgePerson.d.ts +1 -1
  159. package/dist/types/PurgePost.d.ts +1 -1
  160. package/dist/types/ReadableFederationState.d.ts +3 -3
  161. package/dist/types/Register.d.ts +4 -0
  162. package/dist/types/RegistrationApplication.d.ts +2 -1
  163. package/dist/types/RegistrationMode.d.ts +1 -1
  164. package/dist/types/RemoveComment.d.ts +1 -1
  165. package/dist/types/RemoveCommunity.d.ts +1 -1
  166. package/dist/types/RemovePost.d.ts +1 -1
  167. package/dist/types/ReportCombinedView.d.ts +4 -4
  168. package/dist/types/ReportType.d.ts +1 -1
  169. package/dist/types/SaveUserSettings.d.ts +12 -6
  170. package/dist/types/Search.d.ts +10 -2
  171. package/dist/types/SearchCombinedView.d.ts +8 -5
  172. package/dist/types/SearchResponse.d.ts +12 -1
  173. package/dist/types/SearchSortType.d.ts +1 -1
  174. package/dist/types/SearchType.d.ts +1 -1
  175. package/dist/types/Site.d.ts +4 -3
  176. package/dist/types/SiteResponse.d.ts +0 -4
  177. package/dist/types/SiteView.d.ts +2 -0
  178. package/dist/types/Tag.d.ts +7 -13
  179. package/dist/types/Tagline.d.ts +4 -3
  180. package/dist/types/Tagline.js +0 -1
  181. package/dist/types/TagsView.d.ts +5 -0
  182. package/dist/types/UntranslatedError.d.ts +14 -0
  183. package/dist/types/UpdateCommunityNotifications.d.ts +9 -0
  184. package/dist/types/UpdateCommunityTag.d.ts +9 -0
  185. package/dist/types/UpdateMultiCommunity.d.ts +7 -0
  186. package/dist/types/UpdatePostNotifications.d.ts +9 -0
  187. package/dist/types/UserBlockInstanceCommunitiesParams.d.ts +8 -0
  188. package/dist/types/{UserBlockInstanceParams.d.ts → UserBlockInstancePersonsParams.d.ts} +2 -2
  189. package/dist/types/UserSettingsBackup.d.ts +29 -0
  190. package/dist/types/VoteShow.d.ts +4 -0
  191. package/dist/types/VoteView.d.ts +5 -1
  192. package/package.json +11 -7
  193. package/dist/types/AdminAllowInstance.d.ts +0 -11
  194. package/dist/types/AdminAllowInstanceId.d.ts +0 -1
  195. package/dist/types/AdminAllowInstanceView.d.ts +0 -11
  196. package/dist/types/AdminBlockInstance.d.ts +0 -12
  197. package/dist/types/AdminBlockInstanceId.d.ts +0 -1
  198. package/dist/types/AdminBlockInstanceView.d.ts +0 -11
  199. package/dist/types/AdminPurgeComment.d.ts +0 -13
  200. package/dist/types/AdminPurgeCommentId.d.ts +0 -1
  201. package/dist/types/AdminPurgeCommentView.d.ts +0 -11
  202. package/dist/types/AdminPurgeCommunity.d.ts +0 -11
  203. package/dist/types/AdminPurgeCommunityId.d.ts +0 -1
  204. package/dist/types/AdminPurgeCommunityView.d.ts +0 -9
  205. package/dist/types/AdminPurgePerson.d.ts +0 -11
  206. package/dist/types/AdminPurgePersonId.d.ts +0 -1
  207. package/dist/types/AdminPurgePersonView.d.ts +0 -9
  208. package/dist/types/AdminPurgePost.d.ts +0 -13
  209. package/dist/types/AdminPurgePostId.d.ts +0 -1
  210. package/dist/types/AdminPurgePostView.d.ts +0 -11
  211. package/dist/types/BanFromCommunityResponse.d.ts +0 -8
  212. package/dist/types/BanPersonResponse.d.ts +0 -8
  213. package/dist/types/BannedPersonsResponse.d.ts +0 -12
  214. package/dist/types/BlockCommunityResponse.d.ts +0 -8
  215. package/dist/types/BlockPersonResponse.d.ts +0 -8
  216. package/dist/types/CommentReply.d.ts +0 -13
  217. package/dist/types/CommentReplyId.d.ts +0 -4
  218. package/dist/types/CommentReplyView.d.ts +0 -27
  219. package/dist/types/FederatedInstances.d.ts +0 -9
  220. package/dist/types/FederationError.d.ts +0 -10
  221. package/dist/types/GetCommentsResponse.d.ts +0 -7
  222. package/dist/types/GetCommentsSlimResponse.d.ts +0 -7
  223. package/dist/types/GetCommunityPendingFollowsCount.d.ts +0 -4
  224. package/dist/types/GetFederatedInstancesResponse.d.ts +0 -10
  225. package/dist/types/GetModlogResponse.d.ts +0 -12
  226. package/dist/types/GetPostsResponse.d.ts +0 -12
  227. package/dist/types/InboxCombinedView.d.ts +0 -13
  228. package/dist/types/InboxDataType.d.ts +0 -4
  229. package/dist/types/ListCommentLikesResponse.d.ts +0 -7
  230. package/dist/types/ListCommunitiesResponse.d.ts +0 -7
  231. package/dist/types/ListCommunityPendingFollowsResponse.d.ts +0 -4
  232. package/dist/types/ListInboxResponse.d.ts +0 -12
  233. package/dist/types/ListMediaResponse.d.ts +0 -4
  234. package/dist/types/ListPersonContentResponse.d.ts +0 -12
  235. package/dist/types/ListPersonSavedResponse.d.ts +0 -12
  236. package/dist/types/ListPostLikesResponse.d.ts +0 -7
  237. package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -7
  238. package/dist/types/ListReportsResponse.d.ts +0 -12
  239. package/dist/types/ListTaglinesResponse.d.ts +0 -7
  240. package/dist/types/MarkCommentReplyAsRead.d.ts +0 -8
  241. package/dist/types/MarkPersonCommentMentionAsRead.d.ts +0 -8
  242. package/dist/types/MarkPersonPostMentionAsRead.d.ts +0 -8
  243. package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -8
  244. package/dist/types/ModAdd.d.ts +0 -12
  245. package/dist/types/ModAdd.js +0 -2
  246. package/dist/types/ModAddCommunity.d.ts +0 -14
  247. package/dist/types/ModAddCommunity.js +0 -2
  248. package/dist/types/ModAddCommunityId.d.ts +0 -1
  249. package/dist/types/ModAddCommunityView.d.ts +0 -12
  250. package/dist/types/ModAddCommunityView.js +0 -2
  251. package/dist/types/ModAddId.d.ts +0 -1
  252. package/dist/types/ModAddView.d.ts +0 -10
  253. package/dist/types/ModAddView.js +0 -2
  254. package/dist/types/ModBan.d.ts +0 -16
  255. package/dist/types/ModBan.js +0 -2
  256. package/dist/types/ModBanFromCommunity.d.ts +0 -16
  257. package/dist/types/ModBanFromCommunity.js +0 -2
  258. package/dist/types/ModBanFromCommunityId.d.ts +0 -1
  259. package/dist/types/ModBanFromCommunityView.d.ts +0 -12
  260. package/dist/types/ModBanFromCommunityView.js +0 -2
  261. package/dist/types/ModBanId.d.ts +0 -1
  262. package/dist/types/ModBanView.d.ts +0 -10
  263. package/dist/types/ModBanView.js +0 -2
  264. package/dist/types/ModChangeCommunityVisibility.d.ts +0 -12
  265. package/dist/types/ModChangeCommunityVisibility.js +0 -2
  266. package/dist/types/ModChangeCommunityVisibilityId.d.ts +0 -1
  267. package/dist/types/ModChangeCommunityVisibilityView.d.ts +0 -11
  268. package/dist/types/ModChangeCommunityVisibilityView.js +0 -2
  269. package/dist/types/ModFeaturePost.d.ts +0 -14
  270. package/dist/types/ModFeaturePost.js +0 -2
  271. package/dist/types/ModFeaturePostId.d.ts +0 -1
  272. package/dist/types/ModFeaturePostView.d.ts +0 -14
  273. package/dist/types/ModFeaturePostView.js +0 -2
  274. package/dist/types/ModLockPost.d.ts +0 -13
  275. package/dist/types/ModLockPost.js +0 -2
  276. package/dist/types/ModLockPostId.d.ts +0 -1
  277. package/dist/types/ModLockPostView.d.ts +0 -14
  278. package/dist/types/ModLockPostView.js +0 -2
  279. package/dist/types/ModRemoveComment.d.ts +0 -14
  280. package/dist/types/ModRemoveComment.js +0 -2
  281. package/dist/types/ModRemoveCommentId.d.ts +0 -1
  282. package/dist/types/ModRemoveCommentView.d.ts +0 -16
  283. package/dist/types/ModRemoveCommentView.js +0 -2
  284. package/dist/types/ModRemoveCommunity.d.ts +0 -14
  285. package/dist/types/ModRemoveCommunity.js +0 -2
  286. package/dist/types/ModRemoveCommunityId.d.ts +0 -1
  287. package/dist/types/ModRemoveCommunityId.js +0 -3
  288. package/dist/types/ModRemoveCommunityView.d.ts +0 -11
  289. package/dist/types/ModRemoveCommunityView.js +0 -2
  290. package/dist/types/ModRemovePost.d.ts +0 -14
  291. package/dist/types/ModRemovePost.js +0 -2
  292. package/dist/types/ModRemovePostId.d.ts +0 -1
  293. package/dist/types/ModRemovePostId.js +0 -3
  294. package/dist/types/ModRemovePostView.d.ts +0 -14
  295. package/dist/types/ModRemovePostView.js +0 -2
  296. package/dist/types/ModTransferCommunity.d.ts +0 -13
  297. package/dist/types/ModTransferCommunity.js +0 -2
  298. package/dist/types/ModTransferCommunityId.d.ts +0 -1
  299. package/dist/types/ModTransferCommunityId.js +0 -3
  300. package/dist/types/ModTransferCommunityView.d.ts +0 -12
  301. package/dist/types/ModTransferCommunityView.js +0 -2
  302. package/dist/types/ModlogActionType.d.ts +0 -4
  303. package/dist/types/ModlogActionType.js +0 -3
  304. package/dist/types/ModlogCombinedView.d.ts +0 -52
  305. package/dist/types/ModlogCombinedView.js +0 -2
  306. package/dist/types/PersonCommentMention.d.ts +0 -13
  307. package/dist/types/PersonCommentMention.js +0 -2
  308. package/dist/types/PersonCommentMentionId.d.ts +0 -4
  309. package/dist/types/PersonCommentMentionId.js +0 -3
  310. package/dist/types/PersonCommentMentionView.d.ts +0 -27
  311. package/dist/types/PersonCommentMentionView.js +0 -2
  312. package/dist/types/PersonContentCombinedView.d.ts +0 -7
  313. package/dist/types/PersonContentCombinedView.js +0 -2
  314. package/dist/types/PersonPostMention.d.ts +0 -13
  315. package/dist/types/PersonPostMention.js +0 -2
  316. package/dist/types/PersonPostMentionId.d.ts +0 -4
  317. package/dist/types/PersonPostMentionId.js +0 -3
  318. package/dist/types/PersonPostMentionView.d.ts +0 -27
  319. package/dist/types/PersonPostMentionView.js +0 -2
  320. package/dist/types/PersonSavedCombinedView.js +0 -2
  321. package/dist/types/PostPaginationCursor.d.ts +0 -7
  322. package/dist/types/PostPaginationCursor.js +0 -3
  323. package/dist/types/ResolveObjectResponse.d.ts +0 -13
  324. package/dist/types/ResolveObjectResponse.js +0 -2
  325. package/dist/types/UserBlockInstanceParams.js +0 -2
  326. /package/dist/types/{AdminAllowInstance.js → AdminListUsers.js} +0 -0
  327. /package/dist/types/{AdminAllowInstanceView.js → CommunityIdQuery.js} +0 -0
  328. /package/dist/types/{AdminAllowInstanceId.js → CommunityNotificationsMode.js} +0 -0
  329. /package/dist/types/{AdminBlockInstance.js → CreateCommunityTag.js} +0 -0
  330. /package/dist/types/{AdminBlockInstanceId.js → CreateMultiCommunity.js} +0 -0
  331. /package/dist/types/{AdminBlockInstanceView.js → CreateOrDeleteMultiCommunityEntry.js} +0 -0
  332. /package/dist/types/{AdminPurgeComment.js → DeleteCommunityTag.js} +0 -0
  333. /package/dist/types/{AdminPurgeCommentView.js → ExportDataResponse.js} +0 -0
  334. /package/dist/types/{AdminPurgeCommunity.js → FederatedInstanceView.js} +0 -0
  335. /package/dist/types/{AdminPurgeCommentId.js → FederationAllowList.js} +0 -0
  336. /package/dist/types/{AdminPurgeCommunityView.js → FederationQueueState.js} +0 -0
  337. /package/dist/types/{AdminPurgePerson.js → FollowMultiCommunity.js} +0 -0
  338. /package/dist/types/{AdminPurgePersonView.js → GetFederatedInstances.js} +0 -0
  339. /package/dist/types/{AdminPurgeCommunityId.js → GetFederatedInstancesKind.js} +0 -0
  340. /package/dist/types/{AdminPurgePost.js → GetMultiCommunity.js} +0 -0
  341. /package/dist/types/{AdminPurgePostView.js → GetMultiCommunityResponse.js} +0 -0
  342. /package/dist/types/{AdminPurgePersonId.js → LikeType.js} +0 -0
  343. /package/dist/types/{BanFromCommunityResponse.js → ListMultiCommunities.js} +0 -0
  344. /package/dist/types/{BanPersonResponse.js → ListNotifications.js} +0 -0
  345. /package/dist/types/{BannedPersonsResponse.js → ListPersonHidden.js} +0 -0
  346. /package/dist/types/{BlockCommunityResponse.js → ListPersonLiked.js} +0 -0
  347. /package/dist/types/{BlockPersonResponse.js → ListPersonRead.js} +0 -0
  348. /package/dist/types/{CommentReply.js → LockComment.js} +0 -0
  349. /package/dist/types/{CommentReplyView.js → MarkNotificationAsRead.js} +0 -0
  350. /package/dist/types/{FederatedInstances.js → ModEditPost.js} +0 -0
  351. /package/dist/types/{GetCommentsResponse.js → Modlog.js} +0 -0
  352. /package/dist/types/{AdminPurgePostId.js → ModlogId.js} +0 -0
  353. /package/dist/types/{CommentReplyId.js → ModlogKind.js} +0 -0
  354. /package/dist/types/{GetCommentsSlimResponse.js → ModlogView.js} +0 -0
  355. /package/dist/types/{GetCommunityPendingFollowsCount.js → MultiCommunity.js} +0 -0
  356. /package/dist/types/{GetFederatedInstancesResponse.js → MultiCommunityEntry.js} +0 -0
  357. /package/dist/types/{GetModlogResponse.js → MultiCommunityFollow.js} +0 -0
  358. /package/dist/types/{FederationError.js → MultiCommunityId.js} +0 -0
  359. /package/dist/types/{InboxDataType.js → MultiCommunityListingType.js} +0 -0
  360. /package/dist/types/{GetPostsResponse.js → MultiCommunityResponse.js} +0 -0
  361. /package/dist/types/{ModAddCommunityId.js → MultiCommunitySortType.js} +0 -0
  362. /package/dist/types/{InboxCombinedView.js → MultiCommunityView.js} +0 -0
  363. /package/dist/types/{ListBannedPersons.js → NotePerson.js} +0 -0
  364. /package/dist/types/{ListCommentLikesResponse.js → Notification.js} +0 -0
  365. /package/dist/types/{ListCommunitiesResponse.js → NotificationData.js} +0 -0
  366. /package/dist/types/{ModAddId.js → NotificationDataType.js} +0 -0
  367. /package/dist/types/{ModBanFromCommunityId.js → NotificationId.js} +0 -0
  368. /package/dist/types/{ModBanId.js → NotificationType.js} +0 -0
  369. /package/dist/types/{ListCommunityPendingFollowsResponse.js → NotificationView.js} +0 -0
  370. /package/dist/types/{ListInbox.js → PagedResponse.js} +0 -0
  371. /package/dist/types/{ListInboxResponse.js → PendingFollowerView.js} +0 -0
  372. /package/dist/types/{ListMediaResponse.js → PersonResponse.js} +0 -0
  373. /package/dist/types/{ModChangeCommunityVisibilityId.js → PluginMetadata.js} +0 -0
  374. /package/dist/types/{ListPersonContentResponse.js → PostCommentCombinedView.js} +0 -0
  375. /package/dist/types/{ModFeaturePostId.js → PostNotificationsMode.js} +0 -0
  376. /package/dist/types/{ListPersonSavedResponse.js → PostOrCommentOrPrivateMessage.js} +0 -0
  377. /package/dist/types/{ListPostLikesResponse.js → TagsView.js} +0 -0
  378. /package/dist/types/{ModLockPostId.js → UntranslatedError.js} +0 -0
  379. /package/dist/types/{ListRegistrationApplicationsResponse.js → UpdateCommunityNotifications.js} +0 -0
  380. /package/dist/types/{ListReportsResponse.js → UpdateCommunityTag.js} +0 -0
  381. /package/dist/types/{ListTaglinesResponse.js → UpdateMultiCommunity.js} +0 -0
  382. /package/dist/types/{MarkCommentReplyAsRead.js → UpdatePostNotifications.js} +0 -0
  383. /package/dist/types/{MarkPersonCommentMentionAsRead.js → UserBlockInstanceCommunitiesParams.js} +0 -0
  384. /package/dist/types/{MarkPersonPostMentionAsRead.js → UserBlockInstancePersonsParams.js} +0 -0
  385. /package/dist/types/{MarkPrivateMessageAsRead.js → UserSettingsBackup.js} +0 -0
  386. /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 { AdminBlockInstanceView } from "./types/AdminBlockInstanceView";
16
- export { AdminPurgeComment } from "./types/AdminPurgeComment";
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 { FederatedInstances } from "./types/FederatedInstances";
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 { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
105
+ export { GetFederatedInstances } from "./types/GetFederatedInstances";
106
+ export { GetFederatedInstancesKind } from "./types/GetFederatedInstancesKind";
124
107
  export { GetModlog } from "./types/GetModlog";
125
- export { GetModlogResponse } from "./types/GetModlogResponse";
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 { ListMediaResponse } from "./types/ListMediaResponse";
145
+ export { ListMultiCommunities } from "./types/ListMultiCommunities";
146
+ export { ListNotifications } from "./types/ListNotifications";
170
147
  export { ListPersonContent } from "./types/ListPersonContent";
171
- export { ListPersonContentResponse } from "./types/ListPersonContentResponse";
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 { MarkPersonCommentMentionAsRead } from "./types/MarkPersonCommentMentionAsRead";
199
- export { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
172
+ export { MarkNotificationAsRead } from "./types/MarkNotificationAsRead";
200
173
  export { MarkPostAsRead } from "./types/MarkPostAsRead";
201
- export { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
202
- export { ModAdd } from "./types/ModAdd";
203
- export { ModAddCommunity } from "./types/ModAddCommunity";
204
- export { ModAddCommunityId } from "./types/ModAddCommunityId";
205
- export { ModAddCommunityView } from "./types/ModAddCommunityView";
206
- export { ModAddId } from "./types/ModAddId";
207
- export { ModAddView } from "./types/ModAddView";
208
- export { ModBan } from "./types/ModBan";
209
- export { ModBanFromCommunity } from "./types/ModBanFromCommunity";
210
- export { ModBanFromCommunityId } from "./types/ModBanFromCommunityId";
211
- export { ModBanFromCommunityView } from "./types/ModBanFromCommunityView";
212
- export { ModBanId } from "./types/ModBanId";
213
- export { ModBanView } from "./types/ModBanView";
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 { PersonPostMention } from "./types/PersonPostMention";
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 { PostPaginationCursor } from "./types/PostPaginationCursor";
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 { UserBlockInstanceParams } from "./types/UserBlockInstanceParams";
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; } });
@@ -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 { ListInbox } from "./types/ListInbox";
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 ListInboxI extends ListInbox {
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 ListBannedPersonsI extends ListBannedPersons {
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,5 +1,5 @@
1
1
  export type AdminAllowInstanceParams = {
2
2
  instance: string;
3
3
  allow: boolean;
4
- reason?: string;
4
+ reason: string;
5
5
  };
@@ -1,6 +1,11 @@
1
1
  export type AdminBlockInstanceParams = {
2
2
  instance: string;
3
3
  block: boolean;
4
- reason?: string;
5
- expires?: string;
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,6 @@
1
+ import type { PaginationCursor } from "./PaginationCursor";
2
+ export type AdminListUsers = {
3
+ banned_only?: boolean;
4
+ page_cursor?: PaginationCursor;
5
+ limit?: number;
6
+ };
@@ -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
+ ];
@@ -16,4 +16,8 @@ export type AuthenticateWithOauth = {
16
16
  */
17
17
  answer?: string;
18
18
  pkce_code_verifier?: string;
19
+ /**
20
+ * If this is true the login is valid forever, otherwise it expires after one week.
21
+ */
22
+ stay_logged_in?: boolean;
19
23
  };
@@ -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?: string;
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
- expires?: number;
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?: string;
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
- expires?: number;
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
  };
@@ -15,8 +15,8 @@ export type Comment = {
15
15
  * Whether the comment has been removed.
16
16
  */
17
17
  removed: boolean;
18
- published: string;
19
- updated?: string;
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
  };