lemmy-js-client 1.0.0-post-tags.0 → 1.0.0-remove-page-limit.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 (154) hide show
  1. package/README.md +12 -3
  2. package/dist/http.d.ts +28 -28
  3. package/dist/http.js +703 -706
  4. package/dist/index.d.ts +16 -21
  5. package/dist/other_types.d.ts +3 -0
  6. package/dist/types/BannedPersonsResponse.d.ts +6 -0
  7. package/dist/types/Comment.d.ts +14 -0
  8. package/dist/types/CommentActions.d.ts +18 -0
  9. package/dist/types/CommentReplyView.d.ts +16 -11
  10. package/dist/types/CommentReport.d.ts +1 -0
  11. package/dist/types/CommentReportView.d.ts +8 -10
  12. package/dist/types/CommentSlimView.d.ts +12 -10
  13. package/dist/types/CommentView.d.ts +15 -10
  14. package/dist/types/Community.d.ts +25 -6
  15. package/dist/types/CommunityActions.d.ts +35 -0
  16. package/dist/types/CommunityReportResponse.d.ts +7 -0
  17. package/dist/types/CommunityReportView.d.ts +0 -4
  18. package/dist/types/CommunitySortType.d.ts +1 -1
  19. package/dist/types/CommunityView.d.ts +7 -6
  20. package/dist/types/CommunityVisibility.d.ts +1 -1
  21. package/dist/types/CreateCommentReport.d.ts +1 -0
  22. package/dist/types/CreateCommunityReport.d.ts +8 -0
  23. package/dist/types/CreateCommunityTag.d.ts +1 -2
  24. package/dist/types/CreatePostReport.d.ts +1 -0
  25. package/dist/types/CreateSite.d.ts +2 -1
  26. package/dist/types/EditPost.d.ts +2 -0
  27. package/dist/types/EditSite.d.ts +6 -3
  28. package/dist/types/FederationError.d.ts +1 -1
  29. package/dist/types/GetComments.d.ts +8 -1
  30. package/dist/types/GetCommentsResponse.d.ts +3 -0
  31. package/dist/types/GetCommentsSlimResponse.d.ts +3 -0
  32. package/dist/types/GetModlog.d.ts +27 -2
  33. package/dist/types/GetModlogResponse.d.ts +6 -0
  34. package/dist/types/GetPostResponse.d.ts +0 -2
  35. package/dist/types/GetPosts.d.ts +5 -5
  36. package/dist/types/GetPostsResponse.d.ts +1 -0
  37. package/dist/types/GetSiteResponse.d.ts +4 -2
  38. package/dist/types/ImageDetails.d.ts +1 -0
  39. package/dist/types/Instance.d.ts +9 -0
  40. package/dist/types/InstanceActions.d.ts +18 -0
  41. package/dist/types/InstanceWithFederationState.d.ts +9 -0
  42. package/dist/types/LemmyErrorType.d.ts +95 -24
  43. package/dist/types/ListBannedPersons.d.ts +9 -0
  44. package/dist/types/ListCommentLikes.d.ts +3 -1
  45. package/dist/types/ListCommentLikesResponse.d.ts +6 -0
  46. package/dist/types/ListCommunities.d.ts +8 -1
  47. package/dist/types/ListCommunitiesResponse.d.ts +6 -0
  48. package/dist/types/ListCommunityPendingFollows.d.ts +3 -1
  49. package/dist/types/ListCommunityPendingFollows.js +0 -1
  50. package/dist/types/ListCommunityPendingFollowsResponse.d.ts +6 -0
  51. package/dist/types/ListCustomEmojis.d.ts +0 -3
  52. package/dist/types/ListInbox.d.ts +3 -2
  53. package/dist/types/ListInboxResponse.d.ts +6 -0
  54. package/dist/types/ListMedia.d.ts +3 -1
  55. package/dist/types/ListMedia.js +0 -1
  56. package/dist/types/ListMediaResponse.d.ts +6 -0
  57. package/dist/types/ListPersonContent.d.ts +3 -2
  58. package/dist/types/ListPersonContentResponse.d.ts +6 -0
  59. package/dist/types/ListPersonSaved.d.ts +3 -2
  60. package/dist/types/ListPersonSavedResponse.d.ts +8 -2
  61. package/dist/types/ListPostLikes.d.ts +3 -1
  62. package/dist/types/ListPostLikesResponse.d.ts +6 -0
  63. package/dist/types/ListRegistrationApplications.d.ts +3 -1
  64. package/dist/types/ListRegistrationApplications.js +0 -1
  65. package/dist/types/ListRegistrationApplicationsResponse.d.ts +6 -0
  66. package/dist/types/ListReports.d.ts +11 -2
  67. package/dist/types/ListReportsResponse.d.ts +6 -0
  68. package/dist/types/ListTaglines.d.ts +3 -1
  69. package/dist/types/ListTaglines.js +0 -1
  70. package/dist/types/ListTaglinesResponse.d.ts +6 -0
  71. package/dist/types/LocalSite.d.ts +26 -3
  72. package/dist/types/LocalUser.d.ts +8 -0
  73. package/dist/types/LocalUserView.d.ts +2 -4
  74. package/dist/types/ModBan.d.ts +2 -0
  75. package/dist/types/ModChangeCommunityVisibility.d.ts +12 -0
  76. package/dist/types/ModChangeCommunityVisibilityId.d.ts +1 -0
  77. package/dist/types/ModChangeCommunityVisibilityView.d.ts +11 -0
  78. package/dist/types/ModlogActionType.d.ts +1 -1
  79. package/dist/types/ModlogCombinedView.d.ts +3 -3
  80. package/dist/types/MyUserInfo.d.ts +1 -0
  81. package/dist/types/PaginationCursor.d.ts +1 -4
  82. package/dist/types/PendingFollow.d.ts +2 -2
  83. package/dist/types/Person.d.ts +4 -10
  84. package/dist/types/PersonActions.d.ts +9 -0
  85. package/dist/types/PersonCommentMentionView.d.ts +14 -11
  86. package/dist/types/PersonPostMentionView.d.ts +16 -16
  87. package/dist/types/PersonSavedCombinedView.d.ts +7 -0
  88. package/dist/types/PersonView.d.ts +4 -2
  89. package/dist/types/PluginMetadata.d.ts +5 -0
  90. package/dist/types/Post.d.ts +15 -0
  91. package/dist/types/PostActions.d.ts +35 -0
  92. package/dist/types/PostReport.d.ts +1 -0
  93. package/dist/types/PostReportView.d.ts +8 -13
  94. package/dist/types/PostSortType.d.ts +1 -1
  95. package/dist/types/PostView.d.ts +15 -15
  96. package/dist/types/PrivateMessage.d.ts +1 -0
  97. package/dist/types/PrivateMessageReportView.d.ts +1 -1
  98. package/dist/types/ResendVerificationEmail.d.ts +7 -0
  99. package/dist/types/ResolveCommunityReport.d.ts +8 -0
  100. package/dist/types/ResolveCommunityReport.js +2 -0
  101. package/dist/types/SaveUserSettings.d.ts +5 -0
  102. package/dist/types/Search.d.ts +8 -2
  103. package/dist/types/SearchResponse.d.ts +6 -0
  104. package/dist/types/Site.d.ts +2 -2
  105. package/dist/types/SiteView.d.ts +2 -2
  106. package/dist/types/Tag.d.ts +8 -6
  107. package/dist/types/Tagline.d.ts +2 -1
  108. package/dist/types/Tagline.js +0 -1
  109. package/dist/types/{PostTags.d.ts → TagsView.d.ts} +1 -1
  110. package/dist/types/TagsView.js +2 -0
  111. package/dist/types/UpdateCommunityTag.d.ts +1 -1
  112. package/dist/types/VoteView.d.ts +1 -0
  113. package/package.json +6 -3
  114. package/dist/types/CommentAggregates.d.ts +0 -17
  115. package/dist/types/CommunityAggregates.d.ts +0 -30
  116. package/dist/types/CommunityTagResponse.d.ts +0 -7
  117. package/dist/types/InboxCombinedPaginationCursor.d.ts +0 -4
  118. package/dist/types/ListCommunityTags.d.ts +0 -7
  119. package/dist/types/ListCommunityTagsResponse.d.ts +0 -4
  120. package/dist/types/LocalUserVoteDisplayMode.d.ts +0 -9
  121. package/dist/types/ModHideCommunity.d.ts +0 -14
  122. package/dist/types/ModHideCommunityId.d.ts +0 -1
  123. package/dist/types/ModHideCommunityId.js +0 -3
  124. package/dist/types/ModHideCommunityView.d.ts +0 -11
  125. package/dist/types/ModlogCombinedPaginationCursor.d.ts +0 -4
  126. package/dist/types/ModlogCombinedPaginationCursor.js +0 -3
  127. package/dist/types/PersonAggregates.d.ts +0 -9
  128. package/dist/types/PersonContentCombinedPaginationCursor.d.ts +0 -4
  129. package/dist/types/PersonContentCombinedPaginationCursor.js +0 -3
  130. package/dist/types/PersonSavedCombinedPaginationCursor.d.ts +0 -4
  131. package/dist/types/PersonSavedCombinedPaginationCursor.js +0 -3
  132. package/dist/types/PostAggregates.d.ts +0 -18
  133. package/dist/types/ReportCombinedPaginationCursor.d.ts +0 -4
  134. package/dist/types/ReportCombinedPaginationCursor.js +0 -3
  135. package/dist/types/SearchCombinedPaginationCursor.d.ts +0 -4
  136. package/dist/types/SearchCombinedPaginationCursor.js +0 -3
  137. package/dist/types/SiteAggregates.d.ts +0 -27
  138. package/dist/types/SubscribedType.d.ts +0 -4
  139. package/dist/types/SubscribedType.js +0 -3
  140. package/dist/types/UpdatePostTags.d.ts +0 -9
  141. /package/dist/types/{CommentAggregates.js → CommentActions.js} +0 -0
  142. /package/dist/types/{CommunityAggregates.js → CommunityActions.js} +0 -0
  143. /package/dist/types/{CommunityTagResponse.js → CommunityReportResponse.js} +0 -0
  144. /package/dist/types/{ListCommunityTags.js → CreateCommunityReport.js} +0 -0
  145. /package/dist/types/{ListCommunityTagsResponse.js → InstanceActions.js} +0 -0
  146. /package/dist/types/{ModHideCommunity.js → ListBannedPersons.js} +0 -0
  147. /package/dist/types/{ModHideCommunityView.js → ModChangeCommunityVisibility.js} +0 -0
  148. /package/dist/types/{InboxCombinedPaginationCursor.js → ModChangeCommunityVisibilityId.js} +0 -0
  149. /package/dist/types/{PersonAggregates.js → ModChangeCommunityVisibilityView.js} +0 -0
  150. /package/dist/types/{PostAggregates.js → PersonActions.js} +0 -0
  151. /package/dist/types/{PostTags.js → PersonSavedCombinedView.js} +0 -0
  152. /package/dist/types/{LocalUserVoteDisplayMode.js → PluginMetadata.js} +0 -0
  153. /package/dist/types/{SiteAggregates.js → PostActions.js} +0 -0
  154. /package/dist/types/{UpdatePostTags.js → ResendVerificationEmail.js} +0 -0
package/dist/http.js CHANGED
@@ -22,8 +22,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
22
22
  var _LemmyHttp_instances, _LemmyHttp_apiUrl, _LemmyHttp_headers, _LemmyHttp_fetchFunction, _LemmyHttp_buildFullUrl, _LemmyHttp_upload, _LemmyHttp_wrapper;
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
24
  exports.LemmyHttp = void 0;
25
+ const runtime_1 = require("@tsoa/runtime");
25
26
  const other_types_1 = require("./other_types");
26
- const tsoa_1 = require("tsoa");
27
27
  var HttpType;
