lemmy-js-client 0.19.3-alpha.2 → 0.19.3-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (498) hide show
  1. package/README.md +2 -2
  2. package/package.json +17 -17
  3. package/dist/http.d.ts +0 -743
  4. package/dist/http.js +0 -929
  5. package/dist/index.d.ts +0 -247
  6. package/dist/index.js +0 -17
  7. package/dist/other_types.d.ts +0 -22
  8. package/dist/other_types.js +0 -4
  9. package/dist/types/ActivityId.d.ts +0 -1
  10. package/dist/types/ActivityId.js +0 -3
  11. package/dist/types/AddAdmin.d.ts +0 -5
  12. package/dist/types/AddAdmin.js +0 -2
  13. package/dist/types/AddAdminResponse.d.ts +0 -4
  14. package/dist/types/AddAdminResponse.js +0 -2
  15. package/dist/types/AddModToCommunity.d.ts +0 -7
  16. package/dist/types/AddModToCommunity.js +0 -2
  17. package/dist/types/AddModToCommunityResponse.d.ts +0 -4
  18. package/dist/types/AddModToCommunityResponse.js +0 -2
  19. package/dist/types/AdminPurgeComment.d.ts +0 -9
  20. package/dist/types/AdminPurgeComment.js +0 -2
  21. package/dist/types/AdminPurgeCommentView.d.ts +0 -8
  22. package/dist/types/AdminPurgeCommentView.js +0 -2
  23. package/dist/types/AdminPurgeCommunity.d.ts +0 -7
  24. package/dist/types/AdminPurgeCommunity.js +0 -2
  25. package/dist/types/AdminPurgeCommunityView.d.ts +0 -6
  26. package/dist/types/AdminPurgeCommunityView.js +0 -2
  27. package/dist/types/AdminPurgePerson.d.ts +0 -7
  28. package/dist/types/AdminPurgePerson.js +0 -2
  29. package/dist/types/AdminPurgePersonView.d.ts +0 -6
  30. package/dist/types/AdminPurgePersonView.js +0 -2
  31. package/dist/types/AdminPurgePost.d.ts +0 -9
  32. package/dist/types/AdminPurgePost.js +0 -2
  33. package/dist/types/AdminPurgePostView.d.ts +0 -8
  34. package/dist/types/AdminPurgePostView.js +0 -2
  35. package/dist/types/ApproveRegistrationApplication.d.ts +0 -5
  36. package/dist/types/ApproveRegistrationApplication.js +0 -3
  37. package/dist/types/BanFromCommunity.d.ts +0 -10
  38. package/dist/types/BanFromCommunity.js +0 -2
  39. package/dist/types/BanFromCommunityResponse.d.ts +0 -5
  40. package/dist/types/BanFromCommunityResponse.js +0 -2
  41. package/dist/types/BanPerson.d.ts +0 -8
  42. package/dist/types/BanPerson.js +0 -2
  43. package/dist/types/BanPersonResponse.d.ts +0 -5
  44. package/dist/types/BanPersonResponse.js +0 -2
  45. package/dist/types/BannedPersonsResponse.d.ts +0 -4
  46. package/dist/types/BannedPersonsResponse.js +0 -2
  47. package/dist/types/BlockCommunity.d.ts +0 -5
  48. package/dist/types/BlockCommunity.js +0 -2
  49. package/dist/types/BlockCommunityResponse.d.ts +0 -5
  50. package/dist/types/BlockCommunityResponse.js +0 -2
  51. package/dist/types/BlockInstance.d.ts +0 -5
  52. package/dist/types/BlockInstance.js +0 -2
  53. package/dist/types/BlockInstanceResponse.d.ts +0 -3
  54. package/dist/types/BlockInstanceResponse.js +0 -3
  55. package/dist/types/BlockPerson.d.ts +0 -5
  56. package/dist/types/BlockPerson.js +0 -2
  57. package/dist/types/BlockPersonResponse.d.ts +0 -5
  58. package/dist/types/BlockPersonResponse.js +0 -2
  59. package/dist/types/CaptchaResponse.d.ts +0 -5
  60. package/dist/types/CaptchaResponse.js +0 -3
  61. package/dist/types/ChangePassword.d.ts +0 -5
  62. package/dist/types/ChangePassword.js +0 -3
  63. package/dist/types/Comment.d.ts +0 -19
  64. package/dist/types/Comment.js +0 -2
  65. package/dist/types/CommentAggregates.d.ts +0 -9
  66. package/dist/types/CommentAggregates.js +0 -2
  67. package/dist/types/CommentId.d.ts +0 -1
  68. package/dist/types/CommentId.js +0 -3
  69. package/dist/types/CommentReply.d.ts +0 -10
  70. package/dist/types/CommentReply.js +0 -2
  71. package/dist/types/CommentReplyId.d.ts +0 -1
  72. package/dist/types/CommentReplyId.js +0 -3
  73. package/dist/types/CommentReplyResponse.d.ts +0 -4
  74. package/dist/types/CommentReplyResponse.js +0 -2
  75. package/dist/types/CommentReplyView.d.ts +0 -23
  76. package/dist/types/CommentReplyView.js +0 -2
  77. package/dist/types/CommentReport.d.ts +0 -14
  78. package/dist/types/CommentReport.js +0 -2
  79. package/dist/types/CommentReportId.d.ts +0 -1
  80. package/dist/types/CommentReportId.js +0 -3
  81. package/dist/types/CommentReportResponse.d.ts +0 -4
  82. package/dist/types/CommentReportResponse.js +0 -2
  83. package/dist/types/CommentReportView.d.ts +0 -18
  84. package/dist/types/CommentReportView.js +0 -2
  85. package/dist/types/CommentResponse.d.ts +0 -6
  86. package/dist/types/CommentResponse.js +0 -2
  87. package/dist/types/CommentSortType.d.ts +0 -1
  88. package/dist/types/CommentSortType.js +0 -3
  89. package/dist/types/CommentView.d.ts +0 -20
  90. package/dist/types/CommentView.js +0 -2
  91. package/dist/types/Community.d.ts +0 -22
  92. package/dist/types/Community.js +0 -2
  93. package/dist/types/CommunityAggregates.d.ts +0 -13
  94. package/dist/types/CommunityAggregates.js +0 -2
  95. package/dist/types/CommunityBlockView.d.ts +0 -6
  96. package/dist/types/CommunityBlockView.js +0 -2
  97. package/dist/types/CommunityFollowerView.d.ts +0 -6
  98. package/dist/types/CommunityFollowerView.js +0 -2
  99. package/dist/types/CommunityId.d.ts +0 -1
  100. package/dist/types/CommunityId.js +0 -3
  101. package/dist/types/CommunityModeratorView.d.ts +0 -6
  102. package/dist/types/CommunityModeratorView.js +0 -2
  103. package/dist/types/CommunityResponse.d.ts +0 -6
  104. package/dist/types/CommunityResponse.js +0 -2
  105. package/dist/types/CommunityView.d.ts +0 -9
  106. package/dist/types/CommunityView.js +0 -2
  107. package/dist/types/CommunityVisibility.d.ts +0 -1
  108. package/dist/types/CommunityVisibility.js +0 -3
  109. package/dist/types/CreateComment.d.ts +0 -9
  110. package/dist/types/CreateComment.js +0 -2
  111. package/dist/types/CreateCommentLike.d.ts +0 -5
  112. package/dist/types/CreateCommentLike.js +0 -2
  113. package/dist/types/CreateCommentReport.d.ts +0 -5
  114. package/dist/types/CreateCommentReport.js +0 -2
  115. package/dist/types/CreateCommunity.d.ts +0 -13
  116. package/dist/types/CreateCommunity.js +0 -2
  117. package/dist/types/CreateCustomEmoji.d.ts +0 -7
  118. package/dist/types/CreateCustomEmoji.js +0 -3
  119. package/dist/types/CreatePost.d.ts +0 -11
  120. package/dist/types/CreatePost.js +0 -2
  121. package/dist/types/CreatePostLike.d.ts +0 -5
  122. package/dist/types/CreatePostLike.js +0 -2
  123. package/dist/types/CreatePostReport.d.ts +0 -5
  124. package/dist/types/CreatePostReport.js +0 -2
  125. package/dist/types/CreatePrivateMessage.d.ts +0 -5
  126. package/dist/types/CreatePrivateMessage.js +0 -2
  127. package/dist/types/CreatePrivateMessageReport.d.ts +0 -5
  128. package/dist/types/CreatePrivateMessageReport.js +0 -2
  129. package/dist/types/CreateSite.d.ts +0 -44
  130. package/dist/types/CreateSite.js +0 -2
  131. package/dist/types/CustomEmoji.d.ts +0 -12
  132. package/dist/types/CustomEmoji.js +0 -2
  133. package/dist/types/CustomEmojiId.d.ts +0 -1
  134. package/dist/types/CustomEmojiId.js +0 -3
  135. package/dist/types/CustomEmojiKeyword.d.ts +0 -5
  136. package/dist/types/CustomEmojiKeyword.js +0 -2
  137. package/dist/types/CustomEmojiResponse.d.ts +0 -4
  138. package/dist/types/CustomEmojiResponse.js +0 -2
  139. package/dist/types/CustomEmojiView.d.ts +0 -6
  140. package/dist/types/CustomEmojiView.js +0 -2
  141. package/dist/types/DeleteAccount.d.ts +0 -4
  142. package/dist/types/DeleteAccount.js +0 -3
  143. package/dist/types/DeleteComment.d.ts +0 -5
  144. package/dist/types/DeleteComment.js +0 -2
  145. package/dist/types/DeleteCommunity.d.ts +0 -5
  146. package/dist/types/DeleteCommunity.js +0 -2
  147. package/dist/types/DeleteCustomEmoji.d.ts +0 -4
  148. package/dist/types/DeleteCustomEmoji.js +0 -2
  149. package/dist/types/DeletePost.d.ts +0 -5
  150. package/dist/types/DeletePost.js +0 -2
  151. package/dist/types/DeletePrivateMessage.d.ts +0 -5
  152. package/dist/types/DeletePrivateMessage.js +0 -2
  153. package/dist/types/DistinguishComment.d.ts +0 -5
  154. package/dist/types/DistinguishComment.js +0 -2
  155. package/dist/types/EditComment.d.ts +0 -7
  156. package/dist/types/EditComment.js +0 -2
  157. package/dist/types/EditCommunity.d.ts +0 -14
  158. package/dist/types/EditCommunity.js +0 -2
  159. package/dist/types/EditCustomEmoji.d.ts +0 -8
  160. package/dist/types/EditCustomEmoji.js +0 -2
  161. package/dist/types/EditPost.d.ts +0 -10
  162. package/dist/types/EditPost.js +0 -2
  163. package/dist/types/EditPrivateMessage.d.ts +0 -5
  164. package/dist/types/EditPrivateMessage.js +0 -2
  165. package/dist/types/EditSite.d.ts +0 -45
  166. package/dist/types/EditSite.js +0 -2
  167. package/dist/types/FeaturePost.d.ts +0 -7
  168. package/dist/types/FeaturePost.js +0 -2
  169. package/dist/types/FederatedInstances.d.ts +0 -6
  170. package/dist/types/FederatedInstances.js +0 -2
  171. package/dist/types/FollowCommunity.d.ts +0 -5
  172. package/dist/types/FollowCommunity.js +0 -2
  173. package/dist/types/GenerateTotpSecretResponse.d.ts +0 -3
  174. package/dist/types/GenerateTotpSecretResponse.js +0 -3
  175. package/dist/types/GetCaptchaResponse.d.ts +0 -4
  176. package/dist/types/GetCaptchaResponse.js +0 -2
  177. package/dist/types/GetComment.d.ts +0 -4
  178. package/dist/types/GetComment.js +0 -2
  179. package/dist/types/GetComments.d.ts +0 -19
  180. package/dist/types/GetComments.js +0 -2
  181. package/dist/types/GetCommentsResponse.d.ts +0 -4
  182. package/dist/types/GetCommentsResponse.js +0 -2
  183. package/dist/types/GetCommunity.d.ts +0 -5
  184. package/dist/types/GetCommunity.js +0 -2
  185. package/dist/types/GetCommunityResponse.d.ts +0 -10
  186. package/dist/types/GetCommunityResponse.js +0 -2
  187. package/dist/types/GetFederatedInstancesResponse.d.ts +0 -4
  188. package/dist/types/GetFederatedInstancesResponse.js +0 -2
  189. package/dist/types/GetModlog.d.ts +0 -11
  190. package/dist/types/GetModlog.js +0 -2
  191. package/dist/types/GetModlogResponse.d.ts +0 -32
  192. package/dist/types/GetModlogResponse.js +0 -2
  193. package/dist/types/GetPersonDetails.d.ts +0 -12
  194. package/dist/types/GetPersonDetails.js +0 -2
  195. package/dist/types/GetPersonDetailsResponse.d.ts +0 -12
  196. package/dist/types/GetPersonDetailsResponse.js +0 -2
  197. package/dist/types/GetPersonMentions.d.ts +0 -7
  198. package/dist/types/GetPersonMentions.js +0 -2
  199. package/dist/types/GetPersonMentionsResponse.d.ts +0 -4
  200. package/dist/types/GetPersonMentionsResponse.js +0 -2
  201. package/dist/types/GetPost.d.ts +0 -6
  202. package/dist/types/GetPost.js +0 -2
  203. package/dist/types/GetPostResponse.d.ts +0 -9
  204. package/dist/types/GetPostResponse.js +0 -2
  205. package/dist/types/GetPosts.d.ts +0 -16
  206. package/dist/types/GetPosts.js +0 -2
  207. package/dist/types/GetPostsResponse.d.ts +0 -6
  208. package/dist/types/GetPostsResponse.js +0 -2
  209. package/dist/types/GetPrivateMessages.d.ts +0 -7
  210. package/dist/types/GetPrivateMessages.js +0 -2
  211. package/dist/types/GetReplies.d.ts +0 -7
  212. package/dist/types/GetReplies.js +0 -2
  213. package/dist/types/GetRepliesResponse.d.ts +0 -4
  214. package/dist/types/GetRepliesResponse.js +0 -2
  215. package/dist/types/GetReportCount.d.ts +0 -4
  216. package/dist/types/GetReportCount.js +0 -2
  217. package/dist/types/GetReportCountResponse.d.ts +0 -7
  218. package/dist/types/GetReportCountResponse.js +0 -2
  219. package/dist/types/GetSiteMetadata.d.ts +0 -3
  220. package/dist/types/GetSiteMetadata.js +0 -3
  221. package/dist/types/GetSiteMetadataResponse.d.ts +0 -4
  222. package/dist/types/GetSiteMetadataResponse.js +0 -2
  223. package/dist/types/GetSiteResponse.d.ts +0 -17
  224. package/dist/types/GetSiteResponse.js +0 -2
  225. package/dist/types/GetUnreadCountResponse.d.ts +0 -5
  226. package/dist/types/GetUnreadCountResponse.js +0 -3
  227. package/dist/types/GetUnreadRegistrationApplicationCountResponse.d.ts +0 -3
  228. package/dist/types/GetUnreadRegistrationApplicationCountResponse.js +0 -3
  229. package/dist/types/HideCommunity.d.ts +0 -6
  230. package/dist/types/HideCommunity.js +0 -2
  231. package/dist/types/ImageUpload.d.ts +0 -7
  232. package/dist/types/ImageUpload.js +0 -2
  233. package/dist/types/Instance.d.ts +0 -9
  234. package/dist/types/Instance.js +0 -2
  235. package/dist/types/InstanceBlockView.d.ts +0 -8
  236. package/dist/types/InstanceBlockView.js +0 -2
  237. package/dist/types/InstanceId.d.ts +0 -1
  238. package/dist/types/InstanceId.js +0 -3
  239. package/dist/types/InstanceWithFederationState.d.ts +0 -11
  240. package/dist/types/InstanceWithFederationState.js +0 -2
  241. package/dist/types/Language.d.ts +0 -6
  242. package/dist/types/Language.js +0 -2
  243. package/dist/types/LanguageId.d.ts +0 -1
  244. package/dist/types/LanguageId.js +0 -3
  245. package/dist/types/LemmyErrorType.d.ts +0 -310
  246. package/dist/types/LemmyErrorType.js +0 -3
  247. package/dist/types/ListCommentLikes.d.ts +0 -6
  248. package/dist/types/ListCommentLikes.js +0 -2
  249. package/dist/types/ListCommentLikesResponse.d.ts +0 -4
  250. package/dist/types/ListCommentLikesResponse.js +0 -2
  251. package/dist/types/ListCommentReports.d.ts +0 -7
  252. package/dist/types/ListCommentReports.js +0 -2
  253. package/dist/types/ListCommentReportsResponse.d.ts +0 -4
  254. package/dist/types/ListCommentReportsResponse.js +0 -2
  255. package/dist/types/ListCommunities.d.ts +0 -9
  256. package/dist/types/ListCommunities.js +0 -2
  257. package/dist/types/ListCommunitiesResponse.d.ts +0 -4
  258. package/dist/types/ListCommunitiesResponse.js +0 -2
  259. package/dist/types/ListPostLikes.d.ts +0 -6
  260. package/dist/types/ListPostLikes.js +0 -2
  261. package/dist/types/ListPostLikesResponse.d.ts +0 -4
  262. package/dist/types/ListPostLikesResponse.js +0 -2
  263. package/dist/types/ListPostReports.d.ts +0 -7
  264. package/dist/types/ListPostReports.js +0 -2
  265. package/dist/types/ListPostReportsResponse.d.ts +0 -4
  266. package/dist/types/ListPostReportsResponse.js +0 -2
  267. package/dist/types/ListPrivateMessageReports.d.ts +0 -5
  268. package/dist/types/ListPrivateMessageReports.js +0 -3
  269. package/dist/types/ListPrivateMessageReportsResponse.d.ts +0 -4
  270. package/dist/types/ListPrivateMessageReportsResponse.js +0 -2
  271. package/dist/types/ListRegistrationApplications.d.ts +0 -5
  272. package/dist/types/ListRegistrationApplications.js +0 -3
  273. package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -4
  274. package/dist/types/ListRegistrationApplicationsResponse.js +0 -2
  275. package/dist/types/ListingType.d.ts +0 -1
  276. package/dist/types/ListingType.js +0 -3
  277. package/dist/types/LocalSite.d.ts +0 -30
  278. package/dist/types/LocalSite.js +0 -2
  279. package/dist/types/LocalSiteId.d.ts +0 -1
  280. package/dist/types/LocalSiteId.js +0 -3
  281. package/dist/types/LocalSiteRateLimit.d.ts +0 -20
  282. package/dist/types/LocalSiteRateLimit.js +0 -2
  283. package/dist/types/LocalUser.d.ts +0 -32
  284. package/dist/types/LocalUser.js +0 -2
  285. package/dist/types/LocalUserId.d.ts +0 -1
  286. package/dist/types/LocalUserId.js +0 -3
  287. package/dist/types/LocalUserView.d.ts +0 -8
  288. package/dist/types/LocalUserView.js +0 -2
  289. package/dist/types/LockPost.d.ts +0 -5
  290. package/dist/types/LockPost.js +0 -2
  291. package/dist/types/Login.d.ts +0 -5
  292. package/dist/types/Login.js +0 -3
  293. package/dist/types/LoginResponse.d.ts +0 -5
  294. package/dist/types/LoginResponse.js +0 -3
  295. package/dist/types/LoginToken.d.ts +0 -7
  296. package/dist/types/LoginToken.js +0 -2
  297. package/dist/types/MarkCommentReplyAsRead.d.ts +0 -5
  298. package/dist/types/MarkCommentReplyAsRead.js +0 -2
  299. package/dist/types/MarkPersonMentionAsRead.d.ts +0 -5
  300. package/dist/types/MarkPersonMentionAsRead.js +0 -2
  301. package/dist/types/MarkPostAsRead.d.ts +0 -6
  302. package/dist/types/MarkPostAsRead.js +0 -2
  303. package/dist/types/MarkPrivateMessageAsRead.d.ts +0 -5
  304. package/dist/types/MarkPrivateMessageAsRead.js +0 -2
  305. package/dist/types/ModAdd.d.ts +0 -8
  306. package/dist/types/ModAdd.js +0 -2
  307. package/dist/types/ModAddCommunity.d.ts +0 -10
  308. package/dist/types/ModAddCommunity.js +0 -2
  309. package/dist/types/ModAddCommunityView.d.ts +0 -9
  310. package/dist/types/ModAddCommunityView.js +0 -2
  311. package/dist/types/ModAddView.d.ts +0 -7
  312. package/dist/types/ModAddView.js +0 -2
  313. package/dist/types/ModBan.d.ts +0 -10
  314. package/dist/types/ModBan.js +0 -2
  315. package/dist/types/ModBanFromCommunity.d.ts +0 -12
  316. package/dist/types/ModBanFromCommunity.js +0 -2
  317. package/dist/types/ModBanFromCommunityView.d.ts +0 -9
  318. package/dist/types/ModBanFromCommunityView.js +0 -2
  319. package/dist/types/ModBanView.d.ts +0 -7
  320. package/dist/types/ModBanView.js +0 -2
  321. package/dist/types/ModFeaturePost.d.ts +0 -10
  322. package/dist/types/ModFeaturePost.js +0 -2
  323. package/dist/types/ModFeaturePostView.d.ts +0 -10
  324. package/dist/types/ModFeaturePostView.js +0 -2
  325. package/dist/types/ModHideCommunity.d.ts +0 -10
  326. package/dist/types/ModHideCommunity.js +0 -2
  327. package/dist/types/ModHideCommunityView.d.ts +0 -8
  328. package/dist/types/ModHideCommunityView.js +0 -2
  329. package/dist/types/ModLockPost.d.ts +0 -9
  330. package/dist/types/ModLockPost.js +0 -2
  331. package/dist/types/ModLockPostView.d.ts +0 -10
  332. package/dist/types/ModLockPostView.js +0 -2
  333. package/dist/types/ModRemoveComment.d.ts +0 -10
  334. package/dist/types/ModRemoveComment.js +0 -2
  335. package/dist/types/ModRemoveCommentView.d.ts +0 -13
  336. package/dist/types/ModRemoveCommentView.js +0 -2
  337. package/dist/types/ModRemoveCommunity.d.ts +0 -10
  338. package/dist/types/ModRemoveCommunity.js +0 -2
  339. package/dist/types/ModRemoveCommunityView.d.ts +0 -8
  340. package/dist/types/ModRemoveCommunityView.js +0 -2
  341. package/dist/types/ModRemovePost.d.ts +0 -10
  342. package/dist/types/ModRemovePost.js +0 -2
  343. package/dist/types/ModRemovePostView.d.ts +0 -10
  344. package/dist/types/ModRemovePostView.js +0 -2
  345. package/dist/types/ModTransferCommunity.d.ts +0 -9
  346. package/dist/types/ModTransferCommunity.js +0 -2
  347. package/dist/types/ModTransferCommunityView.d.ts +0 -9
  348. package/dist/types/ModTransferCommunityView.js +0 -2
  349. package/dist/types/ModlogActionType.d.ts +0 -1
  350. package/dist/types/ModlogActionType.js +0 -3
  351. package/dist/types/ModlogListParams.d.ts +0 -10
  352. package/dist/types/ModlogListParams.js +0 -2
  353. package/dist/types/MyUserInfo.d.ts +0 -16
  354. package/dist/types/MyUserInfo.js +0 -2
  355. package/dist/types/PaginationCursor.d.ts +0 -1
  356. package/dist/types/PaginationCursor.js +0 -3
  357. package/dist/types/PasswordChangeAfterReset.d.ts +0 -5
  358. package/dist/types/PasswordChangeAfterReset.js +0 -3
  359. package/dist/types/PasswordReset.d.ts +0 -3
  360. package/dist/types/PasswordReset.js +0 -3
  361. package/dist/types/Person.d.ts +0 -20
  362. package/dist/types/Person.js +0 -2
  363. package/dist/types/PersonAggregates.d.ts +0 -6
  364. package/dist/types/PersonAggregates.js +0 -2
  365. package/dist/types/PersonBlockId.d.ts +0 -1
  366. package/dist/types/PersonBlockId.js +0 -3
  367. package/dist/types/PersonBlockView.d.ts +0 -5
  368. package/dist/types/PersonBlockView.js +0 -2
  369. package/dist/types/PersonId.d.ts +0 -1
  370. package/dist/types/PersonId.js +0 -3
  371. package/dist/types/PersonMention.d.ts +0 -10
  372. package/dist/types/PersonMention.js +0 -2
  373. package/dist/types/PersonMentionId.d.ts +0 -1
  374. package/dist/types/PersonMentionId.js +0 -3
  375. package/dist/types/PersonMentionResponse.d.ts +0 -4
  376. package/dist/types/PersonMentionResponse.js +0 -2
  377. package/dist/types/PersonMentionView.d.ts +0 -23
  378. package/dist/types/PersonMentionView.js +0 -2
  379. package/dist/types/PersonView.d.ts +0 -7
  380. package/dist/types/PersonView.js +0 -2
  381. package/dist/types/Post.d.ts +0 -27
  382. package/dist/types/Post.js +0 -2
  383. package/dist/types/PostAggregates.d.ts +0 -10
  384. package/dist/types/PostAggregates.js +0 -2
  385. package/dist/types/PostFeatureType.d.ts +0 -1
  386. package/dist/types/PostFeatureType.js +0 -3
  387. package/dist/types/PostId.d.ts +0 -1
  388. package/dist/types/PostId.js +0 -3
  389. package/dist/types/PostListingMode.d.ts +0 -1
  390. package/dist/types/PostListingMode.js +0 -3
  391. package/dist/types/PostReport.d.ts +0 -16
  392. package/dist/types/PostReport.js +0 -2
  393. package/dist/types/PostReportId.d.ts +0 -1
  394. package/dist/types/PostReportId.js +0 -3
  395. package/dist/types/PostReportResponse.d.ts +0 -4
  396. package/dist/types/PostReportResponse.js +0 -2
  397. package/dist/types/PostReportView.d.ts +0 -16
  398. package/dist/types/PostReportView.js +0 -2
  399. package/dist/types/PostResponse.d.ts +0 -4
  400. package/dist/types/PostResponse.js +0 -2
  401. package/dist/types/PostView.d.ts +0 -20
  402. package/dist/types/PostView.js +0 -2
  403. package/dist/types/PrivateMessage.d.ts +0 -14
  404. package/dist/types/PrivateMessage.js +0 -2
  405. package/dist/types/PrivateMessageId.d.ts +0 -1
  406. package/dist/types/PrivateMessageId.js +0 -3
  407. package/dist/types/PrivateMessageReport.d.ts +0 -14
  408. package/dist/types/PrivateMessageReport.js +0 -2
  409. package/dist/types/PrivateMessageReportId.d.ts +0 -1
  410. package/dist/types/PrivateMessageReportId.js +0 -3
  411. package/dist/types/PrivateMessageReportResponse.d.ts +0 -4
  412. package/dist/types/PrivateMessageReportResponse.js +0 -2
  413. package/dist/types/PrivateMessageReportView.d.ts +0 -10
  414. package/dist/types/PrivateMessageReportView.js +0 -2
  415. package/dist/types/PrivateMessageResponse.d.ts +0 -4
  416. package/dist/types/PrivateMessageResponse.js +0 -2
  417. package/dist/types/PrivateMessageView.d.ts +0 -7
  418. package/dist/types/PrivateMessageView.js +0 -2
  419. package/dist/types/PrivateMessagesResponse.d.ts +0 -4
  420. package/dist/types/PrivateMessagesResponse.js +0 -2
  421. package/dist/types/PurgeComment.d.ts +0 -5
  422. package/dist/types/PurgeComment.js +0 -2
  423. package/dist/types/PurgeCommunity.d.ts +0 -5
  424. package/dist/types/PurgeCommunity.js +0 -2
  425. package/dist/types/PurgePerson.d.ts +0 -5
  426. package/dist/types/PurgePerson.js +0 -2
  427. package/dist/types/PurgePost.d.ts +0 -5
  428. package/dist/types/PurgePost.js +0 -2
  429. package/dist/types/ReadableFederationState.d.ts +0 -10
  430. package/dist/types/ReadableFederationState.js +0 -2
  431. package/dist/types/Register.d.ts +0 -11
  432. package/dist/types/Register.js +0 -3
  433. package/dist/types/RegistrationApplication.d.ts +0 -10
  434. package/dist/types/RegistrationApplication.js +0 -2
  435. package/dist/types/RegistrationApplicationResponse.d.ts +0 -4
  436. package/dist/types/RegistrationApplicationResponse.js +0 -2
  437. package/dist/types/RegistrationApplicationView.d.ts +0 -9
  438. package/dist/types/RegistrationApplicationView.js +0 -2
  439. package/dist/types/RegistrationMode.d.ts +0 -1
  440. package/dist/types/RegistrationMode.js +0 -3
  441. package/dist/types/RemoveComment.d.ts +0 -6
  442. package/dist/types/RemoveComment.js +0 -2
  443. package/dist/types/RemoveCommunity.d.ts +0 -6
  444. package/dist/types/RemoveCommunity.js +0 -2
  445. package/dist/types/RemovePost.d.ts +0 -6
  446. package/dist/types/RemovePost.js +0 -2
  447. package/dist/types/ResolveCommentReport.d.ts +0 -5
  448. package/dist/types/ResolveCommentReport.js +0 -2
  449. package/dist/types/ResolveObject.d.ts +0 -3
  450. package/dist/types/ResolveObject.js +0 -3
  451. package/dist/types/ResolveObjectResponse.d.ts +0 -10
  452. package/dist/types/ResolveObjectResponse.js +0 -2
  453. package/dist/types/ResolvePostReport.d.ts +0 -5
  454. package/dist/types/ResolvePostReport.js +0 -2
  455. package/dist/types/ResolvePrivateMessageReport.d.ts +0 -5
  456. package/dist/types/ResolvePrivateMessageReport.js +0 -2
  457. package/dist/types/SaveComment.d.ts +0 -5
  458. package/dist/types/SaveComment.js +0 -2
  459. package/dist/types/SavePost.d.ts +0 -5
  460. package/dist/types/SavePost.js +0 -2
  461. package/dist/types/SaveUserSettings.d.ts +0 -32
  462. package/dist/types/SaveUserSettings.js +0 -2
  463. package/dist/types/Search.d.ts +0 -16
  464. package/dist/types/Search.js +0 -2
  465. package/dist/types/SearchResponse.d.ts +0 -12
  466. package/dist/types/SearchResponse.js +0 -2
  467. package/dist/types/SearchType.d.ts +0 -1
  468. package/dist/types/SearchType.js +0 -3
  469. package/dist/types/Site.d.ts +0 -18
  470. package/dist/types/Site.js +0 -2
  471. package/dist/types/SiteAggregates.d.ts +0 -12
  472. package/dist/types/SiteAggregates.js +0 -2
  473. package/dist/types/SiteId.d.ts +0 -1
  474. package/dist/types/SiteId.js +0 -3
  475. package/dist/types/SiteMetadata.d.ts +0 -6
  476. package/dist/types/SiteMetadata.js +0 -3
  477. package/dist/types/SiteResponse.d.ts +0 -6
  478. package/dist/types/SiteResponse.js +0 -2
  479. package/dist/types/SiteView.d.ts +0 -10
  480. package/dist/types/SiteView.js +0 -2
  481. package/dist/types/SortType.d.ts +0 -1
  482. package/dist/types/SortType.js +0 -3
  483. package/dist/types/SubscribedType.d.ts +0 -1
  484. package/dist/types/SubscribedType.js +0 -3
  485. package/dist/types/SuccessResponse.d.ts +0 -3
  486. package/dist/types/SuccessResponse.js +0 -3
  487. package/dist/types/Tagline.d.ts +0 -8
  488. package/dist/types/Tagline.js +0 -2
  489. package/dist/types/TransferCommunity.d.ts +0 -6
  490. package/dist/types/TransferCommunity.js +0 -2
  491. package/dist/types/UpdateTotp.d.ts +0 -4
  492. package/dist/types/UpdateTotp.js +0 -3
  493. package/dist/types/UpdateTotpResponse.d.ts +0 -3
  494. package/dist/types/UpdateTotpResponse.js +0 -3
  495. package/dist/types/VerifyEmail.d.ts +0 -3
  496. package/dist/types/VerifyEmail.js +0 -3
  497. package/dist/types/VoteView.d.ts +0 -5
  498. package/dist/types/VoteView.js +0 -2
