lemmy-js-client 1.0.0-merge-modlog-tables.9 → 1.0.0-merge-count-endpoints.3
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.
- package/dist/http.d.ts +43 -52
- package/dist/http.js +27 -40
- package/dist/index.d.ts +5 -27
- package/dist/other_types.d.ts +0 -3
- package/dist/types/AdminListUsers.d.ts +0 -1
- package/dist/types/GetComments.d.ts +0 -1
- package/dist/types/GetFederatedInstances.d.ts +0 -1
- package/dist/types/GetModlog.d.ts +0 -1
- package/dist/types/GetPersonDetailsResponse.d.ts +2 -0
- package/dist/types/GetPosts.d.ts +1 -1
- package/dist/types/GetSiteResponse.d.ts +6 -0
- package/dist/types/ListCommentLikes.d.ts +0 -1
- package/dist/types/ListCommunities.d.ts +0 -1
- package/dist/types/ListCommunityPendingFollows.d.ts +0 -1
- package/dist/types/ListMedia.d.ts +0 -1
- package/dist/types/ListMultiCommunities.d.ts +12 -1
- package/dist/types/ListNotifications.d.ts +0 -1
- package/dist/types/ListPersonContent.d.ts +0 -1
- package/dist/types/ListPersonHidden.d.ts +0 -1
- package/dist/types/ListPersonLiked.d.ts +0 -1
- package/dist/types/ListPersonRead.d.ts +0 -1
- package/dist/types/ListPersonSaved.d.ts +0 -1
- package/dist/types/ListPostLikes.d.ts +0 -1
- package/dist/types/ListRegistrationApplications.d.ts +0 -1
- package/dist/types/ListReports.d.ts +0 -1
- package/dist/types/ListTaglines.d.ts +0 -1
- package/dist/types/ModlogKind.d.ts +1 -1
- package/dist/types/ModlogView.d.ts +6 -6
- package/dist/types/MultiCommunity.d.ts +3 -0
- package/dist/types/MultiCommunityListingType.d.ts +4 -0
- package/dist/types/MultiCommunitySortType.d.ts +1 -0
- package/dist/types/MyUserInfo.d.ts +2 -0
- package/dist/types/PagedResponse.d.ts +11 -0
- package/dist/types/PaginationCursor.d.ts +5 -1
- package/dist/types/PluginMetadata.d.ts +2 -2
- package/dist/types/{PersonSavedCombinedView.d.ts → PostCommentCombinedView.d.ts} +1 -1
- package/dist/types/RegistrationApplication.d.ts +1 -0
- package/dist/types/Search.d.ts +4 -1
- package/dist/types/SearchResponse.d.ts +11 -1
- package/dist/types/UnreadCountsResponse.d.ts +11 -0
- package/dist/types/UnreadCountsResponse.js +3 -0
- package/package.json +4 -4
- package/dist/types/AdminListUsersResponse.d.ts +0 -10
- package/dist/types/GetCommentsResponse.d.ts +0 -10
- package/dist/types/GetCommentsSlimResponse.d.ts +0 -10
- package/dist/types/GetCommentsSlimResponse.js +0 -2
- package/dist/types/GetCommunityPendingFollowsCountResponse.d.ts +0 -3
- package/dist/types/GetFederatedInstancesResponse.d.ts +0 -10
- package/dist/types/GetFederatedInstancesResponse.js +0 -2
- package/dist/types/GetModlogResponse.d.ts +0 -13
- package/dist/types/GetModlogResponse.js +0 -2
- package/dist/types/GetPostsResponse.d.ts +0 -13
- package/dist/types/GetPostsResponse.js +0 -2
- package/dist/types/GetReportCount.d.ts +0 -7
- package/dist/types/GetReportCount.js +0 -2
- package/dist/types/GetReportCountResponse.d.ts +0 -6
- package/dist/types/ListCommentLikesResponse.d.ts +0 -13
- package/dist/types/ListCommentLikesResponse.js +0 -2
- package/dist/types/ListCommunitiesResponse.d.ts +0 -13
- package/dist/types/ListCommunitiesResponse.js +0 -2
- package/dist/types/ListCommunityPendingFollowsResponse.d.ts +0 -10
- package/dist/types/ListCommunityPendingFollowsResponse.js +0 -2
- package/dist/types/ListMediaResponse.d.ts +0 -10
- package/dist/types/ListMediaResponse.js +0 -2
- package/dist/types/ListMultiCommunitiesResponse.d.ts +0 -4
- package/dist/types/ListMultiCommunitiesResponse.js +0 -2
- package/dist/types/ListNotificationsResponse.d.ts +0 -13
- package/dist/types/ListNotificationsResponse.js +0 -2
- package/dist/types/ListPersonContentResponse.d.ts +0 -13
- package/dist/types/ListPersonContentResponse.js +0 -2
- package/dist/types/ListPersonHiddenResponse.d.ts +0 -13
- package/dist/types/ListPersonHiddenResponse.js +0 -2
- package/dist/types/ListPersonLikedResponse.d.ts +0 -13
- package/dist/types/ListPersonLikedResponse.js +0 -2
- package/dist/types/ListPersonReadResponse.d.ts +0 -13
- package/dist/types/ListPersonReadResponse.js +0 -2
- package/dist/types/ListPersonSavedResponse.d.ts +0 -13
- package/dist/types/ListPersonSavedResponse.js +0 -2
- package/dist/types/ListPostLikesResponse.d.ts +0 -13
- package/dist/types/ListPostLikesResponse.js +0 -2
- package/dist/types/ListRegistrationApplicationsResponse.d.ts +0 -13
- package/dist/types/ListRegistrationApplicationsResponse.js +0 -2
- package/dist/types/ListReportsResponse.d.ts +0 -13
- package/dist/types/ListReportsResponse.js +0 -2
- package/dist/types/ListTaglinesResponse.d.ts +0 -13
- package/dist/types/ListTaglinesResponse.js +0 -2
- package/dist/types/PersonContentCombinedView.d.ts +0 -7
- package/dist/types/PersonContentCombinedView.js +0 -2
- package/dist/types/PersonLikedCombinedView.d.ts +0 -7
- package/dist/types/PersonLikedCombinedView.js +0 -2
- package/dist/types/PersonSavedCombinedView.js +0 -2
- /package/dist/types/{GetCommunityPendingFollowsCountResponse.js → MultiCommunityListingType.js} +0 -0
- /package/dist/types/{GetReportCountResponse.js → MultiCommunitySortType.js} +0 -0
- /package/dist/types/{AdminListUsersResponse.js → PagedResponse.js} +0 -0
- /package/dist/types/{GetCommentsResponse.js → PostCommentCombinedView.js} +0 -0
package/dist/http.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Controller } from "@tsoa/runtime";
|
|
2
|
-
import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetModlogI, GetMultiCommunityI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI,
|
|
2
|
+
import { AdminListUsersI, CommunityIdQueryI, DeleteImageParamsI, GetCommentI, GetCommentsI, GetCommunityI, GetModlogI, GetMultiCommunityI, GetPersonDetailsI, GetPostI, GetPostsI, GetRandomCommunityI, GetRegistrationApplicationI, GetSiteMetadataI, ListCommentLikesI, ListCommunitiesI, ListCommunityPendingFollowsI, ListCustomEmojisI, ListNotificationsI, ListMediaI, ListMultiCommunitiesI, ListPersonContentI, ListPersonHiddenI, ListPersonLikedI, ListPersonReadI, ListPersonSavedI, ListPostLikesI, ListRegistrationApplicationsI, ListReportsI, ListTaglinesI, ResolveObjectI, SearchI, UploadImage, GetFederatedInstancesI } from "./other_types";
|
|
3
3
|
import { AddAdmin } from "./types/AddAdmin";
|
|
4
4
|
import { AddAdminResponse } from "./types/AddAdminResponse";
|
|
5
5
|
import { AddModToCommunity } from "./types/AddModToCommunity";
|
|
@@ -51,20 +51,13 @@ import { OAuthProvider } from "./types/OAuthProvider";
|
|
|
51
51
|
import { FeaturePost } from "./types/FeaturePost";
|
|
52
52
|
import { FollowCommunity } from "./types/FollowCommunity";
|
|
53
53
|
import { GetCaptchaResponse } from "./types/GetCaptchaResponse";
|
|
54
|
-
import { GetCommentsResponse } from "./types/GetCommentsResponse";
|
|
55
54
|
import { GetCommunityResponse } from "./types/GetCommunityResponse";
|
|
56
|
-
import { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
|
|
57
|
-
import { GetModlogResponse } from "./types/GetModlogResponse";
|
|
58
55
|
import { GetPersonDetailsResponse } from "./types/GetPersonDetailsResponse";
|
|
59
56
|
import { GetPostResponse } from "./types/GetPostResponse";
|
|
60
|
-
import { GetPostsResponse } from "./types/GetPostsResponse";
|
|
61
|
-
import { GetReportCountResponse } from "./types/GetReportCountResponse";
|
|
62
57
|
import { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
|
|
63
58
|
import { GetSiteResponse } from "./types/GetSiteResponse";
|
|
64
59
|
import { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
|
|
65
60
|
import { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
|
|
66
|
-
import { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
|
|
67
|
-
import { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
|
|
68
61
|
import { LockPost } from "./types/LockPost";
|
|
69
62
|
import { LockComment } from "./types/LockComment";
|
|
70
63
|
import { Login } from "./types/Login";
|
|
@@ -101,52 +94,54 @@ import { GenerateTotpSecretResponse } from "./types/GenerateTotpSecretResponse";
|
|
|
101
94
|
import { UpdateTotp } from "./types/UpdateTotp";
|
|
102
95
|
import { UpdateTotpResponse } from "./types/UpdateTotpResponse";
|
|
103
96
|
import { SuccessResponse } from "./types/SuccessResponse";
|
|
104
|
-
import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
|
|
105
|
-
import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
|
|
106
97
|
import { HidePost } from "./types/HidePost";
|
|
107
|
-
import { ListMediaResponse } from "./types/ListMediaResponse";
|
|
108
98
|
import { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
|
|
109
99
|
import { CreateTagline } from "./types/CreateTagline";
|
|
110
100
|
import { TaglineResponse } from "./types/TaglineResponse";
|
|
111
101
|
import { UpdateTagline } from "./types/UpdateTagline";
|
|
112
102
|
import { DeleteTagline } from "./types/DeleteTagline";
|
|
113
|
-
import { ListTaglinesResponse } from "./types/ListTaglinesResponse";
|
|
114
103
|
import { ListCustomEmojisResponse } from "./types/ListCustomEmojisResponse";
|
|
115
104
|
import { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPendingFollower";
|
|
116
|
-
import { GetCommunityPendingFollowsCountResponse } from "./types/GetCommunityPendingFollowsCountResponse";
|
|
117
|
-
import { ListCommunityPendingFollowsResponse } from "./types/ListCommunityPendingFollowsResponse";
|
|
118
|
-
import { ListReportsResponse } from "./types/ListReportsResponse";
|
|
119
105
|
import { MyUserInfo } from "./types/MyUserInfo";
|
|
120
106
|
import { AdminAllowInstanceParams } from "./types/AdminAllowInstanceParams";
|
|
121
107
|
import { AdminBlockInstanceParams } from "./types/AdminBlockInstanceParams";
|
|
122
|
-
import { ListPersonContentResponse } from "./types/ListPersonContentResponse";
|
|
123
|
-
import { ListPersonSavedResponse } from "./types/ListPersonSavedResponse";
|
|
124
108
|
import { UploadImageResponse } from "./types/UploadImageResponse";
|
|
125
|
-
import { GetCommentsSlimResponse } from "./types/GetCommentsSlimResponse";
|
|
126
109
|
import { Tag } from "./types/Tag";
|
|
127
110
|
import { ResendVerificationEmail } from "./types/ResendVerificationEmail";
|
|
128
|
-
import { ListPersonReadResponse } from "./types/ListPersonReadResponse";
|
|
129
|
-
import { ListPersonHiddenResponse } from "./types/ListPersonHiddenResponse";
|
|
130
111
|
import { CommunityIdQuery } from "./types/CommunityIdQuery";
|
|
131
112
|
import { CreateMultiCommunity } from "./types/CreateMultiCommunity";
|
|
132
113
|
import { UpdateMultiCommunity } from "./types/UpdateMultiCommunity";
|
|
133
|
-
import { ListMultiCommunitiesResponse } from "./types/ListMultiCommunitiesResponse";
|
|
134
|
-
import { AdminListUsersResponse } from "./types/AdminListUsersResponse";
|
|
135
114
|
import { CreateOrDeleteMultiCommunityEntry } from "./types/CreateOrDeleteMultiCommunityEntry";
|
|
136
115
|
import { GetMultiCommunityResponse } from "./types/GetMultiCommunityResponse";
|
|
137
116
|
import { FollowMultiCommunity } from "./types/FollowMultiCommunity";
|
|
138
117
|
import { ListLoginsResponse } from "./types/ListLoginsResponse";
|
|
139
|
-
import { ListPersonLikedResponse } from "./types/ListPersonLikedResponse";
|
|
140
118
|
import { NotePerson } from "./types/NotePerson";
|
|
141
119
|
import { UserBlockInstanceCommunitiesParams } from "./types/UserBlockInstanceCommunitiesParams";
|
|
142
120
|
import { UserBlockInstancePersonsParams } from "./types/UserBlockInstancePersonsParams";
|
|
143
121
|
import { MarkNotificationAsRead } from "./types/MarkNotificationAsRead";
|
|
144
|
-
import { ListNotificationsResponse } from "./types/ListNotificationsResponse";
|
|
145
122
|
import { ModEditPost } from "./types/ModEditPost";
|
|
146
123
|
import { UpdateCommunityNotifications } from "./types/UpdateCommunityNotifications";
|
|
147
124
|
import { UpdatePostNotifications } from "./types/UpdatePostNotifications";
|
|
148
125
|
import { MultiCommunityResponse } from "./types/MultiCommunityResponse";
|
|
149
126
|
import { PersonResponse } from "./types/PersonResponse";
|
|
127
|
+
import { LocalImageView } from "./types/LocalImageView";
|
|
128
|
+
import { PagedResponse } from "./types/PagedResponse";
|
|
129
|
+
import { ModlogView } from "./types/ModlogView";
|
|
130
|
+
import { CommunityView } from "./types/CommunityView";
|
|
131
|
+
import { PendingFollowerView } from "./types/PendingFollowerView";
|
|
132
|
+
import { PostView } from "./types/PostView";
|
|
133
|
+
import { VoteView } from "./types/VoteView";
|
|
134
|
+
import { CommentView } from "./types/CommentView";
|
|
135
|
+
import { CommentSlimView } from "./types/CommentSlimView";
|
|
136
|
+
import { LocalUserView } from "./types/LocalUserView";
|
|
137
|
+
import { NotificationView } from "./types/NotificationView";
|
|
138
|
+
import { RegistrationApplicationView } from "./types/RegistrationApplicationView";
|
|
139
|
+
import { Tagline } from "./types/Tagline";
|
|
140
|
+
import { ReportCombinedView } from "./types/ReportCombinedView";
|
|
141
|
+
import { FederatedInstanceView } from "./types/FederatedInstanceView";
|
|
142
|
+
import { MultiCommunityView } from "./types/MultiCommunityView";
|
|
143
|
+
import { PostCommentCombinedView } from "./types/PostCommentCombinedView";
|
|
144
|
+
import { UnreadCountsResponse } from "./types/UnreadCountsResponse";
|
|
150
145
|
type RequestOptions = Pick<RequestInit, "signal">;
|
|
151
146
|
/**
|
|
152
147
|
* Helps build lemmy HTTP requests.
|
|
@@ -213,7 +208,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
213
208
|
/**
|
|
214
209
|
* @summary List all the media for your account.
|
|
215
210
|
*/
|
|
216
|
-
listMedia(form?: ListMediaI, options?: RequestOptions): Promise<
|
|
211
|
+
listMedia(form?: ListMediaI, options?: RequestOptions): Promise<PagedResponse<LocalImageView>>;
|
|
217
212
|
/**
|
|
218
213
|
* @summary Delete media for your account.
|
|
219
214
|
*/
|
|
@@ -225,7 +220,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
225
220
|
/**
|
|
226
221
|
* @summary List all the media known to your instance.
|
|
227
222
|
*/
|
|
228
|
-
listMediaAdmin(form?: ListMediaI, options?: RequestOptions): Promise<
|
|
223
|
+
listMediaAdmin(form?: ListMediaI, options?: RequestOptions): Promise<PagedResponse<LocalImageView>>;
|
|
229
224
|
/**
|
|
230
225
|
* @summary Enable / Disable TOTP / two-factor authentication.
|
|
231
226
|
*
|
|
@@ -237,7 +232,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
237
232
|
/**
|
|
238
233
|
* @summary Get the modlog.
|
|
239
234
|
*/
|
|
240
|
-
getModlog(form?: GetModlogI, options?: RequestOptions): Promise<
|
|
235
|
+
getModlog(form?: GetModlogI, options?: RequestOptions): Promise<PagedResponse<ModlogView>>;
|
|
241
236
|
/**
|
|
242
237
|
* @summary Search lemmy. If `search_term` is a url it also attempts to fetch it, just like `resolve_object`.
|
|
243
238
|
*/
|
|
@@ -261,7 +256,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
261
256
|
/**
|
|
262
257
|
* @summary List communities, with various filters.
|
|
263
258
|
*/
|
|
264
|
-
listCommunities(form?: ListCommunitiesI, options?: RequestOptions): Promise<
|
|
259
|
+
listCommunities(form?: ListCommunitiesI, options?: RequestOptions): Promise<PagedResponse<CommunityView>>;
|
|
265
260
|
/**
|
|
266
261
|
* @summary Follow / subscribe to a community.
|
|
267
262
|
*/
|
|
@@ -269,11 +264,11 @@ export declare class LemmyHttp extends Controller {
|
|
|
269
264
|
/**
|
|
270
265
|
* @summary Get a community's pending follows count.
|
|
271
266
|
*/
|
|
272
|
-
getCommunityPendingFollowsCount(options?: RequestOptions): Promise<
|
|
267
|
+
getCommunityPendingFollowsCount(options?: RequestOptions): Promise<UnreadCountsResponse>;
|
|
273
268
|
/**
|
|
274
269
|
* @summary Get a community's pending followers.
|
|
275
270
|
*/
|
|
276
|
-
listCommunityPendingFollows(form: ListCommunityPendingFollowsI, options?: RequestOptions): Promise<
|
|
271
|
+
listCommunityPendingFollows(form: ListCommunityPendingFollowsI, options?: RequestOptions): Promise<PagedResponse<PendingFollowerView>>;
|
|
277
272
|
/**
|
|
278
273
|
* @summary Approve a community pending follow request.
|
|
279
274
|
*/
|
|
@@ -365,7 +360,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
365
360
|
/**
|
|
366
361
|
* @summary Get / fetch posts, with various filters.
|
|
367
362
|
*/
|
|
368
|
-
getPosts(form?: GetPostsI, options?: RequestOptions): Promise<
|
|
363
|
+
getPosts(form?: GetPostsI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
|
|
369
364
|
/**
|
|
370
365
|
* @summary Like / vote on a post.
|
|
371
366
|
*/
|
|
@@ -373,7 +368,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
373
368
|
/**
|
|
374
369
|
* @summary List a post's likes. Admin-only.
|
|
375
370
|
*/
|
|
376
|
-
listPostLikes(form: ListPostLikesI, options?: RequestOptions): Promise<
|
|
371
|
+
listPostLikes(form: ListPostLikesI, options?: RequestOptions): Promise<PagedResponse<VoteView>>;
|
|
377
372
|
/**
|
|
378
373
|
* @summary Save a post.
|
|
379
374
|
*/
|
|
@@ -417,7 +412,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
417
412
|
/**
|
|
418
413
|
* @summary List a comment's likes. Admin-only.
|
|
419
414
|
*/
|
|
420
|
-
listCommentLikes(form: ListCommentLikesI, options?: RequestOptions): Promise<
|
|
415
|
+
listCommentLikes(form: ListCommentLikesI, options?: RequestOptions): Promise<PagedResponse<VoteView>>;
|
|
421
416
|
/**
|
|
422
417
|
* @summary Save a comment.
|
|
423
418
|
*/
|
|
@@ -429,11 +424,11 @@ export declare class LemmyHttp extends Controller {
|
|
|
429
424
|
/**
|
|
430
425
|
* @summary Get / fetch comments.
|
|
431
426
|
*/
|
|
432
|
-
getComments(form?: GetCommentsI, options?: RequestOptions): Promise<
|
|
427
|
+
getComments(form?: GetCommentsI, options?: RequestOptions): Promise<PagedResponse<CommentView>>;
|
|
433
428
|
/**
|
|
434
429
|
* @summary Get / fetch comments, but without the post or community.
|
|
435
430
|
*/
|
|
436
|
-
getCommentsSlim(form?: GetCommentsI, options?: RequestOptions): Promise<
|
|
431
|
+
getCommentsSlim(form?: GetCommentsI, options?: RequestOptions): Promise<PagedResponse<CommentSlimView>>;
|
|
437
432
|
/**
|
|
438
433
|
* @summary Get / fetch comment.
|
|
439
434
|
*/
|
|
@@ -485,7 +480,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
485
480
|
/**
|
|
486
481
|
* @summary List the content for a person.
|
|
487
482
|
*/
|
|
488
|
-
listPersonContent(form?: ListPersonContentI, options?: RequestOptions): Promise<
|
|
483
|
+
listPersonContent(form?: ListPersonContentI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
|
|
489
484
|
/**
|
|
490
485
|
* @summary Make a note for a person.
|
|
491
486
|
*/
|
|
@@ -497,7 +492,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
497
492
|
/**
|
|
498
493
|
* @summary Get a list of users.
|
|
499
494
|
*/
|
|
500
|
-
listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<
|
|
495
|
+
listUsers(form?: AdminListUsersI, options?: RequestOptions): Promise<PagedResponse<LocalUserView>>;
|
|
501
496
|
/**
|
|
502
497
|
* @summary Block a person.
|
|
503
498
|
*/
|
|
@@ -519,7 +514,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
519
514
|
*/
|
|
520
515
|
passwordChangeAfterReset(form: PasswordChangeAfterReset, options?: RequestOptions): Promise<SuccessResponse>;
|
|
521
516
|
/**
|
|
522
|
-
* @summary Mark all
|
|
517
|
+
* @summary Mark all notifications as read.
|
|
523
518
|
*/
|
|
524
519
|
markAllNotificationsAsRead(options?: RequestOptions): Promise<SuccessResponse>;
|
|
525
520
|
/**
|
|
@@ -534,10 +529,6 @@ export declare class LemmyHttp extends Controller {
|
|
|
534
529
|
* @summary Change your user password.
|
|
535
530
|
*/
|
|
536
531
|
changePassword(form: ChangePassword, options?: RequestOptions): Promise<LoginResponse>;
|
|
537
|
-
/**
|
|
538
|
-
* @summary Get counts for your reports.
|
|
539
|
-
*/
|
|
540
|
-
getReportCount(form: GetReportCountI, options?: RequestOptions): Promise<GetReportCountResponse>;
|
|
541
532
|
/**
|
|
542
533
|
* @summary Get your unread counts.
|
|
543
534
|
*/
|
|
@@ -545,7 +536,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
545
536
|
/**
|
|
546
537
|
* @summary Get your inbox (replies, comment mentions, post mentions, and messages)
|
|
547
538
|
*/
|
|
548
|
-
listNotifications(form: ListNotificationsI, options?: RequestOptions): Promise<
|
|
539
|
+
listNotifications(form: ListNotificationsI, options?: RequestOptions): Promise<PagedResponse<NotificationView>>;
|
|
549
540
|
/**
|
|
550
541
|
* @summary Verify your email
|
|
551
542
|
*/
|
|
@@ -557,19 +548,19 @@ export declare class LemmyHttp extends Controller {
|
|
|
557
548
|
/**
|
|
558
549
|
* @summary List your saved content.
|
|
559
550
|
*/
|
|
560
|
-
listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<
|
|
551
|
+
listPersonSaved(form: ListPersonSavedI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
|
|
561
552
|
/**
|
|
562
553
|
* @summary List your read content.
|
|
563
554
|
*/
|
|
564
|
-
listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<
|
|
555
|
+
listPersonRead(form: ListPersonReadI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
|
|
565
556
|
/**
|
|
566
557
|
* @summary List your hidden content.
|
|
567
558
|
*/
|
|
568
|
-
listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<
|
|
559
|
+
listPersonHidden(form: ListPersonHiddenI, options?: RequestOptions): Promise<PagedResponse<PostView>>;
|
|
569
560
|
/**
|
|
570
561
|
* @summary List your liked content.
|
|
571
562
|
*/
|
|
572
|
-
listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<
|
|
563
|
+
listPersonLiked(form: ListPersonLikedI, options?: RequestOptions): Promise<PagedResponse<PostCommentCombinedView>>;
|
|
573
564
|
/**
|
|
574
565
|
* @summary Add an admin to your site.
|
|
575
566
|
*/
|
|
@@ -581,7 +572,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
581
572
|
/**
|
|
582
573
|
* @summary List the registration applications.
|
|
583
574
|
*/
|
|
584
|
-
listRegistrationApplications(form: ListRegistrationApplicationsI, options?: RequestOptions): Promise<
|
|
575
|
+
listRegistrationApplications(form: ListRegistrationApplicationsI, options?: RequestOptions): Promise<PagedResponse<RegistrationApplicationView>>;
|
|
585
576
|
/**
|
|
586
577
|
* @summary Approve a registration application
|
|
587
578
|
*/
|
|
@@ -637,7 +628,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
637
628
|
/**
|
|
638
629
|
* @summary List taglines.
|
|
639
630
|
*/
|
|
640
|
-
listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<
|
|
631
|
+
listTaglines(form: ListTaglinesI, options?: RequestOptions): Promise<PagedResponse<Tagline>>;
|
|
641
632
|
/**
|
|
642
633
|
* @summary Create a community post tag.
|
|
643
634
|
*/
|
|
@@ -669,11 +660,11 @@ export declare class LemmyHttp extends Controller {
|
|
|
669
660
|
/**
|
|
670
661
|
* @summary Fetch federated instances.
|
|
671
662
|
*/
|
|
672
|
-
getFederatedInstances(form: GetFederatedInstancesI, options?: RequestOptions): Promise<
|
|
663
|
+
getFederatedInstances(form: GetFederatedInstancesI, options?: RequestOptions): Promise<PagedResponse<FederatedInstanceView>>;
|
|
673
664
|
/**
|
|
674
665
|
* @summary List user reports.
|
|
675
666
|
*/
|
|
676
|
-
listReports(form: ListReportsI, options?: RequestOptions): Promise<
|
|
667
|
+
listReports(form: ListReportsI, options?: RequestOptions): Promise<PagedResponse<ReportCombinedView>>;
|
|
677
668
|
/**
|
|
678
669
|
* @summary Block an instance's communities as a user.
|
|
679
670
|
*/
|
|
@@ -755,7 +746,7 @@ export declare class LemmyHttp extends Controller {
|
|
|
755
746
|
getMultiCommunity(form: GetMultiCommunityI, options?: RequestOptions): Promise<GetMultiCommunityResponse>;
|
|
756
747
|
createMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<CommunityResponse>;
|
|
757
748
|
deleteMultiCommunityEntry(form: CreateOrDeleteMultiCommunityEntry, options?: RequestOptions): Promise<SuccessResponse>;
|
|
758
|
-
listMultiCommunities(form: ListMultiCommunitiesI, options?: RequestOptions): Promise<
|
|
749
|
+
listMultiCommunities(form: ListMultiCommunitiesI, options?: RequestOptions): Promise<PagedResponse<MultiCommunityView>>;
|
|
759
750
|
followMultiCommunity(form: FollowMultiCommunity, options?: RequestOptions): Promise<MultiCommunityResponse>;
|
|
760
751
|
/**
|
|
761
752
|
* @summary Change notification settings for a community
|
package/dist/http.js
CHANGED
|
@@ -112,7 +112,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
112
112
|
* @summary List login tokens for your user
|
|
113
113
|
*/
|
|
114
114
|
async listLogins(options) {
|
|
115
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/
|
|
115
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/login/list", {}, options);
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* @summary Returns an error message if your auth token is invalid
|
|
@@ -206,7 +206,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
206
206
|
* @summary Get a community's pending follows count.
|
|
207
207
|
*/
|
|
208
208
|
async getCommunityPendingFollowsCount(options) {
|
|
209
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/
|
|
209
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/unread_counts", {}, options);
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
212
|
* @summary Get a community's pending followers.
|
|
@@ -230,7 +230,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
230
230
|
* @summary Delete a community.
|
|
231
231
|
*/
|
|
232
232
|
async deleteCommunity(form, options) {
|
|
233
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
233
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/community", form, options);
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* @summary Hide a community from public / "All" view. Admins only.
|
|
@@ -308,7 +308,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
308
308
|
* @summary Delete a post.
|
|
309
309
|
*/
|
|
310
310
|
async deletePost(form, options) {
|
|
311
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
311
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/post", form, options);
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
314
|
* @summary A moderator remove for a post.
|
|
@@ -404,7 +404,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
404
404
|
* @summary Delete a comment.
|
|
405
405
|
*/
|
|
406
406
|
async deleteComment(form, options) {
|
|
407
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
407
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/comment", form, options);
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
* @summary A moderator remove for a comment.
|
|
@@ -488,7 +488,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
488
488
|
* @summary Delete a private message.
|
|
489
489
|
*/
|
|
490
490
|
async deletePrivateMessage(form, options) {
|
|
491
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
491
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/private_message", form, options);
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* @summary Create a report for a private message.
|
|
@@ -566,7 +566,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
566
566
|
* @summary Delete your account.
|
|
567
567
|
*/
|
|
568
568
|
async deleteAccount(form, options) {
|
|
569
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
569
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/account", form, options);
|
|
570
570
|
}
|
|
571
571
|
/**
|
|
572
572
|
* @summary Reset your password.
|
|
@@ -581,16 +581,16 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
581
581
|
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/auth/password_change", form, options);
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
584
|
-
* @summary Mark all
|
|
584
|
+
* @summary Mark all notifications as read.
|
|
585
585
|
*/
|
|
586
586
|
async markAllNotificationsAsRead(options) {
|
|
587
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mark_as_read/all", {}, options);
|
|
587
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/notification/mark_as_read/all", {}, options);
|
|
588
588
|
}
|
|
589
589
|
/**
|
|
590
590
|
* @summary Mark a notification as read.
|
|
591
591
|
*/
|
|
592
592
|
async markNotificationAsRead(form, options) {
|
|
593
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mark_as_read", form, options);
|
|
593
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/notification/mark_as_read", form, options);
|
|
594
594
|
}
|
|
595
595
|
/**
|
|
596
596
|
* @summary Save your user settings.
|
|
@@ -604,23 +604,17 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
604
604
|
async changePassword(form, options) {
|
|
605
605
|
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/account/auth/change_password", form, options);
|
|
606
606
|
}
|
|
607
|
-
/**
|
|
608
|
-
* @summary Get counts for your reports.
|
|
609
|
-
*/
|
|
610
|
-
async getReportCount(form, options) {
|
|
611
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/report_count", form, options);
|
|
612
|
-
}
|
|
613
607
|
/**
|
|
614
608
|
* @summary Get your unread counts.
|
|
615
609
|
*/
|
|
616
610
|
async getUnreadCount(options) {
|
|
617
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/
|
|
611
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/notification/count", {}, options);
|
|
618
612
|
}
|
|
619
613
|
/**
|
|
620
614
|
* @summary Get your inbox (replies, comment mentions, post mentions, and messages)
|
|
621
615
|
*/
|
|
622
616
|
async listNotifications(form, options) {
|
|
623
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/
|
|
617
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/notification/list", form, options);
|
|
624
618
|
}
|
|
625
619
|
/**
|
|
626
620
|
* @summary Verify your email
|
|
@@ -752,7 +746,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
752
746
|
* @summary Delete a tagline
|
|
753
747
|
*/
|
|
754
748
|
async deleteTagline(form, options) {
|
|
755
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
749
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/admin/tagline", form, options);
|
|
756
750
|
}
|
|
757
751
|
/**
|
|
758
752
|
* @summary List taglines.
|
|
@@ -794,7 +788,7 @@ let LemmyHttp = class LemmyHttp extends runtime_1.Controller {
|
|
|
794
788
|
* @summary Delete an oauth provider method
|
|
795
789
|
*/
|
|
796
790
|
async deleteOAuthProvider(form, options) {
|
|
797
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.
|
|
791
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Delete, "/oauth_provider", form, options);
|
|
798
792
|
}
|
|
799
793
|
/**
|
|
800
794
|
* @summary Authenticate with OAuth
|
|
@@ -1080,7 +1074,7 @@ __decorate([
|
|
|
1080
1074
|
], LemmyHttp.prototype, "importSettings", null);
|
|
1081
1075
|
__decorate([
|
|
1082
1076
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1083
|
-
(0, runtime_1.Get)("/account/
|
|
1077
|
+
(0, runtime_1.Get)("/account/login/list"),
|
|
1084
1078
|
(0, runtime_1.Tags)("Account"),
|
|
1085
1079
|
__param(0, (0, runtime_1.Inject)())
|
|
1086
1080
|
], LemmyHttp.prototype, "listLogins", null);
|
|
@@ -1189,7 +1183,7 @@ __decorate([
|
|
|
1189
1183
|
], LemmyHttp.prototype, "followCommunity", null);
|
|
1190
1184
|
__decorate([
|
|
1191
1185
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1192
|
-
(0, runtime_1.Get)("/
|
|
1186
|
+
(0, runtime_1.Get)("/account/unread_counts"),
|
|
1193
1187
|
(0, runtime_1.Tags)("Community"),
|
|
1194
1188
|
__param(0, (0, runtime_1.Inject)())
|
|
1195
1189
|
], LemmyHttp.prototype, "getCommunityPendingFollowsCount", null);
|
|
@@ -1216,7 +1210,7 @@ __decorate([
|
|
|
1216
1210
|
], LemmyHttp.prototype, "blockCommunity", null);
|
|
1217
1211
|
__decorate([
|
|
1218
1212
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1219
|
-
(0, runtime_1.
|
|
1213
|
+
(0, runtime_1.Delete)("/community"),
|
|
1220
1214
|
(0, runtime_1.Tags)("Community"),
|
|
1221
1215
|
__param(0, (0, runtime_1.Body)()),
|
|
1222
1216
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1309,7 +1303,7 @@ __decorate([
|
|
|
1309
1303
|
], LemmyHttp.prototype, "modEditPost", null);
|
|
1310
1304
|
__decorate([
|
|
1311
1305
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1312
|
-
(0, runtime_1.
|
|
1306
|
+
(0, runtime_1.Delete)("/post"),
|
|
1313
1307
|
(0, runtime_1.Tags)("Post"),
|
|
1314
1308
|
__param(0, (0, runtime_1.Body)()),
|
|
1315
1309
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1422,7 +1416,7 @@ __decorate([
|
|
|
1422
1416
|
], LemmyHttp.prototype, "editComment", null);
|
|
1423
1417
|
__decorate([
|
|
1424
1418
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1425
|
-
(0, runtime_1.
|
|
1419
|
+
(0, runtime_1.Delete)("/comment"),
|
|
1426
1420
|
(0, runtime_1.Tags)("Comment"),
|
|
1427
1421
|
__param(0, (0, runtime_1.Body)()),
|
|
1428
1422
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1523,7 +1517,7 @@ __decorate([
|
|
|
1523
1517
|
], LemmyHttp.prototype, "editPrivateMessage", null);
|
|
1524
1518
|
__decorate([
|
|
1525
1519
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1526
|
-
(0, runtime_1.
|
|
1520
|
+
(0, runtime_1.Delete)("/private_message"),
|
|
1527
1521
|
(0, runtime_1.Tags)("PrivateMessage"),
|
|
1528
1522
|
__param(0, (0, runtime_1.Body)()),
|
|
1529
1523
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1611,7 +1605,7 @@ __decorate([
|
|
|
1611
1605
|
], LemmyHttp.prototype, "getCaptcha", null);
|
|
1612
1606
|
__decorate([
|
|
1613
1607
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1614
|
-
(0, runtime_1.
|
|
1608
|
+
(0, runtime_1.Delete)("/account"),
|
|
1615
1609
|
(0, runtime_1.Tags)("Account"),
|
|
1616
1610
|
__param(0, (0, runtime_1.Body)()),
|
|
1617
1611
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1632,13 +1626,13 @@ __decorate([
|
|
|
1632
1626
|
], LemmyHttp.prototype, "passwordChangeAfterReset", null);
|
|
1633
1627
|
__decorate([
|
|
1634
1628
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1635
|
-
(0, runtime_1.Post)("/account/mark_as_read/all"),
|
|
1629
|
+
(0, runtime_1.Post)("/account/notification/mark_as_read/all"),
|
|
1636
1630
|
(0, runtime_1.Tags)("Account"),
|
|
1637
1631
|
__param(0, (0, runtime_1.Inject)())
|
|
1638
1632
|
], LemmyHttp.prototype, "markAllNotificationsAsRead", null);
|
|
1639
1633
|
__decorate([
|
|
1640
1634
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1641
|
-
(0, runtime_1.Post)("/account/mark_as_read"),
|
|
1635
|
+
(0, runtime_1.Post)("/account/notification/mark_as_read"),
|
|
1642
1636
|
(0, runtime_1.Tags)("Account"),
|
|
1643
1637
|
__param(0, (0, runtime_1.Body)()),
|
|
1644
1638
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1659,20 +1653,13 @@ __decorate([
|
|
|
1659
1653
|
], LemmyHttp.prototype, "changePassword", null);
|
|
1660
1654
|
__decorate([
|
|
1661
1655
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1662
|
-
(0, runtime_1.Get)("/account/
|
|
1663
|
-
(0, runtime_1.Tags)("Account"),
|
|
1664
|
-
__param(0, (0, runtime_1.Queries)()),
|
|
1665
|
-
__param(1, (0, runtime_1.Inject)())
|
|
1666
|
-
], LemmyHttp.prototype, "getReportCount", null);
|
|
1667
|
-
__decorate([
|
|
1668
|
-
(0, runtime_1.Security)("bearerAuth"),
|
|
1669
|
-
(0, runtime_1.Get)("/account/unread_count"),
|
|
1656
|
+
(0, runtime_1.Get)("/account/notification/count"),
|
|
1670
1657
|
(0, runtime_1.Tags)("Account"),
|
|
1671
1658
|
__param(0, (0, runtime_1.Inject)())
|
|
1672
1659
|
], LemmyHttp.prototype, "getUnreadCount", null);
|
|
1673
1660
|
__decorate([
|
|
1674
1661
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1675
|
-
(0, runtime_1.Get)("/account/
|
|
1662
|
+
(0, runtime_1.Get)("/account/notification/list"),
|
|
1676
1663
|
(0, runtime_1.Tags)("Account"),
|
|
1677
1664
|
__param(0, (0, runtime_1.Queries)()),
|
|
1678
1665
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1824,7 +1811,7 @@ __decorate([
|
|
|
1824
1811
|
], LemmyHttp.prototype, "editTagline", null);
|
|
1825
1812
|
__decorate([
|
|
1826
1813
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1827
|
-
(0, runtime_1.
|
|
1814
|
+
(0, runtime_1.Delete)("/admin/tagline"),
|
|
1828
1815
|
(0, runtime_1.Tags)("Admin", "Tagline"),
|
|
1829
1816
|
__param(0, (0, runtime_1.Body)()),
|
|
1830
1817
|
__param(1, (0, runtime_1.Inject)())
|
|
@@ -1874,7 +1861,7 @@ __decorate([
|
|
|
1874
1861
|
], LemmyHttp.prototype, "editOAuthProvider", null);
|
|
1875
1862
|
__decorate([
|
|
1876
1863
|
(0, runtime_1.Security)("bearerAuth"),
|
|
1877
|
-
(0, runtime_1.
|
|
1864
|
+
(0, runtime_1.Delete)("/oauth_provider"),
|
|
1878
1865
|
(0, runtime_1.Tags)("Miscellaneous", "OAuth"),
|
|
1879
1866
|
__param(0, (0, runtime_1.Body)()),
|
|
1880
1867
|
__param(1, (0, runtime_1.Inject)())
|