28
28
  (function (HttpType) {
29
29
  HttpType["Get"] = "GET";
@@ -34,7 +34,7 @@ var HttpType;
34
34
  /**
35
35
  * Helps build lemmy HTTP requests.
36
36
  */
37
- let LemmyHttp = class LemmyHttp extends tsoa_1.Controller {
37
+ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
38
38
  /**
39
39
  * Generates a new instance of LemmyHttp.
40
40
  * @param baseUrl the base url, without the vX version: https://lemmy.ml -> goes to https://lemmy.ml/api/vX
@@ -529,8 +529,8 @@ let LemmyHttp = class LemmyHttp extends tsoa_1.Controller {
529
529
  /**
530
530
  * @summary Get a list of banned users.
531
531
  */
532
- getBannedPersons(options) {
533
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/banned", {}, options);
532
+ listBannedPersons(form = {}, options) {
533
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/banned", form, options);
534
534
  }
535
535
  /**
536
536
  * @summary Block a person.
@@ -604,11 +604,17 @@ let LemmyHttp = class LemmyHttp extends tsoa_1.Controller {
604
604
  verifyEmail(form, options) {
605
605
  return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/verify_email", form, options);
606
606
  }
607
+ /**
608
+ * @summary Resend a verification email.
609
+ */
610
+ resendVerificationEmail(form, options) {
611
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/resend_verification_email", form, options);
612
+ }
607
613
  /**
608
614
  * @summary List your saved content.
609
615
  */
610
616
  listPersonSaved(form, options) {
611
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/auth/saved", form, options);
617
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/saved", form, options);
612
618
  }
613
619
  /**
614
620
  * @summary Add an admin to your site.
@@ -713,34 +719,22 @@ let LemmyHttp = class LemmyHttp extends tsoa_1.Controller {
713
719
  return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/tagline/list", form, options);
714
720
  }
715
721
  /**
716
- * @summary Create a community tag.
722
+ * @summary Create a community post tag.
717
723
  */
718
724
  createCommunityTag(form, options) {
719
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/post_tag", form, options);
725
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/community/tag", form, options);
720
726
  }
721
727
  /**
722
- * @summary Update a community tag.
728
+ * @summary Update a community post tag.
723
729
  */
724
730
  updateCommunityTag(form, options) {
725
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/community/post_tag", form, options);
731
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/community/tag", form, options);
726
732
  }
727
733
  /**
728
- * @summary List community tags.
729
- */
730
- listCommunityTags(form, options) {
731
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/community/post_tag/list", form, options);
732
- }
733
- /**
734
- * @summary Delete a community tag.
734
+ * @summary Delete a post tag in a community.
735
735
  */
736
736
  deleteCommunityTag(form, options) {
737
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/post_tag", form, options);
738
- }
739
- /**
740
- * @summary Update post tags.
741
- */
742
- updatePostTags(form, options) {
743
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/post/tags", form, options);
737
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community/tag", form, options);
744
738
  }
745
739
  /**
746
740
  * @summary Create a new oauth provider method
@@ -886,6 +880,14 @@ let LemmyHttp = class LemmyHttp extends tsoa_1.Controller {
886
880
  async imageHealth(options) {
887
881
  return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/image/health", {}, options);
888
882
  }
883
+ /**
884
+ * Mark donation dialog as shown, so it isn't displayed anymore.
885
+ *
886
+ * `HTTP.POST /user/donation_dialog_shown`
887
+ */
888
+ donation_dialog_shown(options) {
889
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/donation_dialog_shown", {}, options);
890
+ }
889
891
  /**
890
892
  * Set the headers (can be used to set the auth header)
891
893
  */
@@ -947,957 +949,952 @@ _LemmyHttp_wrapper = async function _LemmyHttp_wrapper(type_, endpoint, form, op
947
949
  }
948
950
  };
949
951
  __decorate([
950
- (0, tsoa_1.Security)("bearerAuth"),
951
- (0, tsoa_1.Security)({}),
952
- (0, tsoa_1.Get)("/site"),
953
- (0, tsoa_1.Tags)("Site"),
954
- __param(0, (0, tsoa_1.Inject)())
952
+ (0, runtime_1.Security)("bearerAuth"),
953
+ (0, runtime_1.Security)({}),
954
+ (0, runtime_1.Get)("/site"),
955
+ (0, runtime_1.Tags)("Site"),
956
+ __param(0, (0, runtime_1.Inject)())
955
957
  ], LemmyHttp.prototype, "getSite", null);
956
958
  __decorate([
957
- (0, tsoa_1.Security)("bearerAuth"),
958
- (0, tsoa_1.Post)("/site"),
959
- (0, tsoa_1.Tags)("Site"),
960
- __param(0, (0, tsoa_1.Body)()),
961
- __param(1, (0, tsoa_1.Inject)())
959
+ (0, runtime_1.Security)("bearerAuth"),
960
+ (0, runtime_1.Post)("/site"),
961
+ (0, runtime_1.Tags)("Site"),
962
+ __param(0, (0, runtime_1.Body)()),
963
+ __param(1, (0, runtime_1.Inject)())
962
964
  ], LemmyHttp.prototype, "createSite", null);
963
965
  __decorate([
964
- (0, tsoa_1.Security)("bearerAuth"),
965
- (0, tsoa_1.Put)("/site"),
966
- (0, tsoa_1.Tags)("Site"),
967
- __param(0, (0, tsoa_1.Body)()),
968
- __param(1, (0, tsoa_1.Inject)())
966
+ (0, runtime_1.Security)("bearerAuth"),
967
+ (0, runtime_1.Put)("/site"),
968
+ (0, runtime_1.Tags)("Site"),
969
+ __param(0, (0, runtime_1.Body)()),
970
+ __param(1, (0, runtime_1.Inject)())
969
971
  ], LemmyHttp.prototype, "editSite", null);
970
972
  __decorate([
971
- (0, tsoa_1.Security)("bearerAuth"),
972
- (0, tsoa_1.Post)("/admin/leave"),
973
- (0, tsoa_1.Tags)("Admin"),
974
- __param(0, (0, tsoa_1.Inject)())
973
+ (0, runtime_1.Security)("bearerAuth"),
974
+ (0, runtime_1.Post)("/admin/leave"),
975
+ (0, runtime_1.Tags)("Admin"),
976
+ __param(0, (0, runtime_1.Inject)())
975
977
  ], LemmyHttp.prototype, "leaveAdmin", null);
976
978
  __decorate([
977
- (0, tsoa_1.Security)("bearerAuth"),
978
- (0, tsoa_1.Post)("/account/auth/totp/generate"),
979
- (0, tsoa_1.Tags)("Account"),
980
- __param(0, (0, tsoa_1.Inject)())
979
+ (0, runtime_1.Security)("bearerAuth"),
980
+ (0, runtime_1.Post)("/account/auth/totp/generate"),
981
+ (0, runtime_1.Tags)("Account"),
982
+ __param(0, (0, runtime_1.Inject)())
981
983
  ], LemmyHttp.prototype, "generateTotpSecret", null);
982
984
  __decorate([
983
- (0, tsoa_1.Security)("bearerAuth"),
984
- (0, tsoa_1.Get)("/account"),
985
- (0, tsoa_1.Tags)("Account"),
986
- __param(0, (0, tsoa_1.Inject)())
985
+ (0, runtime_1.Security)("bearerAuth"),
986
+ (0, runtime_1.Get)("/account"),
987
+ (0, runtime_1.Tags)("Account"),
988
+ __param(0, (0, runtime_1.Inject)())
987
989
  ], LemmyHttp.prototype, "getMyUser", null);
988
990
  __decorate([
989
- (0, tsoa_1.Security)("bearerAuth"),
990
- (0, tsoa_1.Get)("/account/settings/export"),
991
- (0, tsoa_1.Tags)("Account"),
992
- __param(0, (0, tsoa_1.Inject)())
991
+ (0, runtime_1.Security)("bearerAuth"),
992
+ (0, runtime_1.Get)("/account/settings/export"),
993
+ (0, runtime_1.Tags)("Account"),
994
+ __param(0, (0, runtime_1.Inject)())
993
995
  ], LemmyHttp.prototype, "exportSettings", null);
994
996
  __decorate([
995
- (0, tsoa_1.Security)("bearerAuth"),
996
- (0, tsoa_1.Post)("/account/settings/import"),
997
- (0, tsoa_1.Tags)("Account"),
998
- __param(0, (0, tsoa_1.Body)()),
999
- __param(1, (0, tsoa_1.Inject)())
997
+ (0, runtime_1.Security)("bearerAuth"),
998
+ (0, runtime_1.Post)("/account/settings/import"),
999
+ (0, runtime_1.Tags)("Account"),
1000
+ __param(0, (0, runtime_1.Body)()),
1001
+ __param(1, (0, runtime_1.Inject)())
1000
1002
  ], LemmyHttp.prototype, "importSettings", null);
1001
1003
  __decorate([
1002
- (0, tsoa_1.Security)("bearerAuth"),
1003
- (0, tsoa_1.Get)("/account/list_logins"),
1004
- (0, tsoa_1.Tags)("Account"),
1005
- __param(0, (0, tsoa_1.Inject)())
1004
+ (0, runtime_1.Security)("bearerAuth"),
1005
+ (0, runtime_1.Get)("/account/list_logins"),
1006
+ (0, runtime_1.Tags)("Account"),
1007
+ __param(0, (0, runtime_1.Inject)())
1006
1008
  ], LemmyHttp.prototype, "listLogins", null);
1007
1009
  __decorate([
1008
- (0, tsoa_1.Security)("bearerAuth"),
1009
- (0, tsoa_1.Get)("/account/validate_auth"),
1010
- (0, tsoa_1.Tags)("Account"),
1011
- __param(0, (0, tsoa_1.Inject)())
1010
+ (0, runtime_1.Security)("bearerAuth"),
1011
+ (0, runtime_1.Get)("/account/validate_auth"),
1012
+ (0, runtime_1.Tags)("Account"),
1013
+ __param(0, (0, runtime_1.Inject)())
1012
1014
  ], LemmyHttp.prototype, "validateAuth", null);
1013
1015
  __decorate([
1014
- (0, tsoa_1.Security)("bearerAuth"),
1015
- (0, tsoa_1.Get)("/account/list_media"),
1016
- (0, tsoa_1.Tags)("Account", "Media"),
1017
- __param(0, (0, tsoa_1.Queries)()),
1018
- __param(1, (0, tsoa_1.Inject)())
1016
+ (0, runtime_1.Security)("bearerAuth"),
1017
+ (0, runtime_1.Get)("/account/list_media"),
1018
+ (0, runtime_1.Tags)("Account", "Media"),
1019
+ __param(0, (0, runtime_1.Queries)()),
1020
+ __param(1, (0, runtime_1.Inject)())
1019
1021
  ], LemmyHttp.prototype, "listMedia", null);
1020
1022
  __decorate([
1021
- (0, tsoa_1.Security)("bearerAuth"),
1022
- (0, tsoa_1.Get)("/admin/list_all_media"),
1023
- (0, tsoa_1.Tags)("Admin", "Media"),
1024
- __param(0, (0, tsoa_1.Queries)()),
1025
- __param(1, (0, tsoa_1.Inject)())
1023
+ (0, runtime_1.Security)("bearerAuth"),
1024
+ (0, runtime_1.Get)("/admin/list_all_media"),
1025
+ (0, runtime_1.Tags)("Admin", "Media"),
1026
+ __param(0, (0, runtime_1.Queries)()),
1027
+ __param(1, (0, runtime_1.Inject)())
1026
1028
  ], LemmyHttp.prototype, "listAllMedia", null);
1027
1029
  __decorate([
1028
- (0, tsoa_1.Security)("bearerAuth"),
1029
- (0, tsoa_1.Post)("/account/auth/totp/update"),
1030
- (0, tsoa_1.Tags)("Account"),
1031
- __param(0, (0, tsoa_1.Body)()),
1032
- __param(1, (0, tsoa_1.Inject)())
1030
+ (0, runtime_1.Security)("bearerAuth"),
1031
+ (0, runtime_1.Post)("/account/auth/totp/update"),
1032
+ (0, runtime_1.Tags)("Account"),
1033
+ __param(0, (0, runtime_1.Body)()),
1034
+ __param(1, (0, runtime_1.Inject)())
1033
1035
  ], LemmyHttp.prototype, "updateTotp", null);
1034
1036
  __decorate([
1035
- (0, tsoa_1.Security)("bearerAuth"),
1036
- (0, tsoa_1.Security)({}),
1037
- (0, tsoa_1.Get)("/modlog"),
1038
- (0, tsoa_1.Tags)("Miscellaneous"),
1039
- __param(0, (0, tsoa_1.Queries)()),
1040
- __param(1, (0, tsoa_1.Inject)())
1037
+ (0, runtime_1.Security)("bearerAuth"),
1038
+ (0, runtime_1.Security)({}),
1039
+ (0, runtime_1.Get)("/modlog"),
1040
+ (0, runtime_1.Tags)("Miscellaneous"),
1041
+ __param(0, (0, runtime_1.Queries)()),
1042
+ __param(1, (0, runtime_1.Inject)())
1041
1043
  ], LemmyHttp.prototype, "getModlog", null);
1042
1044
  __decorate([
1043
- (0, tsoa_1.Security)("bearerAuth"),
1044
- (0, tsoa_1.Security)({}),
1045
- (0, tsoa_1.Get)("/search"),
1046
- (0, tsoa_1.Tags)("Miscellaneous"),
1047
- __param(0, (0, tsoa_1.Queries)()),
1048
- __param(1, (0, tsoa_1.Inject)())
1045
+ (0, runtime_1.Security)("bearerAuth"),
1046
+ (0, runtime_1.Security)({}),
1047
+ (0, runtime_1.Get)("/search"),
1048
+ (0, runtime_1.Tags)("Miscellaneous"),
1049
+ __param(0, (0, runtime_1.Queries)()),
1050
+ __param(1, (0, runtime_1.Inject)())
1049
1051
  ], LemmyHttp.prototype, "search", null);
1050
1052
  __decorate([
1051
- (0, tsoa_1.Security)("bearerAuth"),
1052
- (0, tsoa_1.Security)({}),
1053
- (0, tsoa_1.Get)("/resolve_object"),
1054
- (0, tsoa_1.Tags)("Miscellaneous"),
1055
- __param(0, (0, tsoa_1.Queries)()),
1056
- __param(1, (0, tsoa_1.Inject)())
1053
+ (0, runtime_1.Security)("bearerAuth"),
1054
+ (0, runtime_1.Security)({}),
1055
+ (0, runtime_1.Get)("/resolve_object"),
1056
+ (0, runtime_1.Tags)("Miscellaneous"),
1057
+ __param(0, (0, runtime_1.Queries)()),
1058
+ __param(1, (0, runtime_1.Inject)())
1057
1059
  ], LemmyHttp.prototype, "resolveObject", null);
1058
1060
  __decorate([
1059
- (0, tsoa_1.Security)("bearerAuth"),
1060
- (0, tsoa_1.Post)("/community"),
1061
- (0, tsoa_1.Tags)("Community"),
1062
- __param(0, (0, tsoa_1.Body)()),
1063
- __param(1, (0, tsoa_1.Inject)())
1061
+ (0, runtime_1.Security)("bearerAuth"),
1062
+ (0, runtime_1.Post)("/community"),
1063
+ (0, runtime_1.Tags)("Community"),
1064
+ __param(0, (0, runtime_1.Body)()),
1065
+ __param(1, (0, runtime_1.Inject)())
1064
1066
  ], LemmyHttp.prototype, "createCommunity", null);
1065
1067
  __decorate([
1066
- (0, tsoa_1.Security)("bearerAuth"),
1067
- (0, tsoa_1.Security)({}),
1068
- (0, tsoa_1.Get)("/community"),
1069
- (0, tsoa_1.Tags)("Community"),
1070
- __param(0, (0, tsoa_1.Queries)()),
1071
- __param(1, (0, tsoa_1.Inject)())
1068
+ (0, runtime_1.Security)("bearerAuth"),
1069
+ (0, runtime_1.Security)({}),
1070
+ (0, runtime_1.Get)("/community"),
1071
+ (0, runtime_1.Tags)("Community"),
1072
+ __param(0, (0, runtime_1.Queries)()),
1073
+ __param(1, (0, runtime_1.Inject)())
1072
1074
  ], LemmyHttp.prototype, "getCommunity", null);
1073
1075
  __decorate([
1074
- (0, tsoa_1.Security)("bearerAuth"),
1075
- (0, tsoa_1.Put)("/community"),
1076
- (0, tsoa_1.Tags)("Community"),
1077
- __param(0, (0, tsoa_1.Body)()),
1078
- __param(1, (0, tsoa_1.Inject)())
1076
+ (0, runtime_1.Security)("bearerAuth"),
1077
+ (0, runtime_1.Put)("/community"),
1078
+ (0, runtime_1.Tags)("Community"),
1079
+ __param(0, (0, runtime_1.Body)()),
1080
+ __param(1, (0, runtime_1.Inject)())
1079
1081
  ], LemmyHttp.prototype, "editCommunity", null);
1080
1082
  __decorate([
1081
- (0, tsoa_1.Security)("bearerAuth"),
1082
- (0, tsoa_1.Security)({}),
1083
- (0, tsoa_1.Get)("/community/list"),
1084
- (0, tsoa_1.Tags)("Community"),
1085
- __param(0, (0, tsoa_1.Queries)()),
1086
- __param(1, (0, tsoa_1.Inject)())
1083
+ (0, runtime_1.Security)("bearerAuth"),
1084
+ (0, runtime_1.Security)({}),
1085
+ (0, runtime_1.Get)("/community/list"),
1086
+ (0, runtime_1.Tags)("Community"),
1087
+ __param(0, (0, runtime_1.Queries)()),
1088
+ __param(1, (0, runtime_1.Inject)())
1087
1089
  ], LemmyHttp.prototype, "listCommunities", null);
1088
1090
  __decorate([
1089
- (0, tsoa_1.Security)("bearerAuth"),
1090
- (0, tsoa_1.Post)("/community/follow"),
1091
- (0, tsoa_1.Tags)("Community"),
1092
- __param(0, (0, tsoa_1.Body)()),
1093
- __param(1, (0, tsoa_1.Inject)()),
1094
- __param(1, (0, tsoa_1.Inject)())
1091
+ (0, runtime_1.Security)("bearerAuth"),
1092
+ (0, runtime_1.Post)("/community/follow"),
1093
+ (0, runtime_1.Tags)("Community"),
1094
+ __param(0, (0, runtime_1.Body)()),
1095
+ __param(1, (0, runtime_1.Inject)()),
1096
+ __param(1, (0, runtime_1.Inject)())
1095
1097
  ], LemmyHttp.prototype, "followCommunity", null);
1096
1098
  __decorate([
1097
- (0, tsoa_1.Security)("bearerAuth"),
1098
- (0, tsoa_1.Get)("/community/pending_follows/count"),
1099
- (0, tsoa_1.Tags)("Community"),
1100
- __param(0, (0, tsoa_1.Queries)()),
1101
- __param(1, (0, tsoa_1.Inject)())
1099
+ (0, runtime_1.Security)("bearerAuth"),
1100
+ (0, runtime_1.Get)("/community/pending_follows/count"),
1101
+ (0, runtime_1.Tags)("Community"),
1102
+ __param(0, (0, runtime_1.Queries)()),
1103
+ __param(1, (0, runtime_1.Inject)())
1102
1104
  ], LemmyHttp.prototype, "getCommunityPendingFollowsCount", null);
1103
1105
  __decorate([
1104
- (0, tsoa_1.Security)("bearerAuth"),
1105
- (0, tsoa_1.Get)("/community/pending_follows/list"),
1106
- (0, tsoa_1.Tags)("Community"),
1107
- __param(0, (0, tsoa_1.Queries)()),
1108
- __param(1, (0, tsoa_1.Inject)())
1106
+ (0, runtime_1.Security)("bearerAuth"),
1107
+ (0, runtime_1.Get)("/community/pending_follows/list"),
1108
+ (0, runtime_1.Tags)("Community"),
1109
+ __param(0, (0, runtime_1.Queries)()),
1110
+ __param(1, (0, runtime_1.Inject)())
1109
1111
  ], LemmyHttp.prototype, "listCommunityPendingFollows", null);
1110
1112
  __decorate([
1111
- (0, tsoa_1.Security)("bearerAuth"),
1112
- (0, tsoa_1.Post)("/community/pending_follows/approve"),
1113
- (0, tsoa_1.Tags)("Community"),
1114
- __param(0, (0, tsoa_1.Body)()),
1115
- __param(1, (0, tsoa_1.Inject)())
1113
+ (0, runtime_1.Security)("bearerAuth"),
1114
+ (0, runtime_1.Post)("/community/pending_follows/approve"),
1115
+ (0, runtime_1.Tags)("Community"),
1116
+ __param(0, (0, runtime_1.Body)()),
1117
+ __param(1, (0, runtime_1.Inject)())
1116
1118
  ], LemmyHttp.prototype, "approveCommunityPendingFollow", null);
1117
1119
  __decorate([
1118
- (0, tsoa_1.Security)("bearerAuth"),
1119
- (0, tsoa_1.Post)("/account/block/community"),
1120
- (0, tsoa_1.Tags)("Account", "Community"),
1121
- __param(0, (0, tsoa_1.Body)()),
1122
- __param(1, (0, tsoa_1.Inject)())
1120
+ (0, runtime_1.Security)("bearerAuth"),
1121
+ (0, runtime_1.Post)("/account/block/community"),
1122
+ (0, runtime_1.Tags)("Account", "Community"),
1123
+ __param(0, (0, runtime_1.Body)()),
1124
+ __param(1, (0, runtime_1.Inject)())
1123
1125
  ], LemmyHttp.prototype, "blockCommunity", null);
1124
1126
  __decorate([
1125
- (0, tsoa_1.Security)("bearerAuth"),
1126
- (0, tsoa_1.Post)("/community/delete"),
1127
- (0, tsoa_1.Tags)("Community"),
1128
- __param(0, (0, tsoa_1.Body)()),
1129
- __param(1, (0, tsoa_1.Inject)())
1127
+ (0, runtime_1.Security)("bearerAuth"),
1128
+ (0, runtime_1.Post)("/community/delete"),
1129
+ (0, runtime_1.Tags)("Community"),
1130
+ __param(0, (0, runtime_1.Body)()),
1131
+ __param(1, (0, runtime_1.Inject)())
1130
1132
  ], LemmyHttp.prototype, "deleteCommunity", null);
1131
1133
  __decorate([
1132
- (0, tsoa_1.Security)("bearerAuth"),
1133
- (0, tsoa_1.Put)("/community/hide"),
1134
- (0, tsoa_1.Tags)("Community", "Admin"),
1135
- __param(0, (0, tsoa_1.Body)()),
1136
- __param(1, (0, tsoa_1.Inject)())
1134
+ (0, runtime_1.Security)("bearerAuth"),
1135
+ (0, runtime_1.Put)("/community/hide"),
1136
+ (0, runtime_1.Tags)("Community", "Admin"),
1137
+ __param(0, (0, runtime_1.Body)()),
1138
+ __param(1, (0, runtime_1.Inject)())
1137
1139
  ], LemmyHttp.prototype, "hideCommunity", null);
1138
1140
  __decorate([
1139
- (0, tsoa_1.Security)("bearerAuth"),
1140
- (0, tsoa_1.Post)("/community/remove"),
1141
- (0, tsoa_1.Tags)("Community", "Moderator"),
1142
- __param(0, (0, tsoa_1.Body)()),
1143
- __param(1, (0, tsoa_1.Inject)())
1141
+ (0, runtime_1.Security)("bearerAuth"),
1142
+ (0, runtime_1.Post)("/community/remove"),
1143
+ (0, runtime_1.Tags)("Community", "Moderator"),
1144
+ __param(0, (0, runtime_1.Body)()),
1145
+ __param(1, (0, runtime_1.Inject)())
1144
1146
  ], LemmyHttp.prototype, "removeCommunity", null);
1145
1147
  __decorate([
1146
- (0, tsoa_1.Security)("bearerAuth"),
1147
- (0, tsoa_1.Post)("/community/transfer"),
1148
- (0, tsoa_1.Tags)("Community", "Moderator"),
1149
- __param(0, (0, tsoa_1.Body)()),
1150
- __param(1, (0, tsoa_1.Inject)())
1148
+ (0, runtime_1.Security)("bearerAuth"),
1149
+ (0, runtime_1.Post)("/community/transfer"),
1150
+ (0, runtime_1.Tags)("Community", "Moderator"),
1151
+ __param(0, (0, runtime_1.Body)()),
1152
+ __param(1, (0, runtime_1.Inject)())
1151
1153
  ], LemmyHttp.prototype, "transferCommunity", null);
1152
1154
  __decorate([
1153
- (0, tsoa_1.Security)("bearerAuth"),
1154
- (0, tsoa_1.Post)("/community/ban_user"),
1155
- (0, tsoa_1.Tags)("Community", "Moderator"),
1156
- __param(0, (0, tsoa_1.Body)()),
1157
- __param(1, (0, tsoa_1.Inject)())
1155
+ (0, runtime_1.Security)("bearerAuth"),
1156
+ (0, runtime_1.Post)("/community/ban_user"),
1157
+ (0, runtime_1.Tags)("Community", "Moderator"),
1158
+ __param(0, (0, runtime_1.Body)()),
1159
+ __param(1, (0, runtime_1.Inject)())
1158
1160
  ], LemmyHttp.prototype, "banFromCommunity", null);
1159
1161
  __decorate([
1160
- (0, tsoa_1.Security)("bearerAuth"),
1161
- (0, tsoa_1.Post)("/community/mod"),
1162
- (0, tsoa_1.Tags)("Community", "Moderator"),
1163
- __param(0, (0, tsoa_1.Body)()),
1164
- __param(1, (0, tsoa_1.Inject)())
1162
+ (0, runtime_1.Security)("bearerAuth"),
1163
+ (0, runtime_1.Post)("/community/mod"),
1164
+ (0, runtime_1.Tags)("Community", "Moderator"),
1165
+ __param(0, (0, runtime_1.Body)()),
1166
+ __param(1, (0, runtime_1.Inject)())
1165
1167
  ], LemmyHttp.prototype, "addModToCommunity", null);
1166
1168
  __decorate([
1167
- (0, tsoa_1.Security)("bearerAuth"),
1168
- (0, tsoa_1.Security)({}),
1169
- (0, tsoa_1.Get)("/community/random"),
1170
- (0, tsoa_1.Tags)("Community"),
1171
- __param(0, (0, tsoa_1.Queries)()),
1172
- __param(1, (0, tsoa_1.Inject)())
1169
+ (0, runtime_1.Security)("bearerAuth"),
1170
+ (0, runtime_1.Security)({}),
1171
+ (0, runtime_1.Get)("/community/random"),
1172
+ (0, runtime_1.Tags)("Community"),
1173
+ __param(0, (0, runtime_1.Queries)()),
1174
+ __param(1, (0, runtime_1.Inject)())
1173
1175
  ], LemmyHttp.prototype, "getRandomCommunity", null);
1174
1176
  __decorate([
1175
- (0, tsoa_1.Security)("bearerAuth"),
1176
- (0, tsoa_1.Post)("/post"),
1177
- (0, tsoa_1.Tags)("Post"),
1178
- __param(0, (0, tsoa_1.Body)()),
1179
- __param(1, (0, tsoa_1.Inject)())
1177
+ (0, runtime_1.Security)("bearerAuth"),
1178
+ (0, runtime_1.Post)("/post"),
1179
+ (0, runtime_1.Tags)("Post"),
1180
+ __param(0, (0, runtime_1.Body)()),
1181
+ __param(1, (0, runtime_1.Inject)())
1180
1182
  ], LemmyHttp.prototype, "createPost", null);
1181
1183
  __decorate([
1182
- (0, tsoa_1.Security)("bearerAuth"),
1183
- (0, tsoa_1.Security)({}),
1184
- (0, tsoa_1.Get)("/post"),
1185
- (0, tsoa_1.Tags)("Post"),
1186
- __param(0, (0, tsoa_1.Queries)()),
1187
- __param(1, (0, tsoa_1.Inject)())
1184
+ (0, runtime_1.Security)("bearerAuth"),
1185
+ (0, runtime_1.Security)({}),
1186
+ (0, runtime_1.Get)("/post"),
1187
+ (0, runtime_1.Tags)("Post"),
1188
+ __param(0, (0, runtime_1.Queries)()),
1189
+ __param(1, (0, runtime_1.Inject)())
1188
1190
  ], LemmyHttp.prototype, "getPost", null);
1189
1191
  __decorate([
1190
- (0, tsoa_1.Security)("bearerAuth"),
1191
- (0, tsoa_1.Put)("/post"),
1192
- (0, tsoa_1.Tags)("Post"),
1193
- __param(0, (0, tsoa_1.Body)()),
1194
- __param(1, (0, tsoa_1.Inject)())
1192
+ (0, runtime_1.Security)("bearerAuth"),
1193
+ (0, runtime_1.Put)("/post"),
1194
+ (0, runtime_1.Tags)("Post"),
1195
+ __param(0, (0, runtime_1.Body)()),
1196
+ __param(1, (0, runtime_1.Inject)())
1195
1197
  ], LemmyHttp.prototype, "editPost", null);
1196
1198
  __decorate([
1197
- (0, tsoa_1.Security)("bearerAuth"),
1198
- (0, tsoa_1.Post)("/post/delete"),
1199
- (0, tsoa_1.Tags)("Post"),
1200
- __param(0, (0, tsoa_1.Body)()),
1201
- __param(1, (0, tsoa_1.Inject)())
1199
+ (0, runtime_1.Security)("bearerAuth"),
1200
+ (0, runtime_1.Post)("/post/delete"),
1201
+ (0, runtime_1.Tags)("Post"),
1202
+ __param(0, (0, runtime_1.Body)()),
1203
+ __param(1, (0, runtime_1.Inject)())
1202
1204
  ], LemmyHttp.prototype, "deletePost", null);
1203
1205
  __decorate([
1204
- (0, tsoa_1.Security)("bearerAuth"),
1205
- (0, tsoa_1.Post)("/post/remove"),
1206
- (0, tsoa_1.Tags)("Post", "Moderator"),
1207
- __param(0, (0, tsoa_1.Body)()),
1208
- __param(1, (0, tsoa_1.Inject)())
1206
+ (0, runtime_1.Security)("bearerAuth"),
1207
+ (0, runtime_1.Post)("/post/remove"),
1208
+ (0, runtime_1.Tags)("Post", "Moderator"),
1209
+ __param(0, (0, runtime_1.Body)()),
1210
+ __param(1, (0, runtime_1.Inject)())
1209
1211
  ], LemmyHttp.prototype, "removePost", null);
1210
1212
  __decorate([
1211
- (0, tsoa_1.Security)("bearerAuth"),
1212
- (0, tsoa_1.Post)("/post/mark_as_read"),
1213
- (0, tsoa_1.Tags)("Post"),
1214
- __param(0, (0, tsoa_1.Body)()),
1215
- __param(1, (0, tsoa_1.Inject)())
1213
+ (0, runtime_1.Security)("bearerAuth"),
1214
+ (0, runtime_1.Post)("/post/mark_as_read"),
1215
+ (0, runtime_1.Tags)("Post"),
1216
+ __param(0, (0, runtime_1.Body)()),
1217
+ __param(1, (0, runtime_1.Inject)())
1216
1218
  ], LemmyHttp.prototype, "markPostAsRead", null);
1217
1219
  __decorate([
1218
- (0, tsoa_1.Security)("bearerAuth"),
1219
- (0, tsoa_1.Post)("/post/mark_as_read/many"),
1220
- (0, tsoa_1.Tags)("Post"),
1221
- __param(0, (0, tsoa_1.Body)()),
1222
- __param(1, (0, tsoa_1.Inject)())
1220
+ (0, runtime_1.Security)("bearerAuth"),
1221
+ (0, runtime_1.Post)("/post/mark_as_read/many"),
1222
+ (0, runtime_1.Tags)("Post"),
1223
+ __param(0, (0, runtime_1.Body)()),
1224
+ __param(1, (0, runtime_1.Inject)())
1223
1225
  ], LemmyHttp.prototype, "markManyPostAsRead", null);
1224
1226
  __decorate([
1225
- (0, tsoa_1.Security)("bearerAuth"),
1226
- (0, tsoa_1.Post)("/post/hide"),
1227
- (0, tsoa_1.Tags)("Post"),
1228
- __param(0, (0, tsoa_1.Body)()),
1229
- __param(1, (0, tsoa_1.Inject)())
1227
+ (0, runtime_1.Security)("bearerAuth"),
1228
+ (0, runtime_1.Post)("/post/hide"),
1229
+ (0, runtime_1.Tags)("Post"),
1230
+ __param(0, (0, runtime_1.Body)()),
1231
+ __param(1, (0, runtime_1.Inject)())
1230
1232
  ], LemmyHttp.prototype, "hidePost", null);
1231
1233
  __decorate([
1232
- (0, tsoa_1.Security)("bearerAuth"),
1233
- (0, tsoa_1.Post)("/post/lock"),
1234
- (0, tsoa_1.Tags)("Post"),
1235
- __param(0, (0, tsoa_1.Body)()),
1236
- __param(1, (0, tsoa_1.Inject)())
1234
+ (0, runtime_1.Security)("bearerAuth"),
1235
+ (0, runtime_1.Post)("/post/lock"),
1236
+ (0, runtime_1.Tags)("Post"),
1237
+ __param(0, (0, runtime_1.Body)()),
1238
+ __param(1, (0, runtime_1.Inject)())
1237
1239
  ], LemmyHttp.prototype, "lockPost", null);
1238
1240
  __decorate([
1239
- (0, tsoa_1.Security)("bearerAuth"),
1240
- (0, tsoa_1.Post)("/post/feature"),
1241
- (0, tsoa_1.Tags)("Post", "Moderator"),
1242
- __param(0, (0, tsoa_1.Body)()),
1243
- __param(1, (0, tsoa_1.Inject)())
1241
+ (0, runtime_1.Security)("bearerAuth"),
1242
+ (0, runtime_1.Post)("/post/feature"),
1243
+ (0, runtime_1.Tags)("Post", "Moderator"),
1244
+ __param(0, (0, runtime_1.Body)()),
1245
+ __param(1, (0, runtime_1.Inject)())
1244
1246
  ], LemmyHttp.prototype, "featurePost", null);
1245
1247
  __decorate([
1246
- (0, tsoa_1.Security)("bearerAuth"),
1247
- (0, tsoa_1.Security)({}),
1248
- (0, tsoa_1.Get)("/post/list"),
1249
- (0, tsoa_1.Tags)("Post"),
1250
- __param(0, (0, tsoa_1.Queries)()),
1251
- __param(1, (0, tsoa_1.Inject)())
1248
+ (0, runtime_1.Security)("bearerAuth"),
1249
+ (0, runtime_1.Security)({}),
1250
+ (0, runtime_1.Get)("/post/list"),
1251
+ (0, runtime_1.Tags)("Post"),
1252
+ __param(0, (0, runtime_1.Queries)()),
1253
+ __param(1, (0, runtime_1.Inject)())
1252
1254
  ], LemmyHttp.prototype, "getPosts", null);
1253
1255
  __decorate([
1254
- (0, tsoa_1.Security)("bearerAuth"),
1255
- (0, tsoa_1.Post)("/post/like"),
1256
- (0, tsoa_1.Tags)("Post"),
1257
- __param(0, (0, tsoa_1.Body)()),
1258
- __param(1, (0, tsoa_1.Inject)())
1256
+ (0, runtime_1.Security)("bearerAuth"),
1257
+ (0, runtime_1.Post)("/post/like"),
1258
+ (0, runtime_1.Tags)("Post"),
1259
+ __param(0, (0, runtime_1.Body)()),
1260
+ __param(1, (0, runtime_1.Inject)())
1259
1261
  ], LemmyHttp.prototype, "likePost", null);
1260
1262
  __decorate([
1261
- (0, tsoa_1.Security)("bearerAuth"),
1262
- (0, tsoa_1.Get)("/post/like/list"),
1263
- (0, tsoa_1.Tags)("Post", "Admin"),
1264
- __param(0, (0, tsoa_1.Queries)()),
1265
- __param(1, (0, tsoa_1.Inject)())
1263
+ (0, runtime_1.Security)("bearerAuth"),
1264
+ (0, runtime_1.Get)("/post/like/list"),
1265
+ (0, runtime_1.Tags)("Post", "Admin"),
1266
+ __param(0, (0, runtime_1.Queries)()),
1267
+ __param(1, (0, runtime_1.Inject)())
1266
1268
  ], LemmyHttp.prototype, "listPostLikes", null);
1267
1269
  __decorate([
1268
- (0, tsoa_1.Security)("bearerAuth"),
1269
- (0, tsoa_1.Put)("/post/save"),
1270
- (0, tsoa_1.Tags)("Post"),
1271
- __param(0, (0, tsoa_1.Body)()),
1272
- __param(1, (0, tsoa_1.Inject)())
1270
+ (0, runtime_1.Security)("bearerAuth"),
1271
+ (0, runtime_1.Put)("/post/save"),
1272
+ (0, runtime_1.Tags)("Post"),
1273
+ __param(0, (0, runtime_1.Body)()),
1274
+ __param(1, (0, runtime_1.Inject)())
1273
1275
  ], LemmyHttp.prototype, "savePost", null);
1274
1276
  __decorate([
1275
- (0, tsoa_1.Security)("bearerAuth"),
1276
- (0, tsoa_1.Post)("/post/report"),
1277
- (0, tsoa_1.Tags)("Post"),
1278
- __param(0, (0, tsoa_1.Body)()),
1279
- __param(1, (0, tsoa_1.Inject)())
1277
+ (0, runtime_1.Security)("bearerAuth"),
1278
+ (0, runtime_1.Post)("/post/report"),
1279
+ (0, runtime_1.Tags)("Post"),
1280
+ __param(0, (0, runtime_1.Body)()),
1281
+ __param(1, (0, runtime_1.Inject)())
1280
1282
  ], LemmyHttp.prototype, "createPostReport", null);
1281
1283
  __decorate([
1282
- (0, tsoa_1.Security)("bearerAuth"),
1283
- (0, tsoa_1.Put)("/post/report/resolve"),
1284
- (0, tsoa_1.Tags)("Post", "Moderator"),
1285
- __param(0, (0, tsoa_1.Body)()),
1286
- __param(1, (0, tsoa_1.Inject)())
1284
+ (0, runtime_1.Security)("bearerAuth"),
1285
+ (0, runtime_1.Put)("/post/report/resolve"),
1286
+ (0, runtime_1.Tags)("Post", "Moderator"),
1287
+ __param(0, (0, runtime_1.Body)()),
1288
+ __param(1, (0, runtime_1.Inject)())
1287
1289
  ], LemmyHttp.prototype, "resolvePostReport", null);
1288
1290
  __decorate([
1289
- (0, tsoa_1.Security)("bearerAuth"),
1290
- (0, tsoa_1.Get)("/post/site_metadata"),
1291
- (0, tsoa_1.Tags)("Miscellaneous", "Post"),
1292
- __param(0, (0, tsoa_1.Queries)()),
1293
- __param(1, (0, tsoa_1.Inject)())
1291
+ (0, runtime_1.Security)("bearerAuth"),
1292
+ (0, runtime_1.Get)("/post/site_metadata"),
1293
+ (0, runtime_1.Tags)("Miscellaneous", "Post"),
1294
+ __param(0, (0, runtime_1.Queries)()),
1295
+ __param(1, (0, runtime_1.Inject)())
1294
1296
  ], LemmyHttp.prototype, "getSiteMetadata", null);
1295
1297
  __decorate([
1296
- (0, tsoa_1.Security)("bearerAuth"),
1297
- (0, tsoa_1.Post)("/comment"),
1298
- (0, tsoa_1.Tags)("Comment"),
1299
- __param(0, (0, tsoa_1.Body)()),
1300
- __param(1, (0, tsoa_1.Inject)())
1298
+ (0, runtime_1.Security)("bearerAuth"),
1299
+ (0, runtime_1.Post)("/comment"),
1300
+ (0, runtime_1.Tags)("Comment"),
1301
+ __param(0, (0, runtime_1.Body)()),
1302
+ __param(1, (0, runtime_1.Inject)())
1301
1303
  ], LemmyHttp.prototype, "createComment", null);
1302
1304
  __decorate([
1303
- (0, tsoa_1.Security)("bearerAuth"),
1304
- (0, tsoa_1.Put)("/comment"),
1305
- (0, tsoa_1.Tags)("Comment"),
1306
- __param(0, (0, tsoa_1.Body)()),
1307
- __param(1, (0, tsoa_1.Inject)())
1305
+ (0, runtime_1.Security)("bearerAuth"),
1306
+ (0, runtime_1.Put)("/comment"),
1307
+ (0, runtime_1.Tags)("Comment"),
1308
+ __param(0, (0, runtime_1.Body)()),
1309
+ __param(1, (0, runtime_1.Inject)())
1308
1310
  ], LemmyHttp.prototype, "editComment", null);
1309
1311
  __decorate([
1310
- (0, tsoa_1.Security)("bearerAuth"),
1311
- (0, tsoa_1.Post)("/comment/delete"),
1312
- (0, tsoa_1.Tags)("Comment"),
1313
- __param(0, (0, tsoa_1.Body)()),
1314
- __param(1, (0, tsoa_1.Inject)())
1312
+ (0, runtime_1.Security)("bearerAuth"),
1313
+ (0, runtime_1.Post)("/comment/delete"),
1314
+ (0, runtime_1.Tags)("Comment"),
1315
+ __param(0, (0, runtime_1.Body)()),
1316
+ __param(1, (0, runtime_1.Inject)())
1315
1317
  ], LemmyHttp.prototype, "deleteComment", null);
1316
1318
  __decorate([
1317
- (0, tsoa_1.Security)("bearerAuth"),
1318
- (0, tsoa_1.Post)("/comment/remove"),
1319
- (0, tsoa_1.Tags)("Comment", "Moderator"),
1320
- __param(0, (0, tsoa_1.Body)()),
1321
- __param(1, (0, tsoa_1.Inject)())
1319
+ (0, runtime_1.Security)("bearerAuth"),
1320
+ (0, runtime_1.Post)("/comment/remove"),
1321
+ (0, runtime_1.Tags)("Comment", "Moderator"),
1322
+ __param(0, (0, runtime_1.Body)()),
1323
+ __param(1, (0, runtime_1.Inject)())
1322
1324
  ], LemmyHttp.prototype, "removeComment", null);
1323
1325
  __decorate([
1324
- (0, tsoa_1.Security)("bearerAuth"),
1325
- (0, tsoa_1.Post)("/comment/mark_as_read"),
1326
- (0, tsoa_1.Tags)("Comment"),
1327
- __param(0, (0, tsoa_1.Body)()),
1328
- __param(1, (0, tsoa_1.Inject)())
1326
+ (0, runtime_1.Security)("bearerAuth"),
1327
+ (0, runtime_1.Post)("/comment/mark_as_read"),
1328
+ (0, runtime_1.Tags)("Comment"),
1329
+ __param(0, (0, runtime_1.Body)()),
1330
+ __param(1, (0, runtime_1.Inject)())
1329
1331
  ], LemmyHttp.prototype, "markCommentReplyAsRead", null);
1330
1332
  __decorate([
1331
- (0, tsoa_1.Security)("bearerAuth"),
1332
- (0, tsoa_1.Post)("/comment/like"),
1333
- (0, tsoa_1.Tags)("Comment"),
1334
- __param(0, (0, tsoa_1.Body)()),
1335
- __param(1, (0, tsoa_1.Inject)())
1333
+ (0, runtime_1.Security)("bearerAuth"),
1334
+ (0, runtime_1.Post)("/comment/like"),
1335
+ (0, runtime_1.Tags)("Comment"),
1336
+ __param(0, (0, runtime_1.Body)()),
1337
+ __param(1, (0, runtime_1.Inject)())
1336
1338
  ], LemmyHttp.prototype, "likeComment", null);
1337
1339
  __decorate([
1338
- (0, tsoa_1.Security)("bearerAuth"),
1339
- (0, tsoa_1.Get)("/comment/like/list"),
1340
- (0, tsoa_1.Tags)("Comment", "Admin"),
1341
- __param(0, (0, tsoa_1.Queries)()),
1342
- __param(1, (0, tsoa_1.Inject)())
1340
+ (0, runtime_1.Security)("bearerAuth"),
1341
+ (0, runtime_1.Get)("/comment/like/list"),
1342
+ (0, runtime_1.Tags)("Comment", "Admin"),
1343
+ __param(0, (0, runtime_1.Queries)()),
1344
+ __param(1, (0, runtime_1.Inject)())
1343
1345
  ], LemmyHttp.prototype, "listCommentLikes", null);
1344
1346
  __decorate([
1345
- (0, tsoa_1.Security)("bearerAuth"),
1346
- (0, tsoa_1.Put)("/comment/save"),
1347
- (0, tsoa_1.Tags)("Comment"),
1348
- __param(0, (0, tsoa_1.Body)()),
1349
- __param(1, (0, tsoa_1.Inject)())
1347
+ (0, runtime_1.Security)("bearerAuth"),
1348
+ (0, runtime_1.Put)("/comment/save"),
1349
+ (0, runtime_1.Tags)("Comment"),
1350
+ __param(0, (0, runtime_1.Body)()),
1351
+ __param(1, (0, runtime_1.Inject)())
1350
1352
  ], LemmyHttp.prototype, "saveComment", null);
1351
1353
  __decorate([
1352
- (0, tsoa_1.Security)("bearerAuth"),
1353
- (0, tsoa_1.Post)("/comment/distinguish"),
1354
- (0, tsoa_1.Tags)("Comment", "Moderator"),
1355
- __param(0, (0, tsoa_1.Body)()),
1356
- __param(1, (0, tsoa_1.Inject)())
1354
+ (0, runtime_1.Security)("bearerAuth"),
1355
+ (0, runtime_1.Post)("/comment/distinguish"),
1356
+ (0, runtime_1.Tags)("Comment", "Moderator"),
1357
+ __param(0, (0, runtime_1.Body)()),
1358
+ __param(1, (0, runtime_1.Inject)())
1357
1359
  ], LemmyHttp.prototype, "distinguishComment", null);
1358
1360
  __decorate([
1359
- (0, tsoa_1.Security)("bearerAuth"),
1360
- (0, tsoa_1.Security)({}),
1361
- (0, tsoa_1.Get)("/comment/list"),
1362
- (0, tsoa_1.Tags)("Comment"),
1363
- __param(0, (0, tsoa_1.Queries)()),
1364
- __param(1, (0, tsoa_1.Inject)())
1361
+ (0, runtime_1.Security)("bearerAuth"),
1362
+ (0, runtime_1.Security)({}),
1363
+ (0, runtime_1.Get)("/comment/list"),
1364
+ (0, runtime_1.Tags)("Comment"),
1365
+ __param(0, (0, runtime_1.Queries)()),
1366
+ __param(1, (0, runtime_1.Inject)())
1365
1367
  ], LemmyHttp.prototype, "getComments", null);
1366
1368
  __decorate([
1367
- (0, tsoa_1.Security)("bearerAuth"),
1368
- (0, tsoa_1.Security)({}),
1369
- (0, tsoa_1.Get)("/comment/list/slim"),
1370
- (0, tsoa_1.Tags)("Comment"),
1371
- __param(0, (0, tsoa_1.Queries)()),
1372
- __param(1, (0, tsoa_1.Inject)())
1369
+ (0, runtime_1.Security)("bearerAuth"),
1370
+ (0, runtime_1.Security)({}),
1371
+ (0, runtime_1.Get)("/comment/list/slim"),
1372
+ (0, runtime_1.Tags)("Comment"),
1373
+ __param(0, (0, runtime_1.Queries)()),
1374
+ __param(1, (0, runtime_1.Inject)())
1373
1375
  ], LemmyHttp.prototype, "getCommentsSlim", null);
1374
1376
  __decorate([
1375
- (0, tsoa_1.Security)("bearerAuth"),
1376
- (0, tsoa_1.Security)({}),
1377
- (0, tsoa_1.Get)("/comment"),
1378
- (0, tsoa_1.Tags)("Comment"),
1379
- __param(0, (0, tsoa_1.Queries)()),
1380
- __param(1, (0, tsoa_1.Inject)())
1377
+ (0, runtime_1.Security)("bearerAuth"),
1378
+ (0, runtime_1.Security)({}),
1379
+ (0, runtime_1.Get)("/comment"),
1380
+ (0, runtime_1.Tags)("Comment"),
1381
+ __param(0, (0, runtime_1.Queries)()),
1382
+ __param(1, (0, runtime_1.Inject)())
1381
1383
  ], LemmyHttp.prototype, "getComment", null);
1382
1384
  __decorate([
1383
- (0, tsoa_1.Security)("bearerAuth"),
1384
- (0, tsoa_1.Post)("/comment/report"),
1385
- (0, tsoa_1.Tags)("Comment"),
1386
- __param(0, (0, tsoa_1.Body)()),
1387
- __param(1, (0, tsoa_1.Inject)())
1385
+ (0, runtime_1.Security)("bearerAuth"),
1386
+ (0, runtime_1.Post)("/comment/report"),
1387
+ (0, runtime_1.Tags)("Comment"),
1388
+ __param(0, (0, runtime_1.Body)()),
1389
+ __param(1, (0, runtime_1.Inject)())
1388
1390
  ], LemmyHttp.prototype, "createCommentReport", null);
1389
1391
  __decorate([
1390
- (0, tsoa_1.Security)("bearerAuth"),
1391
- (0, tsoa_1.Put)("/comment/report/resolve"),
1392
- (0, tsoa_1.Tags)("Comment", "Moderator"),
1393
- __param(0, (0, tsoa_1.Body)()),
1394
- __param(1, (0, tsoa_1.Inject)())
1392
+ (0, runtime_1.Security)("bearerAuth"),
1393
+ (0, runtime_1.Put)("/comment/report/resolve"),
1394
+ (0, runtime_1.Tags)("Comment", "Moderator"),
1395
+ __param(0, (0, runtime_1.Body)()),
1396
+ __param(1, (0, runtime_1.Inject)())
1395
1397
  ], LemmyHttp.prototype, "resolveCommentReport", null);
1396
1398
  __decorate([
1397
- (0, tsoa_1.Security)("bearerAuth"),
1398
- (0, tsoa_1.Post)("/private_message"),
1399
- (0, tsoa_1.Tags)("PrivateMessage"),
1400
- __param(0, (0, tsoa_1.Body)()),
1401
- __param(1, (0, tsoa_1.Inject)())
1399
+ (0, runtime_1.Security)("bearerAuth"),
1400
+ (0, runtime_1.Post)("/private_message"),
1401
+ (0, runtime_1.Tags)("PrivateMessage"),
1402
+ __param(0, (0, runtime_1.Body)()),
1403
+ __param(1, (0, runtime_1.Inject)())
1402
1404
  ], LemmyHttp.prototype, "createPrivateMessage", null);
1403
1405
  __decorate([
1404
- (0, tsoa_1.Security)("bearerAuth"),
1405
- (0, tsoa_1.Put)("/private_message"),
1406
- (0, tsoa_1.Tags)("PrivateMessage"),
1407
- __param(0, (0, tsoa_1.Body)()),
1408
- __param(1, (0, tsoa_1.Inject)())
1406
+ (0, runtime_1.Security)("bearerAuth"),
1407
+ (0, runtime_1.Put)("/private_message"),
1408
+ (0, runtime_1.Tags)("PrivateMessage"),
1409
+ __param(0, (0, runtime_1.Body)()),
1410
+ __param(1, (0, runtime_1.Inject)())
1409
1411
  ], LemmyHttp.prototype, "editPrivateMessage", null);
1410
1412
  __decorate([
1411
- (0, tsoa_1.Security)("bearerAuth"),
1412
- (0, tsoa_1.Post)("/private_message/delete"),
1413
- (0, tsoa_1.Tags)("PrivateMessage"),
1414
- __param(0, (0, tsoa_1.Body)()),
1415
- __param(1, (0, tsoa_1.Inject)())
1413
+ (0, runtime_1.Security)("bearerAuth"),
1414
+ (0, runtime_1.Post)("/private_message/delete"),
1415
+ (0, runtime_1.Tags)("PrivateMessage"),
1416
+ __param(0, (0, runtime_1.Body)()),
1417
+ __param(1, (0, runtime_1.Inject)())
1416
1418
  ], LemmyHttp.prototype, "deletePrivateMessage", null);
1417
1419
  __decorate([
1418
- (0, tsoa_1.Security)("bearerAuth"),
1419
- (0, tsoa_1.Post)("/private_message/mark_as_read"),
1420
- (0, tsoa_1.Tags)("PrivateMessage"),
1421
- __param(0, (0, tsoa_1.Body)()),
1422
- __param(1, (0, tsoa_1.Inject)())
1420
+ (0, runtime_1.Security)("bearerAuth"),
1421
+ (0, runtime_1.Post)("/private_message/mark_as_read"),
1422
+ (0, runtime_1.Tags)("PrivateMessage"),
1423
+ __param(0, (0, runtime_1.Body)()),
1424
+ __param(1, (0, runtime_1.Inject)())
1423
1425
  ], LemmyHttp.prototype, "markPrivateMessageAsRead", null);
1424
1426
  __decorate([
1425
- (0, tsoa_1.Security)("bearerAuth"),
1426
- (0, tsoa_1.Post)("/private_message/report"),
1427
- (0, tsoa_1.Tags)("PrivateMessage"),
1428
- __param(0, (0, tsoa_1.Body)()),
1429
- __param(1, (0, tsoa_1.Inject)())
1427
+ (0, runtime_1.Security)("bearerAuth"),
1428
+ (0, runtime_1.Post)("/private_message/report"),
1429
+ (0, runtime_1.Tags)("PrivateMessage"),
1430
+ __param(0, (0, runtime_1.Body)()),
1431
+ __param(1, (0, runtime_1.Inject)())
1430
1432
  ], LemmyHttp.prototype, "createPrivateMessageReport", null);
1431
1433
  __decorate([
1432
- (0, tsoa_1.Security)("bearerAuth"),
1433
- (0, tsoa_1.Put)("/private_message/report/resolve"),
1434
- (0, tsoa_1.Tags)("PrivateMessage", "Admin"),
1435
- __param(0, (0, tsoa_1.Body)()),
1436
- __param(1, (0, tsoa_1.Inject)())
1434
+ (0, runtime_1.Security)("bearerAuth"),
1435
+ (0, runtime_1.Put)("/private_message/report/resolve"),
1436
+ (0, runtime_1.Tags)("PrivateMessage", "Admin"),
1437
+ __param(0, (0, runtime_1.Body)()),
1438
+ __param(1, (0, runtime_1.Inject)())
1437
1439
  ], LemmyHttp.prototype, "resolvePrivateMessageReport", null);
1438
1440
  __decorate([
1439
- (0, tsoa_1.Post)("/account/auth/register"),
1440
- (0, tsoa_1.Tags)("Account"),
1441
- __param(0, (0, tsoa_1.Body)()),
1442
- __param(1, (0, tsoa_1.Inject)())
1441
+ (0, runtime_1.Post)("/account/auth/register"),
1442
+ (0, runtime_1.Tags)("Account"),
1443
+ __param(0, (0, runtime_1.Body)()),
1444
+ __param(1, (0, runtime_1.Inject)())
1443
1445
  ], LemmyHttp.prototype, "register", null);
1444
1446
  __decorate([
1445
- (0, tsoa_1.Post)("/account/auth/login"),
1446
- (0, tsoa_1.Tags)("Account"),
1447
- __param(0, (0, tsoa_1.Body)()),
1448
- __param(1, (0, tsoa_1.Inject)())
1447
+ (0, runtime_1.Post)("/account/auth/login"),
1448
+ (0, runtime_1.Tags)("Account"),
1449
+ __param(0, (0, runtime_1.Body)()),
1450
+ __param(1, (0, runtime_1.Inject)())
1449
1451
  ], LemmyHttp.prototype, "login", null);
1450
1452
  __decorate([
1451
- (0, tsoa_1.Security)("bearerAuth"),
1452
- (0, tsoa_1.Post)("/account/auth/logout"),
1453
- (0, tsoa_1.Tags)("Account"),
1454
- __param(0, (0, tsoa_1.Inject)())
1453
+ (0, runtime_1.Security)("bearerAuth"),
1454
+ (0, runtime_1.Post)("/account/auth/logout"),
1455
+ (0, runtime_1.Tags)("Account"),
1456
+ __param(0, (0, runtime_1.Inject)())
1455
1457
  ], LemmyHttp.prototype, "logout", null);
1456
1458
  __decorate([
1457
- (0, tsoa_1.Security)("bearerAuth"),
1458
- (0, tsoa_1.Security)({}),
1459
- (0, tsoa_1.Get)("/person"),
1460
- (0, tsoa_1.Tags)("Person"),
1461
- __param(0, (0, tsoa_1.Queries)()),
1462
- __param(1, (0, tsoa_1.Inject)())
1459
+ (0, runtime_1.Security)("bearerAuth"),
1460
+ (0, runtime_1.Security)({}),
1461
+ (0, runtime_1.Get)("/person"),
1462
+ (0, runtime_1.Tags)("Person"),
1463
+ __param(0, (0, runtime_1.Queries)()),
1464
+ __param(1, (0, runtime_1.Inject)())
1463
1465
  ], LemmyHttp.prototype, "getPersonDetails", null);
1464
1466
  __decorate([
1465
- (0, tsoa_1.Security)("bearerAuth"),
1466
- (0, tsoa_1.Security)({}),
1467
- (0, tsoa_1.Get)("/person/content"),
1468
- (0, tsoa_1.Tags)("Person"),
1469
- __param(0, (0, tsoa_1.Queries)()),
1470
- __param(1, (0, tsoa_1.Inject)())
1467
+ (0, runtime_1.Security)("bearerAuth"),
1468
+ (0, runtime_1.Security)({}),
1469
+ (0, runtime_1.Get)("/person/content"),
1470
+ (0, runtime_1.Tags)("Person"),
1471
+ __param(0, (0, runtime_1.Queries)()),
1472
+ __param(1, (0, runtime_1.Inject)())
1471
1473
  ], LemmyHttp.prototype, "listPersonContent", null);
1472
1474
  __decorate([
1473
- (0, tsoa_1.Security)("bearerAuth"),
1474
- (0, tsoa_1.Post)("/account/mention/comment/mark_as_read"),
1475
- (0, tsoa_1.Tags)("Account", "Person"),
1476
- __param(0, (0, tsoa_1.Body)()),
1477
- __param(1, (0, tsoa_1.Inject)())
1475
+ (0, runtime_1.Security)("bearerAuth"),
1476
+ (0, runtime_1.Post)("/account/mention/comment/mark_as_read"),
1477
+ (0, runtime_1.Tags)("Account", "Person"),
1478
+ __param(0, (0, runtime_1.Body)()),
1479
+ __param(1, (0, runtime_1.Inject)())
1478
1480
  ], LemmyHttp.prototype, "markCommentMentionAsRead", null);
1479
1481
  __decorate([
1480
- (0, tsoa_1.Security)("bearerAuth"),
1481
- (0, tsoa_1.Post)("/account/mention/post/mark_as_read"),
1482
- (0, tsoa_1.Tags)("Account", "Post"),
1483
- __param(0, (0, tsoa_1.Body)()),
1484
- __param(1, (0, tsoa_1.Inject)())
1482
+ (0, runtime_1.Security)("bearerAuth"),
1483
+ (0, runtime_1.Post)("/account/mention/post/mark_as_read"),
1484
+ (0, runtime_1.Tags)("Account", "Post"),
1485
+ __param(0, (0, runtime_1.Body)()),
1486
+ __param(1, (0, runtime_1.Inject)())
1485
1487
  ], LemmyHttp.prototype, "markPostMentionAsRead", null);
1486
1488
  __decorate([
1487
- (0, tsoa_1.Security)("bearerAuth"),
1488
- (0, tsoa_1.Post)("/admin/ban"),
1489
- (0, tsoa_1.Tags)("Admin"),
1490
- __param(0, (0, tsoa_1.Body)()),
1491
- __param(1, (0, tsoa_1.Inject)())
1489
+ (0, runtime_1.Security)("bearerAuth"),
1490
+ (0, runtime_1.Post)("/admin/ban"),
1491
+ (0, runtime_1.Tags)("Admin"),
1492
+ __param(0, (0, runtime_1.Body)()),
1493
+ __param(1, (0, runtime_1.Inject)())
1492
1494
  ], LemmyHttp.prototype, "banPerson", null);
1493
1495
  __decorate([
1494
- (0, tsoa_1.Security)("bearerAuth"),
1495
- (0, tsoa_1.Get)("/admin/banned"),
1496
- (0, tsoa_1.Tags)("Admin", "Miscellaneous"),
1497
- __param(0, (0, tsoa_1.Inject)())
1498
- ], LemmyHttp.prototype, "getBannedPersons", null);
1499
- __decorate([
1500
- (0, tsoa_1.Security)("bearerAuth"),
1501
- (0, tsoa_1.Post)("/account/block/person"),
1502
- (0, tsoa_1.Tags)("Account"),
1503
- __param(0, (0, tsoa_1.Body)()),
1504
- __param(1, (0, tsoa_1.Inject)())
1496
+ (0, runtime_1.Security)("bearerAuth"),
1497
+ (0, runtime_1.Get)("/admin/banned"),
1498
+ (0, runtime_1.Tags)("Admin", "Miscellaneous"),
1499
+ __param(0, (0, runtime_1.Queries)()),
1500
+ __param(1, (0, runtime_1.Inject)())
1501
+ ], LemmyHttp.prototype, "listBannedPersons", null);
1502
+ __decorate([
1503
+ (0, runtime_1.Security)("bearerAuth"),
1504
+ (0, runtime_1.Post)("/account/block/person"),
1505
+ (0, runtime_1.Tags)("Account"),
1506
+ __param(0, (0, runtime_1.Body)()),
1507
+ __param(1, (0, runtime_1.Inject)())
1505
1508
  ], LemmyHttp.prototype, "blockPerson", null);
1506
1509
  __decorate([
1507
- (0, tsoa_1.Get)("/account/auth/get_captcha"),
1508
- (0, tsoa_1.Tags)("Account"),
1509
- __param(0, (0, tsoa_1.Inject)())
1510
+ (0, runtime_1.Get)("/account/auth/get_captcha"),
1511
+ (0, runtime_1.Tags)("Account"),
1512
+ __param(0, (0, runtime_1.Inject)())
1510
1513
  ], LemmyHttp.prototype, "getCaptcha", null);
1511
1514
  __decorate([
1512
- (0, tsoa_1.Security)("bearerAuth"),
1513
- (0, tsoa_1.Post)("/account/delete"),
1514
- (0, tsoa_1.Tags)("Account"),
1515
- __param(0, (0, tsoa_1.Body)()),
1516
- __param(1, (0, tsoa_1.Inject)())
1515
+ (0, runtime_1.Security)("bearerAuth"),
1516
+ (0, runtime_1.Post)("/account/delete"),
1517
+ (0, runtime_1.Tags)("Account"),
1518
+ __param(0, (0, runtime_1.Body)()),
1519
+ __param(1, (0, runtime_1.Inject)())
1517
1520
  ], LemmyHttp.prototype, "deleteAccount", null);
1518
1521
  __decorate([
1519
- (0, tsoa_1.Security)("bearerAuth"),
1520
- (0, tsoa_1.Post)("/account/auth/password_reset"),
1521
- (0, tsoa_1.Tags)("Account"),
1522
- __param(0, (0, tsoa_1.Body)()),
1523
- __param(1, (0, tsoa_1.Inject)())
1522
+ (0, runtime_1.Security)("bearerAuth"),
1523
+ (0, runtime_1.Post)("/account/auth/password_reset"),
1524
+ (0, runtime_1.Tags)("Account"),
1525
+ __param(0, (0, runtime_1.Body)()),
1526
+ __param(1, (0, runtime_1.Inject)())
1524
1527
  ], LemmyHttp.prototype, "passwordReset", null);
1525
1528
  __decorate([
1526
- (0, tsoa_1.Security)("bearerAuth"),
1527
- (0, tsoa_1.Post)("/account/auth/password_change"),
1528
- (0, tsoa_1.Tags)("Account"),
1529
- __param(0, (0, tsoa_1.Body)()),
1530
- __param(1, (0, tsoa_1.Inject)())
1529
+ (0, runtime_1.Security)("bearerAuth"),
1530
+ (0, runtime_1.Post)("/account/auth/password_change"),
1531
+ (0, runtime_1.Tags)("Account"),
1532
+ __param(0, (0, runtime_1.Body)()),
1533
+ __param(1, (0, runtime_1.Inject)())
1531
1534
  ], LemmyHttp.prototype, "passwordChangeAfterReset", null);
1532
1535
  __decorate([
1533
- (0, tsoa_1.Security)("bearerAuth"),
1534
- (0, tsoa_1.Post)("/account/mark_as_read/all"),
1535
- (0, tsoa_1.Tags)("Account"),
1536
- __param(0, (0, tsoa_1.Inject)())
1536
+ (0, runtime_1.Security)("bearerAuth"),
1537
+ (0, runtime_1.Post)("/account/mark_as_read/all"),
1538
+ (0, runtime_1.Tags)("Account"),
1539
+ __param(0, (0, runtime_1.Inject)())
1537
1540
  ], LemmyHttp.prototype, "markAllNotificationsAsRead", null);
1538
1541
  __decorate([
1539
- (0, tsoa_1.Security)("bearerAuth"),
1540
- (0, tsoa_1.Put)("/account/settings/save"),
1541
- (0, tsoa_1.Tags)("Account"),
1542
- __param(0, (0, tsoa_1.Body)()),
1543
- __param(1, (0, tsoa_1.Inject)())
1542
+ (0, runtime_1.Security)("bearerAuth"),
1543
+ (0, runtime_1.Put)("/account/settings/save"),
1544
+ (0, runtime_1.Tags)("Account"),
1545
+ __param(0, (0, runtime_1.Body)()),
1546
+ __param(1, (0, runtime_1.Inject)())
1544
1547
  ], LemmyHttp.prototype, "saveUserSettings", null);
1545
1548
  __decorate([
1546
- (0, tsoa_1.Security)("bearerAuth"),
1547
- (0, tsoa_1.Put)("/account/auth/change_password"),
1548
- (0, tsoa_1.Tags)("Account"),
1549
- __param(0, (0, tsoa_1.Body)()),
1550
- __param(1, (0, tsoa_1.Inject)())
1549
+ (0, runtime_1.Security)("bearerAuth"),
1550
+ (0, runtime_1.Put)("/account/auth/change_password"),
1551
+ (0, runtime_1.Tags)("Account"),
1552
+ __param(0, (0, runtime_1.Body)()),
1553
+ __param(1, (0, runtime_1.Inject)())
1551
1554
  ], LemmyHttp.prototype, "changePassword", null);
1552
1555
  __decorate([
1553
- (0, tsoa_1.Security)("bearerAuth"),
1554
- (0, tsoa_1.Get)("/account/report_count"),
1555
- (0, tsoa_1.Tags)("Account"),
1556
- __param(0, (0, tsoa_1.Queries)()),
1557
- __param(1, (0, tsoa_1.Inject)())
1556
+ (0, runtime_1.Security)("bearerAuth"),
1557
+ (0, runtime_1.Get)("/account/report_count"),
1558
+ (0, runtime_1.Tags)("Account"),
1559
+ __param(0, (0, runtime_1.Queries)()),
1560
+ __param(1, (0, runtime_1.Inject)())
1558
1561
  ], LemmyHttp.prototype, "getReportCount", null);
1559
1562
  __decorate([
1560
- (0, tsoa_1.Security)("bearerAuth"),
1561
- (0, tsoa_1.Get)("/account/unread_count"),
1562
- (0, tsoa_1.Tags)("Account"),
1563
- __param(0, (0, tsoa_1.Inject)())
1563
+ (0, runtime_1.Security)("bearerAuth"),
1564
+ (0, runtime_1.Get)("/account/unread_count"),
1565
+ (0, runtime_1.Tags)("Account"),
1566
+ __param(0, (0, runtime_1.Inject)())
1564
1567
  ], LemmyHttp.prototype, "getUnreadCount", null);
1565
1568
  __decorate([
1566
- (0, tsoa_1.Security)("bearerAuth"),
1567
- (0, tsoa_1.Get)("/account/inbox"),
1568
- (0, tsoa_1.Tags)("Account"),
1569
- __param(0, (0, tsoa_1.Queries)()),
1570
- __param(1, (0, tsoa_1.Inject)())
1569
+ (0, runtime_1.Security)("bearerAuth"),
1570
+ (0, runtime_1.Get)("/account/inbox"),
1571
+ (0, runtime_1.Tags)("Account"),
1572
+ __param(0, (0, runtime_1.Queries)()),
1573
+ __param(1, (0, runtime_1.Inject)())
1571
1574
  ], LemmyHttp.prototype, "listInbox", null);
1572
1575
  __decorate([
1573
- (0, tsoa_1.Post)("/account/auth/verify_email"),
1574
- (0, tsoa_1.Tags)("Account"),
1575
- __param(0, (0, tsoa_1.Body)()),
1576
- __param(1, (0, tsoa_1.Inject)())
1576
+ (0, runtime_1.Post)("/account/auth/verify_email"),
1577
+ (0, runtime_1.Tags)("Account"),
1578
+ __param(0, (0, runtime_1.Body)()),
1579
+ __param(1, (0, runtime_1.Inject)())
1577
1580
  ], LemmyHttp.prototype, "verifyEmail", null);
1578
1581
  __decorate([
1579
- (0, tsoa_1.Security)("bearerAuth"),
1580
- (0, tsoa_1.Get)("/account/auth/saved"),
1581
- (0, tsoa_1.Tags)("Account"),
1582
- __param(0, (0, tsoa_1.Queries)()),
1583
- __param(1, (0, tsoa_1.Inject)())
1582
+ (0, runtime_1.Post)("/account/auth/resend_verification_email"),
1583
+ (0, runtime_1.Tags)("Account"),
1584
+ __param(0, (0, runtime_1.Body)()),
1585
+ __param(1, (0, runtime_1.Inject)())
1586
+ ], LemmyHttp.prototype, "resendVerificationEmail", null);
1587
+ __decorate([
1588
+ (0, runtime_1.Security)("bearerAuth"),
1589
+ (0, runtime_1.Get)("/account/saved"),
1590
+ (0, runtime_1.Tags)("Account"),
1591
+ __param(0, (0, runtime_1.Queries)()),
1592
+ __param(1, (0, runtime_1.Inject)())
1584
1593
  ], LemmyHttp.prototype, "listPersonSaved", null);
1585
1594
  __decorate([
1586
- (0, tsoa_1.Security)("bearerAuth"),
1587
- (0, tsoa_1.Post)("/admin/add"),
1588
- (0, tsoa_1.Tags)("Admin"),
1589
- __param(0, (0, tsoa_1.Body)()),
1590
- __param(1, (0, tsoa_1.Inject)())
1595
+ (0, runtime_1.Security)("bearerAuth"),
1596
+ (0, runtime_1.Post)("/admin/add"),
1597
+ (0, runtime_1.Tags)("Admin"),
1598
+ __param(0, (0, runtime_1.Body)()),
1599
+ __param(1, (0, runtime_1.Inject)())
1591
1600
  ], LemmyHttp.prototype, "addAdmin", null);
1592
1601
  __decorate([
1593
- (0, tsoa_1.Security)("bearerAuth"),
1594
- (0, tsoa_1.Get)("/admin/registration_application/count"),
1595
- (0, tsoa_1.Tags)("Admin"),
1596
- __param(0, (0, tsoa_1.Inject)())
1602
+ (0, runtime_1.Security)("bearerAuth"),
1603
+ (0, runtime_1.Get)("/admin/registration_application/count"),
1604
+ (0, runtime_1.Tags)("Admin"),
1605
+ __param(0, (0, runtime_1.Inject)())
1597
1606
  ], LemmyHttp.prototype, "getUnreadRegistrationApplicationCount", null);
1598
1607
  __decorate([
1599
- (0, tsoa_1.Security)("bearerAuth"),
1600
- (0, tsoa_1.Get)("/admin/registration_application/list"),
1601
- (0, tsoa_1.Tags)("Admin"),
1602
- __param(0, (0, tsoa_1.Queries)()),
1603
- __param(1, (0, tsoa_1.Inject)())
1608
+ (0, runtime_1.Security)("bearerAuth"),
1609
+ (0, runtime_1.Get)("/admin/registration_application/list"),
1610
+ (0, runtime_1.Tags)("Admin"),
1611
+ __param(0, (0, runtime_1.Queries)()),
1612
+ __param(1, (0, runtime_1.Inject)())
1604
1613
  ], LemmyHttp.prototype, "listRegistrationApplications", null);
1605
1614
  __decorate([
1606
- (0, tsoa_1.Security)("bearerAuth"),
1607
- (0, tsoa_1.Put)("/admin/registration_application/approve"),
1608
- (0, tsoa_1.Tags)("Admin"),
1609
- __param(0, (0, tsoa_1.Body)()),
1610
- __param(1, (0, tsoa_1.Inject)())
1615
+ (0, runtime_1.Security)("bearerAuth"),
1616
+ (0, runtime_1.Put)("/admin/registration_application/approve"),
1617
+ (0, runtime_1.Tags)("Admin"),
1618
+ __param(0, (0, runtime_1.Body)()),
1619
+ __param(1, (0, runtime_1.Inject)())
1611
1620
  ], LemmyHttp.prototype, "approveRegistrationApplication", null);
1612
1621
  __decorate([
1613
- (0, tsoa_1.Security)("bearerAuth"),
1614
- (0, tsoa_1.Get)("/admin/registration_application"),
1615
- (0, tsoa_1.Tags)("Admin"),
1616
- __param(0, (0, tsoa_1.Queries)()),
1617
- __param(1, (0, tsoa_1.Inject)())
1622
+ (0, runtime_1.Security)("bearerAuth"),
1623
+ (0, runtime_1.Get)("/admin/registration_application"),
1624
+ (0, runtime_1.Tags)("Admin"),
1625
+ __param(0, (0, runtime_1.Queries)()),
1626
+ __param(1, (0, runtime_1.Inject)())
1618
1627
  ], LemmyHttp.prototype, "getRegistrationApplication", null);
1619
1628
  __decorate([
1620
- (0, tsoa_1.Security)("bearerAuth"),
1621
- (0, tsoa_1.Post)("/admin/purge/person"),
1622
- (0, tsoa_1.Tags)("Admin"),
1623
- __param(0, (0, tsoa_1.Body)()),
1624
- __param(1, (0, tsoa_1.Inject)())
1629
+ (0, runtime_1.Security)("bearerAuth"),
1630
+ (0, runtime_1.Post)("/admin/purge/person"),
1631
+ (0, runtime_1.Tags)("Admin"),
1632
+ __param(0, (0, runtime_1.Body)()),
1633
+ __param(1, (0, runtime_1.Inject)())
1625
1634
  ], LemmyHttp.prototype, "purgePerson", null);
1626
1635
  __decorate([
1627
- (0, tsoa_1.Security)("bearerAuth"),
1628
- (0, tsoa_1.Post)("/admin/purge/community"),
1629
- (0, tsoa_1.Tags)("Admin"),
1630
- __param(0, (0, tsoa_1.Body)()),
1631
- __param(1, (0, tsoa_1.Inject)())
1636
+ (0, runtime_1.Security)("bearerAuth"),
1637
+ (0, runtime_1.Post)("/admin/purge/community"),
1638
+ (0, runtime_1.Tags)("Admin"),
1639
+ __param(0, (0, runtime_1.Body)()),
1640
+ __param(1, (0, runtime_1.Inject)())
1632
1641
  ], LemmyHttp.prototype, "purgeCommunity", null);
1633
1642
  __decorate([
1634
- (0, tsoa_1.Security)("bearerAuth"),
1635
- (0, tsoa_1.Post)("/admin/purge/post"),
1636
- (0, tsoa_1.Tags)("Admin"),
1637
- __param(0, (0, tsoa_1.Body)()),
1638
- __param(1, (0, tsoa_1.Inject)())
1643
+ (0, runtime_1.Security)("bearerAuth"),
1644
+ (0, runtime_1.Post)("/admin/purge/post"),
1645
+ (0, runtime_1.Tags)("Admin"),
1646
+ __param(0, (0, runtime_1.Body)()),
1647
+ __param(1, (0, runtime_1.Inject)())
1639
1648
  ], LemmyHttp.prototype, "purgePost", null);
1640
1649
  __decorate([
1641
- (0, tsoa_1.Security)("bearerAuth"),
1642
- (0, tsoa_1.Post)("/admin/purge/comment"),
1643
- (0, tsoa_1.Tags)("Admin"),
1644
- __param(0, (0, tsoa_1.Body)()),
1645
- __param(1, (0, tsoa_1.Inject)())
1650
+ (0, runtime_1.Security)("bearerAuth"),
1651
+ (0, runtime_1.Post)("/admin/purge/comment"),
1652
+ (0, runtime_1.Tags)("Admin"),
1653
+ __param(0, (0, runtime_1.Body)()),
1654
+ __param(1, (0, runtime_1.Inject)())
1646
1655
  ], LemmyHttp.prototype, "purgeComment", null);
1647
1656
  __decorate([
1648
- (0, tsoa_1.Security)("bearerAuth"),
1649
- (0, tsoa_1.Post)("/custom_emoji"),
1650
- (0, tsoa_1.Tags)("CustomEmoji"),
1651
- __param(0, (0, tsoa_1.Body)()),
1652
- __param(1, (0, tsoa_1.Inject)())
1657
+ (0, runtime_1.Security)("bearerAuth"),
1658
+ (0, runtime_1.Post)("/custom_emoji"),
1659
+ (0, runtime_1.Tags)("CustomEmoji"),
1660
+ __param(0, (0, runtime_1.Body)()),
1661
+ __param(1, (0, runtime_1.Inject)())
1653
1662
  ], LemmyHttp.prototype, "createCustomEmoji", null);
1654
1663
  __decorate([
1655
- (0, tsoa_1.Security)("bearerAuth"),
1656
- (0, tsoa_1.Put)("/custom_emoji"),
1657
- (0, tsoa_1.Tags)("CustomEmoji"),
1658
- __param(0, (0, tsoa_1.Body)()),
1659
- __param(1, (0, tsoa_1.Inject)())
1664
+ (0, runtime_1.Security)("bearerAuth"),
1665
+ (0, runtime_1.Put)("/custom_emoji"),
1666
+ (0, runtime_1.Tags)("CustomEmoji"),
1667
+ __param(0, (0, runtime_1.Body)()),
1668
+ __param(1, (0, runtime_1.Inject)())
1660
1669
  ], LemmyHttp.prototype, "editCustomEmoji", null);
1661
1670
  __decorate([
1662
- (0, tsoa_1.Security)("bearerAuth"),
1663
- (0, tsoa_1.Post)("/custom_emoji/delete"),
1664
- (0, tsoa_1.Tags)("CustomEmoji"),
1665
- __param(0, (0, tsoa_1.Body)()),
1666
- __param(1, (0, tsoa_1.Inject)())
1671
+ (0, runtime_1.Security)("bearerAuth"),
1672
+ (0, runtime_1.Post)("/custom_emoji/delete"),
1673
+ (0, runtime_1.Tags)("CustomEmoji"),
1674
+ __param(0, (0, runtime_1.Body)()),
1675
+ __param(1, (0, runtime_1.Inject)())
1667
1676
  ], LemmyHttp.prototype, "deleteCustomEmoji", null);
1668
1677
  __decorate([
1669
- (0, tsoa_1.Security)("bearerAuth"),
1670
- (0, tsoa_1.Security)({}),
1671
- (0, tsoa_1.Get)("/custom_emoji/list"),
1672
- (0, tsoa_1.Tags)("CustomEmoji"),
1673
- __param(0, (0, tsoa_1.Queries)()),
1674
- __param(1, (0, tsoa_1.Inject)())
1678
+ (0, runtime_1.Security)("bearerAuth"),
1679
+ (0, runtime_1.Security)({}),
1680
+ (0, runtime_1.Get)("/custom_emoji/list"),
1681
+ (0, runtime_1.Tags)("CustomEmoji"),
1682
+ __param(0, (0, runtime_1.Queries)()),
1683
+ __param(1, (0, runtime_1.Inject)())
1675
1684
  ], LemmyHttp.prototype, "listCustomEmojis", null);
1676
1685
  __decorate([
1677
- (0, tsoa_1.Security)("bearerAuth"),
1678
- (0, tsoa_1.Post)("/admin/tagline"),
1679
- (0, tsoa_1.Tags)("Admin", "Tagline"),
1680
- __param(0, (0, tsoa_1.Body)()),
1681
- __param(1, (0, tsoa_1.Inject)())
1686
+ (0, runtime_1.Security)("bearerAuth"),
1687
+ (0, runtime_1.Post)("/admin/tagline"),
1688
+ (0, runtime_1.Tags)("Admin", "Tagline"),
1689
+ __param(0, (0, runtime_1.Body)()),
1690
+ __param(1, (0, runtime_1.Inject)())
1682
1691
  ], LemmyHttp.prototype, "createTagline", null);
1683
1692
  __decorate([
1684
- (0, tsoa_1.Security)("bearerAuth"),
1685
- (0, tsoa_1.Put)("/admin/tagline"),
1686
- (0, tsoa_1.Tags)("Admin", "Tagline"),
1687
- __param(0, (0, tsoa_1.Body)()),
1688
- __param(1, (0, tsoa_1.Inject)())
1693
+ (0, runtime_1.Security)("bearerAuth"),
1694
+ (0, runtime_1.Put)("/admin/tagline"),
1695
+ (0, runtime_1.Tags)("Admin", "Tagline"),
1696
+ __param(0, (0, runtime_1.Body)()),
1697
+ __param(1, (0, runtime_1.Inject)())
1689
1698
  ], LemmyHttp.prototype, "editTagline", null);
1690
1699
  __decorate([
1691
- (0, tsoa_1.Security)("bearerAuth"),
1692
- (0, tsoa_1.Post)("/admin/tagline/delete"),
1693
- (0, tsoa_1.Tags)("Admin", "Tagline"),
1694
- __param(0, (0, tsoa_1.Body)()),
1695
- __param(1, (0, tsoa_1.Inject)())
1700
+ (0, runtime_1.Security)("bearerAuth"),
1701
+ (0, runtime_1.Post)("/admin/tagline/delete"),
1702
+ (0, runtime_1.Tags)("Admin", "Tagline"),
1703
+ __param(0, (0, runtime_1.Body)()),
1704
+ __param(1, (0, runtime_1.Inject)())
1696
1705
  ], LemmyHttp.prototype, "deleteTagline", null);
1697
1706
  __decorate([
1698
- (0, tsoa_1.Security)("bearerAuth"),
1699
- (0, tsoa_1.Security)({}),
1700
- (0, tsoa_1.Get)("/admin/tagline/list"),
1701
- (0, tsoa_1.Tags)("Admin", "Tagline"),
1702
- __param(0, (0, tsoa_1.Queries)()),
1703
- __param(1, (0, tsoa_1.Inject)())
1707
+ (0, runtime_1.Security)("bearerAuth"),
1708
+ (0, runtime_1.Security)({}),
1709
+ (0, runtime_1.Get)("/admin/tagline/list"),
1710
+ (0, runtime_1.Tags)("Admin", "Tagline"),
1711
+ __param(0, (0, runtime_1.Queries)()),
1712
+ __param(1, (0, runtime_1.Inject)())
1704
1713
  ], LemmyHttp.prototype, "listTaglines", null);
1705
1714
  __decorate([
1706
- (0, tsoa_1.Security)("bearerAuth"),
1707
- (0, tsoa_1.Post)("/community/post_tag"),
1708
- (0, tsoa_1.Tags)("Community"),
1709
- __param(0, (0, tsoa_1.Body)()),
1710
- __param(1, (0, tsoa_1.Inject)())
1715
+ (0, runtime_1.Security)("bearerAuth"),
1716
+ (0, runtime_1.Post)("/community/tag"),
1717
+ (0, runtime_1.Tags)("Community"),
1718
+ __param(0, (0, runtime_1.Body)()),
1719
+ __param(1, (0, runtime_1.Inject)())
1711
1720
  ], LemmyHttp.prototype, "createCommunityTag", null);
1712
1721
  __decorate([
1713
- (0, tsoa_1.Security)("bearerAuth"),
1714
- (0, tsoa_1.Put)("/community/post_tag"),
1715
- (0, tsoa_1.Tags)("Community"),
1716
- __param(0, (0, tsoa_1.Body)()),
1717
- __param(1, (0, tsoa_1.Inject)())
1722
+ (0, runtime_1.Security)("bearerAuth"),
1723
+ (0, runtime_1.Put)("/community/tag"),
1724
+ (0, runtime_1.Tags)("Community"),
1725
+ __param(0, (0, runtime_1.Body)()),
1726
+ __param(1, (0, runtime_1.Inject)())
1718
1727
  ], LemmyHttp.prototype, "updateCommunityTag", null);
1719
1728
  __decorate([
1720
- (0, tsoa_1.Security)("bearerAuth"),
1721
- (0, tsoa_1.Security)({}),
1722
- (0, tsoa_1.Get)("/community/post_tag/list"),
1723
- (0, tsoa_1.Tags)("Community"),
1724
- __param(0, (0, tsoa_1.Queries)()),
1725
- __param(1, (0, tsoa_1.Inject)())
1726
- ], LemmyHttp.prototype, "listCommunityTags", null);
1727
- __decorate([
1728
- (0, tsoa_1.Security)("bearerAuth"),
1729
- (0, tsoa_1.Post)("/community/post_tag"),
1730
- (0, tsoa_1.Tags)("Community"),
1731
- __param(0, (0, tsoa_1.Body)()),
1732
- __param(1, (0, tsoa_1.Inject)())
1729
+ (0, runtime_1.Security)("bearerAuth"),
1730
+ (0, runtime_1.Delete)("/community/tag"),
1731
+ (0, runtime_1.Tags)("Community"),
1732
+ __param(0, (0, runtime_1.Body)()),
1733
+ __param(1, (0, runtime_1.Inject)())
1733
1734
  ], LemmyHttp.prototype, "deleteCommunityTag", null);
1734
1735
  __decorate([
1735
- (0, tsoa_1.Security)("bearerAuth"),
1736
- (0, tsoa_1.Put)("/post/tags"),
1737
- (0, tsoa_1.Tags)("Post"),
1738
- __param(0, (0, tsoa_1.Body)()),
1739
- __param(1, (0, tsoa_1.Inject)())
1740
- ], LemmyHttp.prototype, "updatePostTags", null);
1741
- __decorate([
1742
- (0, tsoa_1.Security)("bearerAuth"),
1743
- (0, tsoa_1.Post)("/oauth_provider"),
1744
- (0, tsoa_1.Tags)("Miscellaneous", "OAuth"),
1745
- __param(0, (0, tsoa_1.Body)()),
1746
- __param(1, (0, tsoa_1.Inject)())
1736
+ (0, runtime_1.Security)("bearerAuth"),
1737
+ (0, runtime_1.Post)("/oauth_provider"),
1738
+ (0, runtime_1.Tags)("Miscellaneous", "OAuth"),
1739
+ __param(0, (0, runtime_1.Body)()),
1740
+ __param(1, (0, runtime_1.Inject)())
1747
1741
  ], LemmyHttp.prototype, "createOAuthProvider", null);
1748
1742
  __decorate([
1749
- (0, tsoa_1.Security)("bearerAuth"),
1750
- (0, tsoa_1.Put)("/oauth_provider"),
1751
- (0, tsoa_1.Tags)("Miscellaneous", "OAuth"),
1752
- __param(0, (0, tsoa_1.Body)()),
1753
- __param(1, (0, tsoa_1.Inject)())
1743
+ (0, runtime_1.Security)("bearerAuth"),
1744
+ (0, runtime_1.Put)("/oauth_provider"),
1745
+ (0, runtime_1.Tags)("Miscellaneous", "OAuth"),
1746
+ __param(0, (0, runtime_1.Body)()),
1747
+ __param(1, (0, runtime_1.Inject)())
1754
1748
  ], LemmyHttp.prototype, "editOAuthProvider", null);
1755
1749
  __decorate([
1756
- (0, tsoa_1.Security)("bearerAuth"),
1757
- (0, tsoa_1.Post)("/oauth_provider/delete"),
1758
- (0, tsoa_1.Tags)("Miscellaneous", "OAuth"),
1759
- __param(0, (0, tsoa_1.Body)()),
1760
- __param(1, (0, tsoa_1.Inject)())
1750
+ (0, runtime_1.Security)("bearerAuth"),
1751
+ (0, runtime_1.Post)("/oauth_provider/delete"),
1752
+ (0, runtime_1.Tags)("Miscellaneous", "OAuth"),
1753
+ __param(0, (0, runtime_1.Body)()),
1754
+ __param(1, (0, runtime_1.Inject)())
1761
1755
  ], LemmyHttp.prototype, "deleteOAuthProvider", null);
1762
1756
  __decorate([
1763
- (0, tsoa_1.Security)("bearerAuth"),
1764
- (0, tsoa_1.Post)("/oauth/authenticate"),
1765
- (0, tsoa_1.Tags)("Miscellaneous", "OAuth"),
1766
- __param(0, (0, tsoa_1.Body)()),
1767
- __param(1, (0, tsoa_1.Inject)())
1757
+ (0, runtime_1.Security)("bearerAuth"),
1758
+ (0, runtime_1.Post)("/oauth/authenticate"),
1759
+ (0, runtime_1.Tags)("Miscellaneous", "OAuth"),
1760
+ __param(0, (0, runtime_1.Body)()),
1761
+ __param(1, (0, runtime_1.Inject)())
1768
1762
  ], LemmyHttp.prototype, "authenticateWithOAuth", null);
1769
1763
  __decorate([
1770
- (0, tsoa_1.Get)("/federated_instances"),
1771
- (0, tsoa_1.Tags)("Miscellaneous"),
1772
- __param(0, (0, tsoa_1.Inject)())
1764
+ (0, runtime_1.Get)("/federated_instances"),
1765
+ (0, runtime_1.Tags)("Miscellaneous"),
1766
+ __param(0, (0, runtime_1.Inject)())
1773
1767
  ], LemmyHttp.prototype, "getFederatedInstances", null);
1774
1768
  __decorate([
1775
- (0, tsoa_1.Security)("bearerAuth"),
1776
- (0, tsoa_1.Get)("/report/list"),
1777
- (0, tsoa_1.Tags)("Admin"),
1778
- __param(0, (0, tsoa_1.Queries)()),
1779
- __param(1, (0, tsoa_1.Inject)())
1769
+ (0, runtime_1.Security)("bearerAuth"),
1770
+ (0, runtime_1.Get)("/report/list"),
1771
+ (0, runtime_1.Tags)("Admin"),
1772
+ __param(0, (0, runtime_1.Queries)()),
1773
+ __param(1, (0, runtime_1.Inject)())
1780
1774
  ], LemmyHttp.prototype, "listReports", null);
1781
1775
  __decorate([
1782
- (0, tsoa_1.Security)("bearerAuth"),
1783
- (0, tsoa_1.Post)("/account/block/instance"),
1784
- (0, tsoa_1.Tags)("Account"),
1785
- __param(0, (0, tsoa_1.Body)()),
1786
- __param(1, (0, tsoa_1.Inject)())
1776
+ (0, runtime_1.Security)("bearerAuth"),
1777
+ (0, runtime_1.Post)("/account/block/instance"),
1778
+ (0, runtime_1.Tags)("Account"),
1779
+ __param(0, (0, runtime_1.Body)()),
1780
+ __param(1, (0, runtime_1.Inject)())
1787
1781
  ], LemmyHttp.prototype, "userBlockInstance", null);
1788
1782
  __decorate([
1789
- (0, tsoa_1.Security)("bearerAuth"),
1790
- (0, tsoa_1.Post)("/admin/instance/block"),
1791
- (0, tsoa_1.Tags)("Admin"),
1792
- __param(0, (0, tsoa_1.Body)()),
1793
- __param(1, (0, tsoa_1.Inject)())
1783
+ (0, runtime_1.Security)("bearerAuth"),
1784
+ (0, runtime_1.Post)("/admin/instance/block"),
1785
+ (0, runtime_1.Tags)("Admin"),
1786
+ __param(0, (0, runtime_1.Body)()),
1787
+ __param(1, (0, runtime_1.Inject)())
1794
1788
  ], LemmyHttp.prototype, "adminBlockInstance", null);
1795
1789
  __decorate([
1796
- (0, tsoa_1.Security)("bearerAuth"),
1797
- (0, tsoa_1.Post)("/admin/instance/allow"),
1798
- (0, tsoa_1.Tags)("Admin"),
1799
- __param(0, (0, tsoa_1.Body)()),
1800
- __param(1, (0, tsoa_1.Inject)())
1790
+ (0, runtime_1.Security)("bearerAuth"),
1791
+ (0, runtime_1.Post)("/admin/instance/allow"),
1792
+ (0, runtime_1.Tags)("Admin"),
1793
+ __param(0, (0, runtime_1.Body)()),
1794
+ __param(1, (0, runtime_1.Inject)())
1801
1795
  ], LemmyHttp.prototype, "adminAllowInstance", null);
1802
1796
  __decorate([
1803
- (0, tsoa_1.Security)("bearerAuth"),
1804
- (0, tsoa_1.Post)("/account/avatar"),
1805
- (0, tsoa_1.Tags)("Account", "Media"),
1806
- __param(0, (0, tsoa_1.UploadedFile)()),
1807
- __param(1, (0, tsoa_1.Inject)())
1797
+ (0, runtime_1.Security)("bearerAuth"),
1798
+ (0, runtime_1.Post)("/account/avatar"),
1799
+ (0, runtime_1.Tags)("Account", "Media"),
1800
+ __param(0, (0, runtime_1.UploadedFile)()),
1801
+ __param(1, (0, runtime_1.Inject)())
1808
1802
  ], LemmyHttp.prototype, "uploadUserAvatar", null);
1809
1803
  __decorate([
1810
- (0, tsoa_1.Security)("bearerAuth"),
1811
- (0, tsoa_1.Delete)("/account/avatar"),
1812
- (0, tsoa_1.Tags)("Account", "Media"),
1813
- __param(0, (0, tsoa_1.Inject)())
1804
+ (0, runtime_1.Security)("bearerAuth"),
1805
+ (0, runtime_1.Delete)("/account/avatar"),
1806
+ (0, runtime_1.Tags)("Account", "Media"),
1807
+ __param(0, (0, runtime_1.Inject)())
1814
1808
  ], LemmyHttp.prototype, "deleteUserAvatar", null);
1815
1809
  __decorate([
1816
- (0, tsoa_1.Security)("bearerAuth"),
1817
- (0, tsoa_1.Post)("/account/banner"),
1818
- (0, tsoa_1.Tags)("Account", "Media"),
1819
- __param(0, (0, tsoa_1.UploadedFile)()),
1820
- __param(1, (0, tsoa_1.Inject)())
1810
+ (0, runtime_1.Security)("bearerAuth"),
1811
+ (0, runtime_1.Post)("/account/banner"),
1812
+ (0, runtime_1.Tags)("Account", "Media"),
1813
+ __param(0, (0, runtime_1.UploadedFile)()),
1814
+ __param(1, (0, runtime_1.Inject)())
1821
1815
  ], LemmyHttp.prototype, "uploadUserBanner", null);
1822
1816
  __decorate([
1823
- (0, tsoa_1.Security)("bearerAuth"),
1824
- (0, tsoa_1.Delete)("/account/banner"),
1825
- (0, tsoa_1.Tags)("Account", "Media"),
1826
- __param(0, (0, tsoa_1.Inject)())
1817
+ (0, runtime_1.Security)("bearerAuth"),
1818
+ (0, runtime_1.Delete)("/account/banner"),
1819
+ (0, runtime_1.Tags)("Account", "Media"),
1820
+ __param(0, (0, runtime_1.Inject)())
1827
1821
  ], LemmyHttp.prototype, "deleteUserBanner", null);
1828
1822
  __decorate([
1829
- (0, tsoa_1.Security)("bearerAuth"),
1830
- (0, tsoa_1.Post)("/community/icon"),
1831
- (0, tsoa_1.Tags)("Community", "Media"),
1832
- __param(0, (0, tsoa_1.UploadedFile)()),
1833
- __param(1, (0, tsoa_1.Inject)())
1823
+ (0, runtime_1.Security)("bearerAuth"),
1824
+ (0, runtime_1.Post)("/community/icon"),
1825
+ (0, runtime_1.Tags)("Community", "Media"),
1826
+ __param(0, (0, runtime_1.UploadedFile)()),
1827
+ __param(1, (0, runtime_1.Inject)())
1834
1828
  ], LemmyHttp.prototype, "uploadCommunityIcon", null);
1835
1829
  __decorate([
1836
- (0, tsoa_1.Security)("bearerAuth"),
1837
- (0, tsoa_1.Delete)("/community/icon"),
1838
- (0, tsoa_1.Tags)("Community", "Media"),
1839
- __param(0, (0, tsoa_1.Inject)())
1830
+ (0, runtime_1.Security)("bearerAuth"),
1831
+ (0, runtime_1.Delete)("/community/icon"),
1832
+ (0, runtime_1.Tags)("Community", "Media"),
1833
+ __param(0, (0, runtime_1.Inject)())
1840
1834
  ], LemmyHttp.prototype, "deleteCommunityIcon", null);
1841
1835
  __decorate([
1842
- (0, tsoa_1.Security)("bearerAuth"),
1843
- (0, tsoa_1.Post)("/community/banner"),
1844
- (0, tsoa_1.Tags)("Community", "Media"),
1845
- __param(0, (0, tsoa_1.UploadedFile)()),
1846
- __param(1, (0, tsoa_1.Inject)())
1836
+ (0, runtime_1.Security)("bearerAuth"),
1837
+ (0, runtime_1.Post)("/community/banner"),
1838
+ (0, runtime_1.Tags)("Community", "Media"),
1839
+ __param(0, (0, runtime_1.UploadedFile)()),
1840
+ __param(1, (0, runtime_1.Inject)())
1847
1841
  ], LemmyHttp.prototype, "uploadCommunityBanner", null);
1848
1842
  __decorate([
1849
- (0, tsoa_1.Security)("bearerAuth"),
1850
- (0, tsoa_1.Delete)("/community/banner"),
1851
- (0, tsoa_1.Tags)("Community", "Media"),
1852
- __param(0, (0, tsoa_1.Inject)())
1843
+ (0, runtime_1.Security)("bearerAuth"),
1844
+ (0, runtime_1.Delete)("/community/banner"),
1845
+ (0, runtime_1.Tags)("Community", "Media"),
1846
+ __param(0, (0, runtime_1.Inject)())
1853
1847
  ], LemmyHttp.prototype, "deleteCommunityBanner", null);
1854
1848
  __decorate([
1855
- (0, tsoa_1.Security)("bearerAuth"),
1856
- (0, tsoa_1.Post)("/site/icon"),
1857
- (0, tsoa_1.Tags)("Site", "Media"),
1858
- __param(0, (0, tsoa_1.UploadedFile)()),
1859
- __param(1, (0, tsoa_1.Inject)())
1849
+ (0, runtime_1.Security)("bearerAuth"),
1850
+ (0, runtime_1.Post)("/site/icon"),
1851
+ (0, runtime_1.Tags)("Site", "Media"),
1852
+ __param(0, (0, runtime_1.UploadedFile)()),
1853
+ __param(1, (0, runtime_1.Inject)())
1860
1854
  ], LemmyHttp.prototype, "uploadSiteIcon", null);
1861
1855
  __decorate([
1862
- (0, tsoa_1.Security)("bearerAuth"),
1863
- (0, tsoa_1.Delete)("/site/icon"),
1864
- (0, tsoa_1.Tags)("Site", "Media"),
1865
- __param(0, (0, tsoa_1.Inject)())
1856
+ (0, runtime_1.Security)("bearerAuth"),
1857
+ (0, runtime_1.Delete)("/site/icon"),
1858
+ (0, runtime_1.Tags)("Site", "Media"),
1859
+ __param(0, (0, runtime_1.Inject)())
1866
1860
  ], LemmyHttp.prototype, "deleteSiteIcon", null);
1867
1861
  __decorate([
1868
- (0, tsoa_1.Security)("bearerAuth"),
1869
- (0, tsoa_1.Post)("/site/banner"),
1870
- (0, tsoa_1.Tags)("Site", "Media"),
1871
- __param(0, (0, tsoa_1.UploadedFile)()),
1872
- __param(1, (0, tsoa_1.Inject)())
1862
+ (0, runtime_1.Security)("bearerAuth"),
1863
+ (0, runtime_1.Post)("/site/banner"),
1864
+ (0, runtime_1.Tags)("Site", "Media"),
1865
+ __param(0, (0, runtime_1.UploadedFile)()),
1866
+ __param(1, (0, runtime_1.Inject)())
1873
1867
  ], LemmyHttp.prototype, "uploadSiteBanner", null);
1874
1868
  __decorate([
1875
- (0, tsoa_1.Security)("bearerAuth"),
1876
- (0, tsoa_1.Delete)("/site/banner"),
1877
- (0, tsoa_1.Tags)("Site", "Media"),
1878
- __param(0, (0, tsoa_1.Inject)())
1869
+ (0, runtime_1.Security)("bearerAuth"),
1870
+ (0, runtime_1.Delete)("/site/banner"),
1871
+ (0, runtime_1.Tags)("Site", "Media"),
1872
+ __param(0, (0, runtime_1.Inject)())
1879
1873
  ], LemmyHttp.prototype, "deleteSiteBanner", null);
1880
1874
  __decorate([
1881
- (0, tsoa_1.Security)("bearerAuth"),
1882
- (0, tsoa_1.Post)("/image"),
1883
- (0, tsoa_1.Tags)("Media"),
1884
- __param(0, (0, tsoa_1.UploadedFile)()),
1885
- __param(1, (0, tsoa_1.Inject)())
1875
+ (0, runtime_1.Security)("bearerAuth"),
1876
+ (0, runtime_1.Post)("/image"),
1877
+ (0, runtime_1.Tags)("Media"),
1878
+ __param(0, (0, runtime_1.UploadedFile)()),
1879
+ __param(1, (0, runtime_1.Inject)())
1886
1880
  ], LemmyHttp.prototype, "uploadImage", null);
1887
1881
  __decorate([
1888
- (0, tsoa_1.Security)("bearerAuth"),
1889
- (0, tsoa_1.Delete)("/image"),
1890
- (0, tsoa_1.Tags)("Media"),
1891
- __param(0, (0, tsoa_1.Queries)()),
1892
- __param(1, (0, tsoa_1.Inject)())
1882
+ (0, runtime_1.Security)("bearerAuth"),
1883
+ (0, runtime_1.Delete)("/image"),
1884
+ (0, runtime_1.Tags)("Media"),
1885
+ __param(0, (0, runtime_1.Queries)()),
1886
+ __param(1, (0, runtime_1.Inject)())
1893
1887
  ], LemmyHttp.prototype, "deleteImage", null);
1894
1888
  __decorate([
1895
- (0, tsoa_1.Get)("image/health"),
1896
- (0, tsoa_1.Tags)("Media"),
1897
- __param(0, (0, tsoa_1.Inject)())
1889
+ (0, runtime_1.Get)("image/health"),
1890
+ (0, runtime_1.Tags)("Media"),
1891
+ __param(0, (0, runtime_1.Inject)())
1898
1892
  ], LemmyHttp.prototype, "imageHealth", null);
1893
+ __decorate([
1894
+ __param(0, (0, runtime_1.Inject)())
1895
+ ], LemmyHttp.prototype, "donation_dialog_shown", null);
1899
1896
  exports.LemmyHttp = LemmyHttp = __decorate([
1900
- (0, tsoa_1.Route)("api/v4")
1897
+ (0, runtime_1.Route)("api/v4")
1901
1898
  ], LemmyHttp);
1902
1899
  function encodeGetParams(p) {
1903
1900
  return Object.entries(p)