@@ -1,32 +0,0 @@
1
- import type { ListingType } from "./ListingType";
2
- import type { LocalUserId } from "./LocalUserId";
3
- import type { PersonId } from "./PersonId";
4
- import type { PostListingMode } from "./PostListingMode";
5
- import type { SortType } from "./SortType";
6
- export interface LocalUser {
7
- id: LocalUserId;
8
- person_id: PersonId;
9
- email?: string;
10
- show_nsfw: boolean;
11
- theme: string;
12
- default_sort_type: SortType;
13
- default_listing_type: ListingType;
14
- interface_language: string;
15
- show_avatars: boolean;
16
- send_notifications_to_email: boolean;
17
- show_scores: boolean;
18
- show_bot_accounts: boolean;
19
- show_read_posts: boolean;
20
- email_verified: boolean;
21
- accepted_application: boolean;
22
- open_links_in_new_tab: boolean;
23
- blur_nsfw: boolean;
24
- auto_expand: boolean;
25
- infinite_scroll_enabled: boolean;
26
- admin: boolean;
27
- post_listing_mode: PostListingMode;
28
- totp_2fa_enabled: boolean;
29
- enable_keyboard_navigation: boolean;
30
- enable_animated_images: boolean;
31
- collapse_bot_comments: boolean;
32
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type LocalUserId = number;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { LocalUser } from "./LocalUser";
2
- import type { Person } from "./Person";
3
- import type { PersonAggregates } from "./PersonAggregates";
4
- export interface LocalUserView {
5
- local_user: LocalUser;
6
- person: Person;
7
- counts: PersonAggregates;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { PostId } from "./PostId";
2
- export interface LockPost {
3
- post_id: PostId;
4
- locked: boolean;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface Login {
2
- username_or_email: string;
3
- password: string;
4
- totp_2fa_token?: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface LoginResponse {
2
- jwt?: string;
3
- registration_created: boolean;
4
- verify_email_sent: boolean;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { LocalUserId } from "./LocalUserId";
2
- export interface LoginToken {
3
- user_id: LocalUserId;
4
- published: string;
5
- ip?: string;
6
- user_agent?: string;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { CommentReplyId } from "./CommentReplyId";
2
- export interface MarkCommentReplyAsRead {
3
- comment_reply_id: CommentReplyId;
4
- read: boolean;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { PersonMentionId } from "./PersonMentionId";
2
- export interface MarkPersonMentionAsRead {
3
- person_mention_id: PersonMentionId;
4
- read: boolean;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import type { PostId } from "./PostId";
2
- export interface MarkPostAsRead {
3
- post_id?: PostId;
4
- post_ids?: Array<PostId>;
5
- read: boolean;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { PrivateMessageId } from "./PrivateMessageId";
2
- export interface MarkPrivateMessageAsRead {
3
- private_message_id: PrivateMessageId;
4
- read: boolean;
5
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- export interface ModAdd {
3
- id: number;
4
- mod_person_id: PersonId;
5
- other_person_id: PersonId;
6
- removed: boolean;
7
- when_: string;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModAddCommunity {
4
- id: number;
5
- mod_person_id: PersonId;
6
- other_person_id: PersonId;
7
- community_id: CommunityId;
8
- removed: boolean;
9
- when_: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModAddCommunity } from "./ModAddCommunity";
3
- import type { Person } from "./Person";
4
- export interface ModAddCommunityView {
5
- mod_add_community: ModAddCommunity;
6
- moderator?: Person;
7
- community: Community;
8
- modded_person: Person;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { ModAdd } from "./ModAdd";
2
- import type { Person } from "./Person";
3
- export interface ModAddView {
4
- mod_add: ModAdd;
5
- moderator?: Person;
6
- modded_person: Person;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- export interface ModBan {
3
- id: number;
4
- mod_person_id: PersonId;
5
- other_person_id: PersonId;
6
- reason?: string;
7
- banned: boolean;
8
- expires?: string;
9
- when_: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModBanFromCommunity {
4
- id: number;
5
- mod_person_id: PersonId;
6
- other_person_id: PersonId;
7
- community_id: CommunityId;
8
- reason?: string;
9
- banned: boolean;
10
- expires?: string;
11
- when_: string;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModBanFromCommunity } from "./ModBanFromCommunity";
3
- import type { Person } from "./Person";
4
- export interface ModBanFromCommunityView {
5
- mod_ban_from_community: ModBanFromCommunity;
6
- moderator?: Person;
7
- community: Community;
8
- banned_person: Person;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { ModBan } from "./ModBan";
2
- import type { Person } from "./Person";
3
- export interface ModBanView {
4
- mod_ban: ModBan;
5
- moderator?: Person;
6
- banned_person: Person;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- import type { PostId } from "./PostId";
3
- export interface ModFeaturePost {
4
- id: number;
5
- mod_person_id: PersonId;
6
- post_id: PostId;
7
- featured: boolean;
8
- when_: string;
9
- is_featured_community: boolean;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModFeaturePost } from "./ModFeaturePost";
3
- import type { Person } from "./Person";
4
- import type { Post } from "./Post";
5
- export interface ModFeaturePostView {
6
- mod_feature_post: ModFeaturePost;
7
- moderator?: Person;
8
- post: Post;
9
- community: Community;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModHideCommunity {
4
- id: number;
5
- community_id: CommunityId;
6
- mod_person_id: PersonId;
7
- when_: string;
8
- reason?: string;
9
- hidden: boolean;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModHideCommunity } from "./ModHideCommunity";
3
- import type { Person } from "./Person";
4
- export interface ModHideCommunityView {
5
- mod_hide_community: ModHideCommunity;
6
- admin?: Person;
7
- community: Community;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- import type { PostId } from "./PostId";
3
- export interface ModLockPost {
4
- id: number;
5
- mod_person_id: PersonId;
6
- post_id: PostId;
7
- locked: boolean;
8
- when_: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModLockPost } from "./ModLockPost";
3
- import type { Person } from "./Person";
4
- import type { Post } from "./Post";
5
- export interface ModLockPostView {
6
- mod_lock_post: ModLockPost;
7
- moderator?: Person;
8
- post: Post;
9
- community: Community;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { CommentId } from "./CommentId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModRemoveComment {
4
- id: number;
5
- mod_person_id: PersonId;
6
- comment_id: CommentId;
7
- reason?: string;
8
- removed: boolean;
9
- when_: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- import type { Comment } from "./Comment";
2
- import type { Community } from "./Community";
3
- import type { ModRemoveComment } from "./ModRemoveComment";
4
- import type { Person } from "./Person";
5
- import type { Post } from "./Post";
6
- export interface ModRemoveCommentView {
7
- mod_remove_comment: ModRemoveComment;
8
- moderator?: Person;
9
- comment: Comment;
10
- commenter: Person;
11
- post: Post;
12
- community: Community;
13
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModRemoveCommunity {
4
- id: number;
5
- mod_person_id: PersonId;
6
- community_id: CommunityId;
7
- reason?: string;
8
- removed: boolean;
9
- when_: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModRemoveCommunity } from "./ModRemoveCommunity";
3
- import type { Person } from "./Person";
4
- export interface ModRemoveCommunityView {
5
- mod_remove_community: ModRemoveCommunity;
6
- moderator?: Person;
7
- community: Community;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- import type { PostId } from "./PostId";
3
- export interface ModRemovePost {
4
- id: number;
5
- mod_person_id: PersonId;
6
- post_id: PostId;
7
- reason?: string;
8
- removed: boolean;
9
- when_: string;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModRemovePost } from "./ModRemovePost";
3
- import type { Person } from "./Person";
4
- import type { Post } from "./Post";
5
- export interface ModRemovePostView {
6
- mod_remove_post: ModRemovePost;
7
- moderator?: Person;
8
- post: Post;
9
- community: Community;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModTransferCommunity {
4
- id: number;
5
- mod_person_id: PersonId;
6
- other_person_id: PersonId;
7
- community_id: CommunityId;
8
- when_: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { Community } from "./Community";
2
- import type { ModTransferCommunity } from "./ModTransferCommunity";
3
- import type { Person } from "./Person";
4
- export interface ModTransferCommunityView {
5
- mod_transfer_community: ModTransferCommunity;
6
- moderator?: Person;
7
- community: Community;
8
- modded_person: Person;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type ModlogActionType = "All" | "ModRemovePost" | "ModLockPost" | "ModFeaturePost" | "ModRemoveComment" | "ModRemoveCommunity" | "ModBanFromCommunity" | "ModAddCommunity" | "ModTransferCommunity" | "ModAdd" | "ModBan" | "ModHideCommunity" | "AdminPurgePerson" | "AdminPurgeCommunity" | "AdminPurgePost" | "AdminPurgeComment";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- import type { PersonId } from "./PersonId";
3
- export interface ModlogListParams {
4
- community_id?: CommunityId;
5
- mod_person_id?: PersonId;
6
- other_person_id?: PersonId;
7
- page?: number;
8
- limit?: number;
9
- hide_modlog_names: boolean;
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,16 +0,0 @@
1
- import type { CommunityBlockView } from "./CommunityBlockView";
2
- import type { CommunityFollowerView } from "./CommunityFollowerView";
3
- import type { CommunityModeratorView } from "./CommunityModeratorView";
4
- import type { InstanceBlockView } from "./InstanceBlockView";
5
- import type { LanguageId } from "./LanguageId";
6
- import type { LocalUserView } from "./LocalUserView";
7
- import type { PersonBlockView } from "./PersonBlockView";
8
- export interface MyUserInfo {
9
- local_user_view: LocalUserView;
10
- follows: Array<CommunityFollowerView>;
11
- moderates: Array<CommunityModeratorView>;
12
- community_blocks: Array<CommunityBlockView>;
13
- instance_blocks: Array<InstanceBlockView>;
14
- person_blocks: Array<PersonBlockView>;
15
- discussion_languages: Array<LanguageId>;
16
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type PaginationCursor = string;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface PasswordChangeAfterReset {
2
- token: string;
3
- password: string;
4
- password_verify: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface PasswordReset {
2
- email: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- import type { InstanceId } from "./InstanceId";
2
- import type { PersonId } from "./PersonId";
3
- export interface Person {
4
- id: PersonId;
5
- name: string;
6
- display_name?: string;
7
- avatar?: string;
8
- banned: boolean;
9
- published: string;
10
- updated?: string;
11
- actor_id: string;
12
- bio?: string;
13
- local: boolean;
14
- banner?: string;
15
- deleted: boolean;
16
- matrix_user_id?: string;
17
- bot_account: boolean;
18
- ban_expires?: string;
19
- instance_id: InstanceId;
20
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import type { PersonId } from "./PersonId";
2
- export interface PersonAggregates {
3
- person_id: PersonId;
4
- post_count: number;
5
- comment_count: number;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type PersonBlockId = number;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });