lemmy-js-client 0.20.0-api-v4.17 → 0.20.0-api-no-optional-vec.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 (221) hide show
  1. package/README.md +13 -4
  2. package/dist/http.d.ts +237 -430
  3. package/dist/http.js +1225 -411
  4. package/dist/index.d.ts +62 -20
  5. package/dist/other_types.d.ts +80 -16
  6. package/dist/types/AdminAllowInstance.d.ts +2 -1
  7. package/dist/types/AdminAllowInstanceId.d.ts +1 -0
  8. package/dist/types/AdminAllowInstanceView.d.ts +1 -1
  9. package/dist/types/AdminBlockInstance.d.ts +2 -1
  10. package/dist/types/AdminBlockInstanceId.d.ts +1 -0
  11. package/dist/types/AdminPurgeComment.d.ts +3 -2
  12. package/dist/types/AdminPurgeCommentId.d.ts +1 -0
  13. package/dist/types/AdminPurgeCommentId.js +3 -0
  14. package/dist/types/AdminPurgeCommunity.d.ts +3 -2
  15. package/dist/types/AdminPurgeCommunityId.d.ts +1 -0
  16. package/dist/types/AdminPurgeCommunityId.js +3 -0
  17. package/dist/types/AdminPurgePerson.d.ts +3 -2
  18. package/dist/types/AdminPurgePersonId.d.ts +1 -0
  19. package/dist/types/AdminPurgePersonId.js +3 -0
  20. package/dist/types/AdminPurgePost.d.ts +3 -2
  21. package/dist/types/AdminPurgePostId.d.ts +1 -0
  22. package/dist/types/AdminPurgePostId.js +3 -0
  23. package/dist/types/AuthenticateWithOauth.d.ts +1 -1
  24. package/dist/types/CommentReplyView.d.ts +5 -1
  25. package/dist/types/CommentReport.d.ts +1 -0
  26. package/dist/types/CommentReportView.d.ts +4 -1
  27. package/dist/types/CommentSlimView.d.ts +24 -0
  28. package/dist/types/CommentView.d.ts +5 -1
  29. package/dist/types/Community.d.ts +2 -2
  30. package/dist/types/CommunityAggregates.d.ts +2 -0
  31. package/dist/types/CommunityReport.d.ts +22 -0
  32. package/dist/types/CommunityReportId.d.ts +4 -0
  33. package/dist/types/CommunityReportId.js +3 -0
  34. package/dist/types/CommunityReportView.d.ts +16 -0
  35. package/dist/types/CommunitySortType.d.ts +1 -1
  36. package/dist/types/CommunityView.d.ts +1 -0
  37. package/dist/types/CreateCommentReport.d.ts +1 -0
  38. package/dist/types/CreateCommunity.d.ts +1 -1
  39. package/dist/types/CreatePost.d.ts +2 -0
  40. package/dist/types/CreatePostReport.d.ts +1 -0
  41. package/dist/types/CreateSite.d.ts +3 -5
  42. package/dist/types/DeleteImageParams.d.ts +3 -0
  43. package/dist/types/DeleteImageParams.js +3 -0
  44. package/dist/types/EditCommunity.d.ts +1 -9
  45. package/dist/types/EditPost.d.ts +2 -0
  46. package/dist/types/EditSite.d.ts +11 -18
  47. package/dist/types/FederationError.d.ts +2 -2
  48. package/dist/types/GetComments.d.ts +5 -1
  49. package/dist/types/GetCommentsSlimResponse.d.ts +7 -0
  50. package/dist/types/GetModlog.d.ts +27 -2
  51. package/dist/types/GetModlogResponse.d.ts +2 -34
  52. package/dist/types/GetPersonDetails.d.ts +0 -7
  53. package/dist/types/GetPersonDetailsResponse.d.ts +0 -4
  54. package/dist/types/GetPostResponse.d.ts +0 -2
  55. package/dist/types/GetPosts.d.ts +12 -0
  56. package/dist/types/GetRandomCommunity.d.ts +1 -0
  57. package/dist/types/GetReportCountResponse.d.ts +1 -5
  58. package/dist/types/GetReportCountResponse.js +1 -0
  59. package/dist/types/GetSiteResponse.d.ts +3 -10
  60. package/dist/types/GetUnreadCountResponse.d.ts +2 -4
  61. package/dist/types/ImageDetails.d.ts +1 -0
  62. package/dist/types/ImageGetParams.d.ts +4 -0
  63. package/dist/types/ImageGetParams.js +3 -0
  64. package/dist/types/ImageProxyParams.d.ts +5 -0
  65. package/dist/types/ImageProxyParams.js +3 -0
  66. package/dist/types/InboxCombinedPaginationCursor.d.ts +4 -0
  67. package/dist/types/InboxCombinedPaginationCursor.js +3 -0
  68. package/dist/types/InboxCombinedView.d.ts +13 -0
  69. package/dist/types/InboxDataType.d.ts +4 -0
  70. package/dist/types/InboxDataType.js +3 -0
  71. package/dist/types/LemmyErrorType.d.ts +5 -3
  72. package/dist/types/ListCommunities.d.ts +5 -0
  73. package/dist/types/ListInbox.d.ts +11 -0
  74. package/dist/types/ListInboxResponse.d.ts +7 -0
  75. package/dist/types/ListPersonContent.d.ts +18 -0
  76. package/dist/types/ListPersonContentResponse.d.ts +7 -0
  77. package/dist/types/ListPersonSaved.d.ts +10 -0
  78. package/dist/types/ListPersonSavedResponse.d.ts +7 -0
  79. package/dist/types/ListReports.d.ts +35 -0
  80. package/dist/types/ListReportsResponse.d.ts +7 -0
  81. package/dist/types/LocalImage.d.ts +0 -1
  82. package/dist/types/LocalSite.d.ts +9 -0
  83. package/dist/types/LocalUser.d.ts +13 -0
  84. package/dist/types/MarkPersonCommentMentionAsRead.d.ts +8 -0
  85. package/dist/types/MarkPersonPostMentionAsRead.d.ts +8 -0
  86. package/dist/types/ModAdd.d.ts +3 -2
  87. package/dist/types/ModAddCommunity.d.ts +3 -2
  88. package/dist/types/ModAddCommunityId.d.ts +1 -0
  89. package/dist/types/ModAddCommunityId.js +3 -0
  90. package/dist/types/ModAddCommunityView.d.ts +1 -1
  91. package/dist/types/ModAddId.d.ts +1 -0
  92. package/dist/types/ModAddId.js +3 -0
  93. package/dist/types/ModAddView.d.ts +1 -1
  94. package/dist/types/ModBan.d.ts +3 -2
  95. package/dist/types/ModBanFromCommunity.d.ts +3 -2
  96. package/dist/types/ModBanFromCommunityId.d.ts +1 -0
  97. package/dist/types/ModBanFromCommunityId.js +3 -0
  98. package/dist/types/ModBanFromCommunityView.d.ts +1 -1
  99. package/dist/types/ModBanId.d.ts +1 -0
  100. package/dist/types/ModBanId.js +3 -0
  101. package/dist/types/ModBanView.d.ts +1 -1
  102. package/dist/types/ModFeaturePost.d.ts +3 -2
  103. package/dist/types/ModFeaturePostId.d.ts +1 -0
  104. package/dist/types/ModFeaturePostId.js +3 -0
  105. package/dist/types/ModFeaturePostView.d.ts +1 -0
  106. package/dist/types/ModHideCommunity.d.ts +3 -2
  107. package/dist/types/ModHideCommunityId.d.ts +1 -0
  108. package/dist/types/ModHideCommunityId.js +3 -0
  109. package/dist/types/ModLockPost.d.ts +3 -2
  110. package/dist/types/ModLockPostId.d.ts +1 -0
  111. package/dist/types/ModLockPostId.js +3 -0
  112. package/dist/types/ModLockPostView.d.ts +1 -0
  113. package/dist/types/ModRemoveComment.d.ts +3 -2
  114. package/dist/types/ModRemoveCommentId.d.ts +1 -0
  115. package/dist/types/ModRemoveCommentId.js +3 -0
  116. package/dist/types/ModRemoveCommentView.d.ts +1 -1
  117. package/dist/types/ModRemoveCommunity.d.ts +3 -2
  118. package/dist/types/ModRemoveCommunityId.d.ts +1 -0
  119. package/dist/types/ModRemoveCommunityId.js +3 -0
  120. package/dist/types/ModRemovePost.d.ts +3 -2
  121. package/dist/types/ModRemovePostId.d.ts +1 -0
  122. package/dist/types/ModRemovePostId.js +3 -0
  123. package/dist/types/ModRemovePostView.d.ts +1 -0
  124. package/dist/types/ModTransferCommunity.d.ts +3 -2
  125. package/dist/types/ModTransferCommunityId.d.ts +1 -0
  126. package/dist/types/ModTransferCommunityId.js +3 -0
  127. package/dist/types/ModTransferCommunityView.d.ts +1 -1
  128. package/dist/types/ModlogCombinedPaginationCursor.d.ts +4 -0
  129. package/dist/types/ModlogCombinedPaginationCursor.js +3 -0
  130. package/dist/types/ModlogCombinedView.d.ts +52 -0
  131. package/dist/types/Person.d.ts +2 -2
  132. package/dist/types/PersonAggregates.d.ts +1 -0
  133. package/dist/types/{PersonMention.d.ts → PersonCommentMention.d.ts} +3 -3
  134. package/dist/types/PersonCommentMentionId.d.ts +4 -0
  135. package/dist/types/PersonCommentMentionId.js +3 -0
  136. package/dist/types/{PersonMentionView.d.ts → PersonCommentMentionView.d.ts} +9 -5
  137. package/dist/types/PersonCommentMentionView.js +2 -0
  138. package/dist/types/PersonContentCombinedPaginationCursor.d.ts +4 -0
  139. package/dist/types/PersonContentCombinedPaginationCursor.js +3 -0
  140. package/dist/types/PersonContentCombinedView.d.ts +7 -0
  141. package/dist/types/PersonContentCombinedView.js +2 -0
  142. package/dist/types/PersonContentType.d.ts +4 -0
  143. package/dist/types/PersonContentType.js +3 -0
  144. package/dist/types/PersonPostMention.d.ts +13 -0
  145. package/dist/types/PersonPostMention.js +2 -0
  146. package/dist/types/PersonPostMentionId.d.ts +4 -0
  147. package/dist/types/PersonPostMentionId.js +3 -0
  148. package/dist/types/PersonPostMentionView.d.ts +36 -0
  149. package/dist/types/PersonPostMentionView.js +2 -0
  150. package/dist/types/PersonSavedCombinedPaginationCursor.d.ts +4 -0
  151. package/dist/types/PersonSavedCombinedPaginationCursor.js +3 -0
  152. package/dist/types/PostReport.d.ts +1 -0
  153. package/dist/types/PostReportView.d.ts +4 -1
  154. package/dist/types/PostSortType.d.ts +1 -1
  155. package/dist/types/PostTags.d.ts +7 -0
  156. package/dist/types/PostTags.js +2 -0
  157. package/dist/types/PostView.d.ts +7 -1
  158. package/dist/types/PrivateMessage.d.ts +1 -0
  159. package/dist/types/ReportCombinedPaginationCursor.d.ts +4 -0
  160. package/dist/types/ReportCombinedPaginationCursor.js +3 -0
  161. package/dist/types/ReportCombinedView.d.ts +13 -0
  162. package/dist/types/ReportCombinedView.js +2 -0
  163. package/dist/types/ReportType.d.ts +4 -0
  164. package/dist/types/ReportType.js +3 -0
  165. package/dist/types/ResendVerificationEmail.d.ts +7 -0
  166. package/dist/types/ResendVerificationEmail.js +2 -0
  167. package/dist/types/SaveUserSettings.d.ts +9 -9
  168. package/dist/types/Search.d.ts +12 -7
  169. package/dist/types/SearchCombinedPaginationCursor.d.ts +4 -0
  170. package/dist/types/SearchCombinedPaginationCursor.js +3 -0
  171. package/dist/types/SearchCombinedView.d.ts +13 -0
  172. package/dist/types/SearchCombinedView.js +2 -0
  173. package/dist/types/SearchResponse.d.ts +2 -10
  174. package/dist/types/SearchSortType.d.ts +4 -0
  175. package/dist/types/SearchSortType.js +3 -0
  176. package/dist/types/Site.d.ts +2 -2
  177. package/dist/types/SiteResponse.d.ts +1 -1
  178. package/dist/types/SuccessResponse.d.ts +1 -1
  179. package/dist/types/Tag.d.ts +27 -0
  180. package/dist/types/Tag.js +2 -0
  181. package/dist/types/TagId.d.ts +4 -0
  182. package/dist/types/TagId.js +3 -0
  183. package/dist/types/UploadImageResponse.d.ts +4 -0
  184. package/dist/types/UploadImageResponse.js +3 -0
  185. package/package.json +9 -4
  186. package/dist/types/CommentReplyResponse.d.ts +0 -7
  187. package/dist/types/GetPersonMentions.d.ts +0 -10
  188. package/dist/types/GetPersonMentionsResponse.d.ts +0 -7
  189. package/dist/types/GetPrivateMessages.d.ts +0 -10
  190. package/dist/types/GetReplies.d.ts +0 -10
  191. package/dist/types/GetRepliesResponse.d.ts +0 -7
  192. package/dist/types/ListCommentReports.d.ts +0 -18
  193. package/dist/types/ListCommentReportsResponse.d.ts +0 -7
  194. package/dist/types/ListPostReports.d.ts +0 -18
  195. package/dist/types/ListPostReportsResponse.d.ts +0 -7
  196. package/dist/types/ListPrivateMessageReports.d.ts +0 -11
  197. package/dist/types/ListPrivateMessageReportsResponse.d.ts +0 -7
  198. package/dist/types/MarkPersonMentionAsRead.d.ts +0 -8
  199. package/dist/types/ModlogListParams.d.ts +0 -17
  200. package/dist/types/PersonMentionId.d.ts +0 -4
  201. package/dist/types/PersonMentionResponse.d.ts +0 -7
  202. package/dist/types/PrivateMessagesResponse.d.ts +0 -7
  203. /package/dist/types/{ListPrivateMessageReports.js → AdminAllowInstanceId.js} +0 -0
  204. /package/dist/types/{PersonMentionId.js → AdminBlockInstanceId.js} +0 -0
  205. /package/dist/types/{CommentReplyResponse.js → CommentSlimView.js} +0 -0
  206. /package/dist/types/{GetPersonMentions.js → CommunityReport.js} +0 -0
  207. /package/dist/types/{GetPersonMentionsResponse.js → CommunityReportView.js} +0 -0
  208. /package/dist/types/{GetPrivateMessages.js → GetCommentsSlimResponse.js} +0 -0
  209. /package/dist/types/{GetReplies.js → InboxCombinedView.js} +0 -0
  210. /package/dist/types/{GetRepliesResponse.js → ListInbox.js} +0 -0
  211. /package/dist/types/{ListCommentReports.js → ListInboxResponse.js} +0 -0
  212. /package/dist/types/{ListCommentReportsResponse.js → ListPersonContent.js} +0 -0
  213. /package/dist/types/{ListPostReports.js → ListPersonContentResponse.js} +0 -0
  214. /package/dist/types/{ListPostReportsResponse.js → ListPersonSaved.js} +0 -0
  215. /package/dist/types/{ListPrivateMessageReportsResponse.js → ListPersonSavedResponse.js} +0 -0
  216. /package/dist/types/{MarkPersonMentionAsRead.js → ListReports.js} +0 -0
  217. /package/dist/types/{ModlogListParams.js → ListReportsResponse.js} +0 -0
  218. /package/dist/types/{PersonMention.js → MarkPersonCommentMentionAsRead.js} +0 -0
  219. /package/dist/types/{PersonMentionResponse.js → MarkPersonPostMentionAsRead.js} +0 -0
  220. /package/dist/types/{PersonMentionView.js → ModlogCombinedView.js} +0 -0
  221. /package/dist/types/{PrivateMessagesResponse.js → PersonCommentMention.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,23 +1,29 @@
1
1
  export * from "./http";
2
- export { UploadImage, UploadImageResponse, ImageFile, DeleteImage, } from "./other_types";
2
+ export { UploadImage } from "./other_types";
3
3
  export { ActivityId } from "./types/ActivityId";
4
4
  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
8
  export { AdminAllowInstance } from "./types/AdminAllowInstance";
9
+ export { AdminAllowInstanceId } from "./types/AdminAllowInstanceId";
9
10
  export { AdminAllowInstanceParams } from "./types/AdminAllowInstanceParams";
10
11
  export { AdminAllowInstanceView } from "./types/AdminAllowInstanceView";
11
12
  export { AdminBlockInstance } from "./types/AdminBlockInstance";
13
+ export { AdminBlockInstanceId } from "./types/AdminBlockInstanceId";
12
14
  export { AdminBlockInstanceParams } from "./types/AdminBlockInstanceParams";
13
15
  export { AdminBlockInstanceView } from "./types/AdminBlockInstanceView";
14
16
  export { AdminPurgeComment } from "./types/AdminPurgeComment";
17
+ export { AdminPurgeCommentId } from "./types/AdminPurgeCommentId";
15
18
  export { AdminPurgeCommentView } from "./types/AdminPurgeCommentView";
16
19
  export { AdminPurgeCommunity } from "./types/AdminPurgeCommunity";
20
+ export { AdminPurgeCommunityId } from "./types/AdminPurgeCommunityId";
17
21
  export { AdminPurgeCommunityView } from "./types/AdminPurgeCommunityView";
18
22
  export { AdminPurgePerson } from "./types/AdminPurgePerson";
23
+ export { AdminPurgePersonId } from "./types/AdminPurgePersonId";
19
24
  export { AdminPurgePersonView } from "./types/AdminPurgePersonView";
20
25
  export { AdminPurgePost } from "./types/AdminPurgePost";
26
+ export { AdminPurgePostId } from "./types/AdminPurgePostId";
21
27
  export { AdminPurgePostView } from "./types/AdminPurgePostView";
22
28
  export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
23
29
  export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
@@ -38,13 +44,13 @@ export { CommentAggregates } from "./types/CommentAggregates";
38
44
  export { CommentId } from "./types/CommentId";
39
45
  export { CommentReply } from "./types/CommentReply";
40
46
  export { CommentReplyId } from "./types/CommentReplyId";
41
- export { CommentReplyResponse } from "./types/CommentReplyResponse";
42
47
  export { CommentReplyView } from "./types/CommentReplyView";
43
48
  export { CommentReport } from "./types/CommentReport";
44
49
  export { CommentReportId } from "./types/CommentReportId";
45
50
  export { CommentReportResponse } from "./types/CommentReportResponse";
46
51
  export { CommentReportView } from "./types/CommentReportView";
47
52
  export { CommentResponse } from "./types/CommentResponse";
53
+ export { CommentSlimView } from "./types/CommentSlimView";
48
54
  export { CommentSortType } from "./types/CommentSortType";
49
55
  export { CommentView } from "./types/CommentView";
50
56
  export { Community } from "./types/Community";
@@ -53,6 +59,9 @@ export { CommunityFollowerState } from "./types/CommunityFollowerState";
53
59
  export { CommunityFollowerView } from "./types/CommunityFollowerView";
54
60
  export { CommunityId } from "./types/CommunityId";
55
61
  export { CommunityModeratorView } from "./types/CommunityModeratorView";
62
+ export { CommunityReport } from "./types/CommunityReport";
63
+ export { CommunityReportId } from "./types/CommunityReportId";
64
+ export { CommunityReportView } from "./types/CommunityReportView";
56
65
  export { CommunityResponse } from "./types/CommunityResponse";
57
66
  export { CommunitySortType } from "./types/CommunitySortType";
58
67
  export { CommunityView } from "./types/CommunityView";
@@ -80,6 +89,7 @@ export { DeleteAccount } from "./types/DeleteAccount";
80
89
  export { DeleteComment } from "./types/DeleteComment";
81
90
  export { DeleteCommunity } from "./types/DeleteCommunity";
82
91
  export { DeleteCustomEmoji } from "./types/DeleteCustomEmoji";
92
+ export { DeleteImageParams } from "./types/DeleteImageParams";
83
93
  export { DeleteOAuthProvider } from "./types/DeleteOAuthProvider";
84
94
  export { DeletePost } from "./types/DeletePost";
85
95
  export { DeletePrivateMessage } from "./types/DeletePrivateMessage";
@@ -103,6 +113,7 @@ export { GetCaptchaResponse } from "./types/GetCaptchaResponse";
103
113
  export { GetComment } from "./types/GetComment";
104
114
  export { GetComments } from "./types/GetComments";
105
115
  export { GetCommentsResponse } from "./types/GetCommentsResponse";
116
+ export { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
106
117
  export { GetCommunity } from "./types/GetCommunity";
107
118
  export { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
108
119
  export { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
@@ -112,17 +123,12 @@ export { GetModlog } from "./types/GetModlog";
112
123
  export { GetModlogResponse } from "./types/GetModlogResponse";
113
124
  export { GetPersonDetails } from "./types/GetPersonDetails";
114
125
  export { GetPersonDetailsResponse } from "./types/GetPersonDetailsResponse";
115
- export { GetPersonMentions } from "./types/GetPersonMentions";
116
- export { GetPersonMentionsResponse } from "./types/GetPersonMentionsResponse";
117
126
  export { GetPost } from "./types/GetPost";
118
127
  export { GetPostResponse } from "./types/GetPostResponse";
119
128
  export { GetPosts } from "./types/GetPosts";
120
129
  export { GetPostsResponse } from "./types/GetPostsResponse";
121
- export { GetPrivateMessages } from "./types/GetPrivateMessages";
122
130
  export { GetRandomCommunity } from "./types/GetRandomCommunity";
123
131
  export { GetRegistrationApplication } from "./types/GetRegistrationApplication";
124
- export { GetReplies } from "./types/GetReplies";
125
- export { GetRepliesResponse } from "./types/GetRepliesResponse";
126
132
  export { GetReportCount } from "./types/GetReportCount";
127
133
  export { GetReportCountResponse } from "./types/GetReportCountResponse";
128
134
  export { GetSiteMetadata } from "./types/GetSiteMetadata";
@@ -133,6 +139,11 @@ export { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnread
133
139
  export { HideCommunity } from "./types/HideCommunity";
134
140
  export { HidePost } from "./types/HidePost";
135
141
  export { ImageDetails } from "./types/ImageDetails";
142
+ export { ImageGetParams } from "./types/ImageGetParams";
143
+ export { ImageProxyParams } from "./types/ImageProxyParams";
144
+ export { InboxCombinedPaginationCursor } from "./types/InboxCombinedPaginationCursor";
145
+ export { InboxCombinedView } from "./types/InboxCombinedView";
146
+ export { InboxDataType } from "./types/InboxDataType";
136
147
  export { Instance } from "./types/Instance";
137
148
  export { InstanceId } from "./types/InstanceId";
138
149
  export { InstanceWithFederationState } from "./types/InstanceWithFederationState";
@@ -142,25 +153,27 @@ export { LemmyErrorType } from "./types/LemmyErrorType";
142
153
  export { LinkMetadata } from "./types/LinkMetadata";
143
154
  export { ListCommentLikes } from "./types/ListCommentLikes";
144
155
  export { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
145
- export { ListCommentReports } from "./types/ListCommentReports";
146
- export { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
147
156
  export { ListCommunities } from "./types/ListCommunities";
148
157
  export { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
149
158
  export { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
150
159
  export { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
151
160
  export { ListCustomEmojis } from "./types/ListCustomEmojis";
152
161
  export { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
162
+ export { ListInbox } from "./types/ListInbox";
163
+ export { ListInboxResponse } from "./types/ListInboxResponse";
153
164
  export { ListLoginsResponse } from "./types/ListLoginsResponse";
154
165
  export { ListMedia } from "./types/ListMedia";
155
166
  export { ListMediaResponse } from "./types/ListMediaResponse";
167
+ export { ListPersonContent } from "./types/ListPersonContent";
168
+ export { ListPersonContentResponse } from "./types/ListPersonContentResponse";
169
+ export { ListPersonSaved } from "./types/ListPersonSaved";
170
+ export { ListPersonSavedResponse } from "./types/ListPersonSavedResponse";
156
171
  export { ListPostLikes } from "./types/ListPostLikes";
157
172
  export { ListPostLikesResponse } from "./types/ListPostLikesResponse";
158
- export { ListPostReports } from "./types/ListPostReports";
159
- export { ListPostReportsResponse } from "./types/ListPostReportsResponse";
160
- export { ListPrivateMessageReports } from "./types/ListPrivateMessageReports";
161
- export { ListPrivateMessageReportsResponse } from "./types/ListPrivateMessageReportsResponse";
162
173
  export { ListRegistrationApplications } from "./types/ListRegistrationApplications";
163
174
  export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
175
+ export { ListReports } from "./types/ListReports";
176
+ export { ListReportsResponse } from "./types/ListReportsResponse";
164
177
  export { ListTaglines } from "./types/ListTaglines";
165
178
  export { ListTaglinesResponse } from "./types/ListTaglinesResponse";
166
179
  export { ListingType } from "./types/ListingType";
@@ -180,33 +193,46 @@ export { LoginResponse } from "./types/LoginResponse";
180
193
  export { LoginToken } from "./types/LoginToken";
181
194
  export { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
182
195
  export { MarkManyPostsAsRead } from "./types/MarkManyPostsAsRead";
183
- export { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
196
+ export { MarkPersonCommentMentionAsRead } from "./types/MarkPersonCommentMentionAsRead";
197
+ export { MarkPersonPostMentionAsRead } from "./types/MarkPersonPostMentionAsRead";
184
198
  export { MarkPostAsRead } from "./types/MarkPostAsRead";
185
199
  export { MarkPrivateMessageAsRead } from "./types/MarkPrivateMessageAsRead";
186
200
  export { ModAdd } from "./types/ModAdd";
187
201
  export { ModAddCommunity } from "./types/ModAddCommunity";
202
+ export { ModAddCommunityId } from "./types/ModAddCommunityId";
188
203
  export { ModAddCommunityView } from "./types/ModAddCommunityView";
204
+ export { ModAddId } from "./types/ModAddId";
189
205
  export { ModAddView } from "./types/ModAddView";
190
206
  export { ModBan } from "./types/ModBan";
191
207
  export { ModBanFromCommunity } from "./types/ModBanFromCommunity";
208
+ export { ModBanFromCommunityId } from "./types/ModBanFromCommunityId";
192
209
  export { ModBanFromCommunityView } from "./types/ModBanFromCommunityView";
210
+ export { ModBanId } from "./types/ModBanId";
193
211
  export { ModBanView } from "./types/ModBanView";
194
212
  export { ModFeaturePost } from "./types/ModFeaturePost";
213
+ export { ModFeaturePostId } from "./types/ModFeaturePostId";
195
214
  export { ModFeaturePostView } from "./types/ModFeaturePostView";
196
215
  export { ModHideCommunity } from "./types/ModHideCommunity";
216
+ export { ModHideCommunityId } from "./types/ModHideCommunityId";
197
217
  export { ModHideCommunityView } from "./types/ModHideCommunityView";
198
218
  export { ModLockPost } from "./types/ModLockPost";
219
+ export { ModLockPostId } from "./types/ModLockPostId";
199
220
  export { ModLockPostView } from "./types/ModLockPostView";
200
221
  export { ModRemoveComment } from "./types/ModRemoveComment";
222
+ export { ModRemoveCommentId } from "./types/ModRemoveCommentId";
201
223
  export { ModRemoveCommentView } from "./types/ModRemoveCommentView";
202
224
  export { ModRemoveCommunity } from "./types/ModRemoveCommunity";
225
+ export { ModRemoveCommunityId } from "./types/ModRemoveCommunityId";
203
226
  export { ModRemoveCommunityView } from "./types/ModRemoveCommunityView";
204
227
  export { ModRemovePost } from "./types/ModRemovePost";
228
+ export { ModRemovePostId } from "./types/ModRemovePostId";
205
229
  export { ModRemovePostView } from "./types/ModRemovePostView";
206
230
  export { ModTransferCommunity } from "./types/ModTransferCommunity";
231
+ export { ModTransferCommunityId } from "./types/ModTransferCommunityId";
207
232
  export { ModTransferCommunityView } from "./types/ModTransferCommunityView";
208
233
  export { ModlogActionType } from "./types/ModlogActionType";
209
- export { ModlogListParams } from "./types/ModlogListParams";
234
+ export { ModlogCombinedPaginationCursor } from "./types/ModlogCombinedPaginationCursor";
235
+ export { ModlogCombinedView } from "./types/ModlogCombinedView";
210
236
  export { MyUserInfo } from "./types/MyUserInfo";
211
237
  export { OAuthAccount } from "./types/OAuthAccount";
212
238
  export { OAuthProvider } from "./types/OAuthProvider";
@@ -218,11 +244,17 @@ export { PasswordReset } from "./types/PasswordReset";
218
244
  export { PendingFollow } from "./types/PendingFollow";
219
245
  export { Person } from "./types/Person";
220
246
  export { PersonAggregates } from "./types/PersonAggregates";
247
+ export { PersonCommentMention } from "./types/PersonCommentMention";
248
+ export { PersonCommentMentionId } from "./types/PersonCommentMentionId";
249
+ export { PersonCommentMentionView } from "./types/PersonCommentMentionView";
250
+ export { PersonContentCombinedPaginationCursor } from "./types/PersonContentCombinedPaginationCursor";
251
+ export { PersonContentCombinedView } from "./types/PersonContentCombinedView";
252
+ export { PersonContentType } from "./types/PersonContentType";
221
253
  export { PersonId } from "./types/PersonId";
222
- export { PersonMention } from "./types/PersonMention";
223
- export { PersonMentionId } from "./types/PersonMentionId";
224
- export { PersonMentionResponse } from "./types/PersonMentionResponse";
225
- export { PersonMentionView } from "./types/PersonMentionView";
254
+ export { PersonPostMention } from "./types/PersonPostMention";
255
+ export { PersonPostMentionId } from "./types/PersonPostMentionId";
256
+ export { PersonPostMentionView } from "./types/PersonPostMentionView";
257
+ export { PersonSavedCombinedPaginationCursor } from "./types/PersonSavedCombinedPaginationCursor";
226
258
  export { PersonView } from "./types/PersonView";
227
259
  export { Post } from "./types/Post";
228
260
  export { PostAggregates } from "./types/PostAggregates";
@@ -235,6 +267,7 @@ export { PostReportResponse } from "./types/PostReportResponse";
235
267
  export { PostReportView } from "./types/PostReportView";
236
268
  export { PostResponse } from "./types/PostResponse";
237
269
  export { PostSortType } from "./types/PostSortType";
270
+ export { PostTags } from "./types/PostTags";
238
271
  export { PostView } from "./types/PostView";
239
272
  export { PrivateMessage } from "./types/PrivateMessage";
240
273
  export { PrivateMessageId } from "./types/PrivateMessageId";
@@ -244,7 +277,6 @@ export { PrivateMessageReportResponse } from "./types/PrivateMessageReportRespon
244
277
  export { PrivateMessageReportView } from "./types/PrivateMessageReportView";
245
278
  export { PrivateMessageResponse } from "./types/PrivateMessageResponse";
246
279
  export { PrivateMessageView } from "./types/PrivateMessageView";
247
- export { PrivateMessagesResponse } from "./types/PrivateMessagesResponse";
248
280
  export { PublicOAuthProvider } from "./types/PublicOAuthProvider";
249
281
  export { PurgeComment } from "./types/PurgeComment";
250
282
  export { PurgeCommunity } from "./types/PurgeCommunity";
@@ -260,6 +292,10 @@ export { RegistrationMode } from "./types/RegistrationMode";
260
292
  export { RemoveComment } from "./types/RemoveComment";
261
293
  export { RemoveCommunity } from "./types/RemoveCommunity";
262
294
  export { RemovePost } from "./types/RemovePost";
295
+ export { ReportCombinedPaginationCursor } from "./types/ReportCombinedPaginationCursor";
296
+ export { ReportCombinedView } from "./types/ReportCombinedView";
297
+ export { ReportType } from "./types/ReportType";
298
+ export { ResendVerificationEmail } from "./types/ResendVerificationEmail";
263
299
  export { ResolveCommentReport } from "./types/ResolveCommentReport";
264
300
  export { ResolveObject } from "./types/ResolveObject";
265
301
  export { ResolveObjectResponse } from "./types/ResolveObjectResponse";
@@ -269,7 +305,10 @@ export { SaveComment } from "./types/SaveComment";
269
305
  export { SavePost } from "./types/SavePost";
270
306
  export { SaveUserSettings } from "./types/SaveUserSettings";
271
307
  export { Search } from "./types/Search";
308
+ export { SearchCombinedPaginationCursor } from "./types/SearchCombinedPaginationCursor";
309
+ export { SearchCombinedView } from "./types/SearchCombinedView";
272
310
  export { SearchResponse } from "./types/SearchResponse";
311
+ export { SearchSortType } from "./types/SearchSortType";
273
312
  export { SearchType } from "./types/SearchType";
274
313
  export { SensitiveString } from "./types/SensitiveString";
275
314
  export { Site } from "./types/Site";
@@ -279,6 +318,8 @@ export { SiteResponse } from "./types/SiteResponse";
279
318
  export { SiteView } from "./types/SiteView";
280
319
  export { SubscribedType } from "./types/SubscribedType";
281
320
  export { SuccessResponse } from "./types/SuccessResponse";
321
+ export { Tag } from "./types/Tag";
322
+ export { TagId } from "./types/TagId";
282
323
  export { Tagline } from "./types/Tagline";
283
324
  export { TaglineId } from "./types/TaglineId";
284
325
  export { TaglineResponse } from "./types/TaglineResponse";
@@ -286,6 +327,7 @@ export { TransferCommunity } from "./types/TransferCommunity";
286
327
  export { UpdateTagline } from "./types/UpdateTagline";
287
328
  export { UpdateTotp } from "./types/UpdateTotp";
288
329
  export { UpdateTotpResponse } from "./types/UpdateTotpResponse";
330
+ export { UploadImageResponse } from "./types/UploadImageResponse";
289
331
  export { UserBlockInstanceParams } from "./types/UserBlockInstanceParams";
290
332
  export { VerifyEmail } from "./types/VerifyEmail";
291
333
  export { VoteView } from "./types/VoteView";
@@ -1,21 +1,85 @@
1
+ import { DeleteImageParams } from "./types/DeleteImageParams";
2
+ import { GetComment } from "./types/GetComment";
3
+ import { GetComments } from "./types/GetComments";
4
+ import { GetCommunity } from "./types/GetCommunity";
5
+ import { GetCommunityPendingFollowsCount } from "./types/GetCommunityPendingFollowsCount";
6
+ import { GetModlog } from "./types/GetModlog";
7
+ import { GetPersonDetails } from "./types/GetPersonDetails";
8
+ import { GetPost } from "./types/GetPost";
9
+ import { GetPosts } from "./types/GetPosts";
10
+ import { GetRandomCommunity } from "./types/GetRandomCommunity";
11
+ import { GetRegistrationApplication } from "./types/GetRegistrationApplication";
12
+ import { GetReportCount } from "./types/GetReportCount";
13
+ import { GetSiteMetadata } from "./types/GetSiteMetadata";
14
+ import { ListCommentLikes } from "./types/ListCommentLikes";
15
+ import { ListCommunities } from "./types/ListCommunities";
16
+ import { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
17
+ import { ListCustomEmojis } from "./types/ListCustomEmojis";
18
+ import { ListInbox } from "./types/ListInbox";
19
+ import { ListMedia } from "./types/ListMedia";
20
+ import { ListPersonContent } from "./types/ListPersonContent";
21
+ import { ListPersonSaved } from "./types/ListPersonSaved";
22
+ import { ListPostLikes } from "./types/ListPostLikes";
23
+ import { ListRegistrationApplications } from "./types/ListRegistrationApplications";
24
+ import { ListReports } from "./types/ListReports";
25
+ import { ListTaglines } from "./types/ListTaglines";
26
+ import { ResolveObject } from "./types/ResolveObject";
27
+ import { Search } from "./types/Search";
1
28
  export declare const VERSION = "v4";
2
29
  export interface UploadImage {
3
30
  image: File | Buffer;
4
31
  }
5
- export interface UploadImageResponse {
6
- /**
7
- * Is "ok" if the upload was successful; is something else otherwise.
8
- */
9
- msg: string;
10
- files?: ImageFile[];
11
- url?: string;
12
- delete_url?: string;
13
- }
14
- export interface ImageFile {
15
- file: string;
16
- delete_token: string;
17
- }
18
- export interface DeleteImage {
19
- token: string;
20
- filename: string;
32
+ export interface ListMediaI extends ListMedia {
33
+ }
34
+ export interface GetModlogI extends GetModlog {
35
+ }
36
+ export interface SearchI extends Search {
37
+ }
38
+ export interface ResolveObjectI extends ResolveObject {
39
+ }
40
+ export interface GetCommunityI extends GetCommunity {
41
+ }
42
+ export interface ListCommunitiesI extends ListCommunities {
43
+ }
44
+ export interface GetCommunityPendingFollowsCountI extends GetCommunityPendingFollowsCount {
45
+ }
46
+ export interface ListCommunityPendingFollowsI extends ListCommunityPendingFollows {
47
+ }
48
+ export interface GetRandomCommunityI extends GetRandomCommunity {
49
+ }
50
+ export interface GetPostI extends GetPost {
51
+ }
52
+ export interface GetPostsI extends GetPosts {
53
+ }
54
+ export interface ListPostLikesI extends ListPostLikes {
55
+ }
56
+ export interface GetSiteMetadataI extends GetSiteMetadata {
57
+ }
58
+ export interface ListCommentLikesI extends ListCommentLikes {
59
+ }
60
+ export interface GetCommentsI extends GetComments {
61
+ }
62
+ export interface GetCommentI extends GetComment {
63
+ }
64
+ export interface GetPersonDetailsI extends GetPersonDetails {
65
+ }
66
+ export interface ListPersonContentI extends ListPersonContent {
67
+ }
68
+ export interface GetReportCountI extends GetReportCount {
69
+ }
70
+ export interface ListInboxI extends ListInbox {
71
+ }
72
+ export interface ListPersonSavedI extends ListPersonSaved {
73
+ }
74
+ export interface ListRegistrationApplicationsI extends ListRegistrationApplications {
75
+ }
76
+ export interface GetRegistrationApplicationI extends GetRegistrationApplication {
77
+ }
78
+ export interface ListCustomEmojisI extends ListCustomEmojis {
79
+ }
80
+ export interface ListTaglinesI extends ListTaglines {
81
+ }
82
+ export interface ListReportsI extends ListReports {
83
+ }
84
+ export interface DeleteImageParamsI extends DeleteImageParams {
21
85
  }
@@ -1,7 +1,8 @@
1
+ import type { AdminAllowInstanceId } from "./AdminAllowInstanceId";
1
2
  import type { InstanceId } from "./InstanceId";
2
3
  import type { PersonId } from "./PersonId";
3
4
  export type AdminAllowInstance = {
4
- id: number;
5
+ id: AdminAllowInstanceId;
5
6
  instance_id: InstanceId;
6
7
  admin_person_id: PersonId;
7
8
  allowed: boolean;
@@ -0,0 +1 @@
1
+ export type AdminAllowInstanceId = number;
@@ -5,7 +5,7 @@ import type { Person } from "./Person";
5
5
  * When an admin purges a post.
6
6
  */
7
7
  export type AdminAllowInstanceView = {
8
- admin_block_instance: AdminAllowInstance;
8
+ admin_allow_instance: AdminAllowInstance;
9
9
  instance: Instance;
10
10
  admin?: Person;
11
11
  };
@@ -1,7 +1,8 @@
1
+ import type { AdminBlockInstanceId } from "./AdminBlockInstanceId";
1
2
  import type { InstanceId } from "./InstanceId";
2
3
  import type { PersonId } from "./PersonId";
3
4
  export type AdminBlockInstance = {
4
- id: number;
5
+ id: AdminBlockInstanceId;
5
6
  instance_id: InstanceId;
6
7
  admin_person_id: PersonId;
7
8
  blocked: boolean;
@@ -0,0 +1 @@
1
+ export type AdminBlockInstanceId = number;
@@ -1,12 +1,13 @@
1
+ import type { AdminPurgeCommentId } from "./AdminPurgeCommentId";
1
2
  import type { PersonId } from "./PersonId";
2
3
  import type { PostId } from "./PostId";
3
4
  /**
4
5
  * When an admin purges a comment.
5
6
  */
6
7
  export type AdminPurgeComment = {
7
- id: number;
8
+ id: AdminPurgeCommentId;
8
9
  admin_person_id: PersonId;
9
10
  post_id: PostId;
10
11
  reason?: string;
11
- when_: string;
12
+ published: string;
12
13
  };
@@ -0,0 +1 @@
1
+ export type AdminPurgeCommentId = number;
@@ -0,0 +1,3 @@
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 +1,11 @@
1
+ import type { AdminPurgeCommunityId } from "./AdminPurgeCommunityId";
1
2
  import type { PersonId } from "./PersonId";
2
3
  /**
3
4
  * When an admin purges a community.
4
5
  */
5
6
  export type AdminPurgeCommunity = {
6
- id: number;
7
+ id: AdminPurgeCommunityId;
7
8
  admin_person_id: PersonId;
8
9
  reason?: string;
9
- when_: string;
10
+ published: string;
10
11
  };
@@ -0,0 +1 @@
1
+ export type AdminPurgeCommunityId = number;
@@ -0,0 +1,3 @@
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 +1,11 @@
1
+ import type { AdminPurgePersonId } from "./AdminPurgePersonId";
1
2
  import type { PersonId } from "./PersonId";
2
3
  /**
3
4
  * When an admin purges a person.
4
5
  */
5
6
  export type AdminPurgePerson = {
6
- id: number;
7
+ id: AdminPurgePersonId;
7
8
  admin_person_id: PersonId;
8
9
  reason?: string;
9
- when_: string;
10
+ published: string;
10
11
  };
@@ -0,0 +1 @@
1
+ export type AdminPurgePersonId = number;
@@ -0,0 +1,3 @@
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,12 +1,13 @@
1
+ import type { AdminPurgePostId } from "./AdminPurgePostId";
1
2
  import type { CommunityId } from "./CommunityId";
2
3
  import type { PersonId } from "./PersonId";
3
4
  /**
4
5
  * When an admin purges a post.
5
6
  */
6
7
  export type AdminPurgePost = {
7
- id: number;
8
+ id: AdminPurgePostId;
8
9
  admin_person_id: PersonId;
9
10
  community_id: CommunityId;
10
11
  reason?: string;
11
- when_: string;
12
+ published: string;
12
13
  };
@@ -0,0 +1 @@
1
+ export type AdminPurgePostId = number;
@@ -0,0 +1,3 @@
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 });
@@ -4,7 +4,6 @@ import type { OAuthProviderId } from "./OAuthProviderId";
4
4
  */
5
5
  export type AuthenticateWithOauth = {
6
6
  code: string;
7
- pkce_code_verifier?: string;
8
7
  oauth_provider_id: OAuthProviderId;
9
8
  redirect_uri: string;
10
9
  show_nsfw?: boolean;
@@ -16,4 +15,5 @@ export type AuthenticateWithOauth = {
16
15
  * An answer is mandatory if require application is enabled on the server
17
16
  */
18
17
  answer?: string;
18
+ pkce_code_verifier?: string;
19
19
  };
@@ -21,7 +21,11 @@ export type CommentReplyView = {
21
21
  creator_is_moderator: boolean;
22
22
  creator_is_admin: boolean;
23
23
  subscribed: SubscribedType;
24
- saved: boolean;
24
+ /**
25
+ * The time when the comment was saved.
26
+ */
27
+ saved?: string;
25
28
  creator_blocked: boolean;
26
29
  my_vote?: number;
30
+ can_mod: boolean;
27
31
  };
@@ -14,4 +14,5 @@ export type CommentReport = {
14
14
  resolver_id?: PersonId;
15
15
  published: string;
16
16
  updated?: string;
17
+ violates_instance_rules: boolean;
17
18
  };
@@ -21,7 +21,10 @@ export type CommentReportView = {
21
21
  creator_is_admin: boolean;
22
22
  creator_blocked: boolean;
23
23
  subscribed: SubscribedType;
24
- saved: boolean;
24
+ /**
25
+ * The time when the comment was saved.
26
+ */
27
+ saved?: string;
25
28
  my_vote?: number;
26
29
  resolver?: Person;
27
30
  };
@@ -0,0 +1,24 @@
1
+ import type { Comment } from "./Comment";
2
+ import type { CommentAggregates } from "./CommentAggregates";
3
+ import type { Person } from "./Person";
4
+ import type { SubscribedType } from "./SubscribedType";
5
+ /**
6
+ * A slimmer comment view, without the post, or community.
7
+ */
8
+ export type CommentSlimView = {
9
+ comment: Comment;
10
+ creator: Person;
11
+ counts: CommentAggregates;
12
+ creator_banned_from_community: boolean;
13
+ banned_from_community: boolean;
14
+ creator_is_moderator: boolean;
15
+ creator_is_admin: boolean;
16
+ subscribed: SubscribedType;
17
+ /**
18
+ * The time when the comment was saved.
19
+ */
20
+ saved?: string;
21
+ creator_blocked: boolean;
22
+ my_vote?: number;
23
+ can_mod: boolean;
24
+ };
@@ -18,7 +18,11 @@ export type CommentView = {
18
18
  creator_is_moderator: boolean;
19
19
  creator_is_admin: boolean;
20
20
  subscribed: SubscribedType;
21
- saved: boolean;
21
+ /**
22
+ * The time when the comment was saved.
23
+ */
24
+ saved?: string;
22
25
  creator_blocked: boolean;
23
26
  my_vote?: number;
27
+ can_mod: boolean;
24
28
  };
@@ -31,9 +31,9 @@ export type Community = {
31
31
  */
32
32
  nsfw: boolean;
33
33
  /**
34
- * The federated actor_id.
34
+ * The federated ap_id.
35
35
  */
36
- actor_id: DbUrl;
36
+ ap_id: DbUrl;
37
37
  /**
38
38
  * Whether the community is local.
39
39
  */
@@ -25,4 +25,6 @@ export type CommunityAggregates = {
25
25
  */
26
26
  users_active_half_year: number;
27
27
  subscribers_local: number;
28
+ report_count: number;
29
+ unresolved_report_count: number;
28
30
  };
@@ -0,0 +1,22 @@
1
+ import type { CommunityId } from "./CommunityId";
2
+ import type { CommunityReportId } from "./CommunityReportId";
3
+ import type { PersonId } from "./PersonId";
4
+ /**
5
+ * A comment report.
6
+ */
7
+ export type CommunityReport = {
8
+ id: CommunityReportId;
9
+ creator_id: PersonId;
10
+ community_id: CommunityId;
11
+ original_community_name: string;
12
+ original_community_title: string;
13
+ original_community_description?: string;
14
+ original_community_sidebar?: string;
15
+ original_community_icon?: string;
16
+ original_community_banner?: string;
17
+ reason: string;
18
+ resolved: boolean;
19
+ resolver_id?: PersonId;
20
+ published: string;
21
+ updated?: string;
22
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * The community report id.
3
+ */
4
+ export type CommunityReportId = number;
@@ -0,0 +1,3 @@
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 });