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,7 +0,0 @@
1
- import type { LocalUserId } from "./LocalUserId";
2
- export interface ImageUpload {
3
- local_user_id: LocalUserId;
4
- pictrs_alias: string;
5
- pictrs_delete_token: string;
6
- published: string;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { InstanceId } from "./InstanceId";
2
- export interface Instance {
3
- id: InstanceId;
4
- domain: string;
5
- published: string;
6
- updated?: string;
7
- software?: string;
8
- version?: string;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { Instance } from "./Instance";
2
- import type { Person } from "./Person";
3
- import type { Site } from "./Site";
4
- export interface InstanceBlockView {
5
- person: Person;
6
- instance: Instance;
7
- site?: Site;
8
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type InstanceId = 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,11 +0,0 @@
1
- import type { InstanceId } from "./InstanceId";
2
- import type { ReadableFederationState } from "./ReadableFederationState";
3
- export interface InstanceWithFederationState {
4
- id: InstanceId;
5
- domain: string;
6
- published: string;
7
- updated?: string;
8
- software?: string;
9
- version?: string;
10
- federation_state?: ReadableFederationState;
11
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- import type { LanguageId } from "./LanguageId";
2
- export interface Language {
3
- id: LanguageId;
4
- code: string;
5
- name: string;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type LanguageId = 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,310 +0,0 @@
1
- export type LemmyErrorType = {
2
- error: "report_reason_required";
3
- } | {
4
- error: "report_too_long";
5
- } | {
6
- error: "not_a_moderator";
7
- } | {
8
- error: "not_an_admin";
9
- } | {
10
- error: "cant_block_yourself";
11
- } | {
12
- error: "cant_block_admin";
13
- } | {
14
- error: "couldnt_update_user";
15
- } | {
16
- error: "passwords_do_not_match";
17
- } | {
18
- error: "email_not_verified";
19
- } | {
20
- error: "email_required";
21
- } | {
22
- error: "couldnt_update_comment";
23
- } | {
24
- error: "couldnt_update_private_message";
25
- } | {
26
- error: "cannot_leave_admin";
27
- } | {
28
- error: "no_lines_in_html";
29
- } | {
30
- error: "site_metadata_page_is_not_doctype_html";
31
- } | {
32
- error: "pictrs_response_error";
33
- message: string;
34
- } | {
35
- error: "pictrs_purge_response_error";
36
- message: string;
37
- } | {
38
- error: "pictrs_caching_disabled";
39
- } | {
40
- error: "image_url_missing_path_segments";
41
- } | {
42
- error: "image_url_missing_last_path_segment";
43
- } | {
44
- error: "pictrs_api_key_not_provided";
45
- } | {
46
- error: "no_content_type_header";
47
- } | {
48
- error: "not_an_image_type";
49
- } | {
50
- error: "not_a_mod_or_admin";
51
- } | {
52
- error: "no_admins";
53
- } | {
54
- error: "not_top_admin";
55
- } | {
56
- error: "not_top_mod";
57
- } | {
58
- error: "not_logged_in";
59
- } | {
60
- error: "site_ban";
61
- } | {
62
- error: "deleted";
63
- } | {
64
- error: "banned_from_community";
65
- } | {
66
- error: "couldnt_find_community";
67
- } | {
68
- error: "couldnt_find_person";
69
- } | {
70
- error: "person_is_blocked";
71
- } | {
72
- error: "community_is_blocked";
73
- } | {
74
- error: "instance_is_blocked";
75
- } | {
76
- error: "downvotes_are_disabled";
77
- } | {
78
- error: "instance_is_private";
79
- } | {
80
- error: "invalid_password";
81
- } | {
82
- error: "site_description_length_overflow";
83
- } | {
84
- error: "honeypot_failed";
85
- } | {
86
- error: "registration_application_is_pending";
87
- } | {
88
- error: "cant_enable_private_instance_and_federation_together";
89
- } | {
90
- error: "locked";
91
- } | {
92
- error: "couldnt_create_comment";
93
- } | {
94
- error: "max_comment_depth_reached";
95
- } | {
96
- error: "no_comment_edit_allowed";
97
- } | {
98
- error: "only_admins_can_create_communities";
99
- } | {
100
- error: "community_already_exists";
101
- } | {
102
- error: "language_not_allowed";
103
- } | {
104
- error: "only_mods_can_post_in_community";
105
- } | {
106
- error: "couldnt_update_post";
107
- } | {
108
- error: "no_post_edit_allowed";
109
- } | {
110
- error: "couldnt_find_post";
111
- } | {
112
- error: "edit_private_message_not_allowed";
113
- } | {
114
- error: "site_already_exists";
115
- } | {
116
- error: "application_question_required";
117
- } | {
118
- error: "invalid_default_post_listing_type";
119
- } | {
120
- error: "registration_closed";
121
- } | {
122
- error: "registration_application_answer_required";
123
- } | {
124
- error: "email_already_exists";
125
- } | {
126
- error: "federation_forbidden_by_strict_allow_list";
127
- } | {
128
- error: "person_is_banned_from_community";
129
- } | {
130
- error: "object_is_not_public";
131
- } | {
132
- error: "invalid_community";
133
- } | {
134
- error: "cannot_create_post_or_comment_in_deleted_or_removed_community";
135
- } | {
136
- error: "cannot_receive_page";
137
- } | {
138
- error: "new_post_cannot_be_locked";
139
- } | {
140
- error: "only_local_admin_can_remove_community";
141
- } | {
142
- error: "only_local_admin_can_restore_community";
143
- } | {
144
- error: "no_id_given";
145
- } | {
146
- error: "incorrect_login";
147
- } | {
148
- error: "invalid_query";
149
- } | {
150
- error: "object_not_local";
151
- } | {
152
- error: "post_is_locked";
153
- } | {
154
- error: "person_is_banned_from_site";
155
- message: string;
156
- } | {
157
- error: "invalid_vote_value";
158
- } | {
159
- error: "page_does_not_specify_creator";
160
- } | {
161
- error: "page_does_not_specify_group";
162
- } | {
163
- error: "no_community_found_in_cc";
164
- } | {
165
- error: "no_email_setup";
166
- } | {
167
- error: "email_smtp_server_needs_a_port";
168
- } | {
169
- error: "missing_an_email";
170
- } | {
171
- error: "rate_limit_error";
172
- } | {
173
- error: "invalid_name";
174
- } | {
175
- error: "invalid_display_name";
176
- } | {
177
- error: "invalid_matrix_id";
178
- } | {
179
- error: "invalid_post_title";
180
- } | {
181
- error: "invalid_body_field";
182
- } | {
183
- error: "bio_length_overflow";
184
- } | {
185
- error: "missing_totp_token";
186
- } | {
187
- error: "missing_totp_secret";
188
- } | {
189
- error: "incorrect_totp_token";
190
- } | {
191
- error: "couldnt_parse_totp_secret";
192
- } | {
193
- error: "couldnt_generate_totp";
194
- } | {
195
- error: "totp_already_enabled";
196
- } | {
197
- error: "couldnt_like_comment";
198
- } | {
199
- error: "couldnt_save_comment";
200
- } | {
201
- error: "couldnt_create_report";
202
- } | {
203
- error: "couldnt_resolve_report";
204
- } | {
205
- error: "community_moderator_already_exists";
206
- } | {
207
- error: "community_user_already_banned";
208
- } | {
209
- error: "community_block_already_exists";
210
- } | {
211
- error: "community_follower_already_exists";
212
- } | {
213
- error: "couldnt_update_community_hidden_status";
214
- } | {
215
- error: "person_block_already_exists";
216
- } | {
217
- error: "user_already_exists";
218
- } | {
219
- error: "token_not_found";
220
- } | {
221
- error: "couldnt_like_post";
222
- } | {
223
- error: "couldnt_save_post";
224
- } | {
225
- error: "couldnt_mark_post_as_read";
226
- } | {
227
- error: "couldnt_update_community";
228
- } | {
229
- error: "couldnt_update_replies";
230
- } | {
231
- error: "couldnt_update_person_mentions";
232
- } | {
233
- error: "post_title_too_long";
234
- } | {
235
- error: "couldnt_create_post";
236
- } | {
237
- error: "couldnt_create_private_message";
238
- } | {
239
- error: "couldnt_update_private";
240
- } | {
241
- error: "system_err_login";
242
- } | {
243
- error: "couldnt_set_all_registrations_accepted";
244
- } | {
245
- error: "couldnt_set_all_email_verified";
246
- } | {
247
- error: "banned";
248
- } | {
249
- error: "couldnt_get_comments";
250
- } | {
251
- error: "couldnt_get_posts";
252
- } | {
253
- error: "invalid_url";
254
- } | {
255
- error: "email_send_failed";
256
- } | {
257
- error: "slurs";
258
- } | {
259
- error: "couldnt_find_object";
260
- } | {
261
- error: "registration_denied";
262
- message: string | null;
263
- } | {
264
- error: "federation_disabled";
265
- } | {
266
- error: "domain_blocked";
267
- message: string;
268
- } | {
269
- error: "domain_not_in_allow_list";
270
- message: string;
271
- } | {
272
- error: "federation_disabled_by_strict_allow_list";
273
- } | {
274
- error: "site_name_required";
275
- } | {
276
- error: "site_name_length_overflow";
277
- } | {
278
- error: "permissive_regex";
279
- } | {
280
- error: "invalid_regex";
281
- } | {
282
- error: "captcha_incorrect";
283
- } | {
284
- error: "password_reset_limit_reached";
285
- } | {
286
- error: "couldnt_create_audio_captcha";
287
- } | {
288
- error: "invalid_url_scheme";
289
- } | {
290
- error: "couldnt_send_webmention";
291
- } | {
292
- error: "contradicting_filters";
293
- } | {
294
- error: "instance_block_already_exists";
295
- } | {
296
- error: "too_many_items";
297
- } | {
298
- error: "community_has_no_followers";
299
- } | {
300
- error: "ban_expiration_in_past";
301
- } | {
302
- error: "invalid_unix_time";
303
- } | {
304
- error: "invalid_bot_action";
305
- } | {
306
- error: "cant_block_local_instance";
307
- } | {
308
- error: "unknown";
309
- message: string;
310
- };
@@ -1,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,6 +0,0 @@
1
- import type { CommentId } from "./CommentId";
2
- export interface ListCommentLikes {
3
- comment_id: CommentId;
4
- page?: number;
5
- limit?: number;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { VoteView } from "./VoteView";
2
- export interface ListCommentLikesResponse {
3
- comment_likes: Array<VoteView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- export interface ListCommentReports {
3
- page?: number;
4
- limit?: number;
5
- unresolved_only?: boolean;
6
- community_id?: CommunityId;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { CommentReportView } from "./CommentReportView";
2
- export interface ListCommentReportsResponse {
3
- comment_reports: Array<CommentReportView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import type { ListingType } from "./ListingType";
2
- import type { SortType } from "./SortType";
3
- export interface ListCommunities {
4
- type_?: ListingType;
5
- sort?: SortType;
6
- show_nsfw?: boolean;
7
- page?: number;
8
- limit?: number;
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { CommunityView } from "./CommunityView";
2
- export interface ListCommunitiesResponse {
3
- communities: Array<CommunityView>;
4
- }
@@ -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 ListPostLikes {
3
- post_id: PostId;
4
- page?: number;
5
- limit?: number;
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { VoteView } from "./VoteView";
2
- export interface ListPostLikesResponse {
3
- post_likes: Array<VoteView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { CommunityId } from "./CommunityId";
2
- export interface ListPostReports {
3
- page?: number;
4
- limit?: number;
5
- unresolved_only?: boolean;
6
- community_id?: CommunityId;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { PostReportView } from "./PostReportView";
2
- export interface ListPostReportsResponse {
3
- post_reports: Array<PostReportView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface ListPrivateMessageReports {
2
- page?: number;
3
- limit?: number;
4
- unresolved_only?: 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,4 +0,0 @@
1
- import type { PrivateMessageReportView } from "./PrivateMessageReportView";
2
- export interface ListPrivateMessageReportsResponse {
3
- private_message_reports: Array<PrivateMessageReportView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export interface ListRegistrationApplications {
2
- unread_only?: boolean;
3
- page?: number;
4
- limit?: number;
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,4 +0,0 @@
1
- import type { RegistrationApplicationView } from "./RegistrationApplicationView";
2
- export interface ListRegistrationApplicationsResponse {
3
- registration_applications: Array<RegistrationApplicationView>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type ListingType = "All" | "Local" | "Subscribed" | "ModeratorView";
@@ -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,30 +0,0 @@
1
- import type { ListingType } from "./ListingType";
2
- import type { LocalSiteId } from "./LocalSiteId";
3
- import type { RegistrationMode } from "./RegistrationMode";
4
- import type { SiteId } from "./SiteId";
5
- export interface LocalSite {
6
- id: LocalSiteId;
7
- site_id: SiteId;
8
- site_setup: boolean;
9
- enable_downvotes: boolean;
10
- enable_nsfw: boolean;
11
- community_creation_admin_only: boolean;
12
- require_email_verification: boolean;
13
- application_question?: string;
14
- private_instance: boolean;
15
- default_theme: string;
16
- default_post_listing_type: ListingType;
17
- legal_information?: string;
18
- hide_modlog_mod_names: boolean;
19
- application_email_admins: boolean;
20
- slur_filter_regex?: string;
21
- actor_name_max_length: number;
22
- federation_enabled: boolean;
23
- captcha_enabled: boolean;
24
- captcha_difficulty: string;
25
- published: string;
26
- updated?: string;
27
- registration_mode: RegistrationMode;
28
- reports_email_admins: boolean;
29
- federation_signed_fetch: boolean;
30
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type LocalSiteId = 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,20 +0,0 @@
1
- import type { LocalSiteId } from "./LocalSiteId";
2
- export interface LocalSiteRateLimit {
3
- local_site_id: LocalSiteId;
4
- message: number;
5
- message_per_second: number;
6
- post: number;
7
- post_per_second: number;
8
- register: number;
9
- register_per_second: number;
10
- image: number;
11
- image_per_second: number;
12
- comment: number;
13
- comment_per_second: number;
14
- search: number;
15
- search_per_second: number;
16
- published: string;
17
- updated?: string;
18
- import_user_settings: number;
19
- import_user_settings_per_second: number;
20
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });