lemmy-js-client 0.19.0-rc.8 → 0.19.0-rc.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.d.ts +30 -8
- package/dist/http.js +30 -16
- package/dist/index.d.ts +22 -2
- package/dist/types/AddAdmin.d.ts +1 -0
- package/dist/types/AddModToCommunity.d.ts +1 -0
- package/dist/types/ApproveRegistrationApplication.d.ts +1 -0
- package/dist/types/BanFromCommunity.d.ts +1 -0
- package/dist/types/BanPerson.d.ts +1 -0
- package/dist/types/BlockCommunity.d.ts +1 -0
- package/dist/types/BlockInstance.d.ts +6 -0
- package/dist/types/BlockInstanceResponse.d.ts +3 -0
- package/dist/types/BlockPerson.d.ts +1 -0
- package/dist/types/ChangePassword.d.ts +1 -0
- package/dist/types/CommunityJoin.d.ts +4 -0
- package/dist/types/CommunityJoin.js +2 -0
- package/dist/types/CommunityJoinResponse.d.ts +3 -0
- package/dist/types/CommunityJoinResponse.js +3 -0
- package/dist/types/CreateComment.d.ts +1 -0
- package/dist/types/CreateCommentLike.d.ts +1 -0
- package/dist/types/CreateCommentReport.d.ts +1 -0
- package/dist/types/CreateCommunity.d.ts +1 -0
- package/dist/types/CreateCustomEmoji.d.ts +1 -0
- package/dist/types/CreatePost.d.ts +1 -0
- package/dist/types/CreatePostLike.d.ts +1 -0
- package/dist/types/CreatePostReport.d.ts +1 -0
- package/dist/types/CreatePrivateMessage.d.ts +1 -0
- package/dist/types/CreatePrivateMessageReport.d.ts +1 -0
- package/dist/types/CreateSite.d.ts +1 -0
- package/dist/types/DeleteAccount.d.ts +1 -0
- package/dist/types/DeleteComment.d.ts +1 -0
- package/dist/types/DeleteCommunity.d.ts +1 -0
- package/dist/types/DeleteCustomEmoji.d.ts +1 -0
- package/dist/types/DeletePost.d.ts +1 -0
- package/dist/types/DeletePrivateMessage.d.ts +1 -0
- package/dist/types/DistinguishComment.d.ts +1 -0
- package/dist/types/EditComment.d.ts +1 -0
- package/dist/types/EditCommunity.d.ts +1 -0
- package/dist/types/EditCustomEmoji.d.ts +1 -0
- package/dist/types/EditPost.d.ts +1 -0
- package/dist/types/EditPrivateMessage.d.ts +1 -0
- package/dist/types/EditSite.d.ts +1 -0
- package/dist/types/FeaturePost.d.ts +1 -0
- package/dist/types/FollowCommunity.d.ts +1 -0
- package/dist/types/GetBannedPersons.d.ts +3 -0
- package/dist/types/GetBannedPersons.js +3 -0
- package/dist/types/GetCaptcha.d.ts +3 -0
- package/dist/types/GetCaptcha.js +3 -0
- package/dist/types/GetComment.d.ts +1 -0
- package/dist/types/GetComments.d.ts +1 -0
- package/dist/types/GetCommunity.d.ts +1 -0
- package/dist/types/GetFederatedInstances.d.ts +3 -0
- package/dist/types/GetFederatedInstances.js +3 -0
- package/dist/types/GetModlog.d.ts +1 -0
- package/dist/types/GetPersonDetails.d.ts +1 -0
- package/dist/types/GetPersonMentions.d.ts +1 -0
- package/dist/types/GetPost.d.ts +1 -0
- package/dist/types/GetPosts.d.ts +1 -0
- package/dist/types/GetPrivateMessages.d.ts +1 -0
- package/dist/types/GetReplies.d.ts +1 -0
- package/dist/types/GetReportCount.d.ts +1 -0
- package/dist/types/GetSite.d.ts +3 -0
- package/dist/types/GetSite.js +3 -0
- package/dist/types/GetUnreadCount.d.ts +3 -0
- package/dist/types/GetUnreadCount.js +3 -0
- package/dist/types/GetUnreadRegistrationApplicationCount.d.ts +3 -0
- package/dist/types/GetUnreadRegistrationApplicationCount.js +3 -0
- package/dist/types/HideCommunity.d.ts +1 -0
- package/dist/types/InstanceBlockView.d.ts +8 -0
- package/dist/types/InstanceBlockView.js +2 -0
- package/dist/types/LeaveAdmin.d.ts +3 -0
- package/dist/types/LeaveAdmin.js +3 -0
- package/dist/types/ListCommentReports.d.ts +1 -0
- package/dist/types/ListCommunities.d.ts +1 -0
- package/dist/types/ListPostReports.d.ts +1 -0
- package/dist/types/ListPrivateMessageReports.d.ts +1 -0
- package/dist/types/ListRegistrationApplications.d.ts +1 -0
- package/dist/types/LockPost.d.ts +1 -0
- package/dist/types/MarkAllAsRead.d.ts +3 -0
- package/dist/types/MarkAllAsRead.js +3 -0
- package/dist/types/MarkCommentReplyAsRead.d.ts +1 -0
- package/dist/types/MarkPersonMentionAsRead.d.ts +1 -0
- package/dist/types/MarkPostAsRead.d.ts +1 -0
- package/dist/types/MarkPrivateMessageAsRead.d.ts +1 -0
- package/dist/types/ModJoin.d.ts +4 -0
- package/dist/types/ModJoin.js +2 -0
- package/dist/types/ModJoinResponse.d.ts +3 -0
- package/dist/types/ModJoinResponse.js +3 -0
- package/dist/types/MyUserInfo.d.ts +2 -0
- package/dist/types/PostAggregates.d.ts +2 -0
- package/dist/types/PostJoin.d.ts +4 -0
- package/dist/types/PostJoin.js +2 -0
- package/dist/types/PostJoinResponse.d.ts +3 -0
- package/dist/types/PostJoinResponse.js +3 -0
- package/dist/types/PostOrCommentId.d.ts +7 -0
- package/dist/types/PostOrCommentId.js +2 -0
- package/dist/types/PurgeComment.d.ts +1 -0
- package/dist/types/PurgeCommunity.d.ts +1 -0
- package/dist/types/PurgePerson.d.ts +1 -0
- package/dist/types/PurgePost.d.ts +1 -0
- package/dist/types/RemoveComment.d.ts +1 -0
- package/dist/types/RemoveCommunity.d.ts +1 -0
- package/dist/types/RemovePost.d.ts +1 -0
- package/dist/types/ResolveCommentReport.d.ts +1 -0
- package/dist/types/ResolveObject.d.ts +1 -0
- package/dist/types/ResolvePostReport.d.ts +1 -0
- package/dist/types/ResolvePrivateMessageReport.d.ts +1 -0
- package/dist/types/SaveComment.d.ts +1 -0
- package/dist/types/SavePost.d.ts +1 -0
- package/dist/types/SaveUserSettings.d.ts +1 -0
- package/dist/types/Search.d.ts +1 -0
- package/dist/types/TransferCommunity.d.ts +1 -0
- package/dist/types/UserJoin.d.ts +3 -0
- package/dist/types/UserJoin.js +3 -0
- package/dist/types/UserJoinResponse.d.ts +3 -0
- package/dist/types/UserJoinResponse.js +3 -0
- package/package.json +1 -1
- package/dist/types/ImageUpload.d.ts +0 -9
- package/dist/types/ImageUploadId.d.ts +0 -1
- /package/dist/types/{ImageUpload.js → BlockInstance.js} +0 -0
- /package/dist/types/{ImageUploadId.js → BlockInstanceResponse.js} +0 -0
package/dist/http.d.ts
CHANGED
@@ -46,12 +46,15 @@ import { EditPrivateMessage } from "./types/EditPrivateMessage";
|
|
46
46
|
import { EditSite } from "./types/EditSite";
|
47
47
|
import { FeaturePost } from "./types/FeaturePost";
|
48
48
|
import { FollowCommunity } from "./types/FollowCommunity";
|
49
|
+
import { GetBannedPersons } from "./types/GetBannedPersons";
|
50
|
+
import { GetCaptcha } from "./types/GetCaptcha";
|
49
51
|
import { GetCaptchaResponse } from "./types/GetCaptchaResponse";
|
50
52
|
import { GetComment } from "./types/GetComment";
|
51
53
|
import { GetComments } from "./types/GetComments";
|
52
54
|
import { GetCommentsResponse } from "./types/GetCommentsResponse";
|
53
55
|
import { GetCommunity } from "./types/GetCommunity";
|
54
56
|
import { GetCommunityResponse } from "./types/GetCommunityResponse";
|
57
|
+
import { GetFederatedInstances } from "./types/GetFederatedInstances";
|
55
58
|
import { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
|
56
59
|
import { GetModlog } from "./types/GetModlog";
|
57
60
|
import { GetModlogResponse } from "./types/GetModlogResponse";
|
@@ -68,11 +71,15 @@ import { GetReplies } from "./types/GetReplies";
|
|
68
71
|
import { GetRepliesResponse } from "./types/GetRepliesResponse";
|
69
72
|
import { GetReportCount } from "./types/GetReportCount";
|
70
73
|
import { GetReportCountResponse } from "./types/GetReportCountResponse";
|
74
|
+
import { GetSite } from "./types/GetSite";
|
71
75
|
import { GetSiteMetadata } from "./types/GetSiteMetadata";
|
72
76
|
import { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
|
73
77
|
import { GetSiteResponse } from "./types/GetSiteResponse";
|
78
|
+
import { GetUnreadCount } from "./types/GetUnreadCount";
|
74
79
|
import { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
|
80
|
+
import { GetUnreadRegistrationApplicationCount } from "./types/GetUnreadRegistrationApplicationCount";
|
75
81
|
import { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
|
82
|
+
import { LeaveAdmin } from "./types/LeaveAdmin";
|
76
83
|
import { ListCommentReports } from "./types/ListCommentReports";
|
77
84
|
import { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
|
78
85
|
import { ListCommunities } from "./types/ListCommunities";
|
@@ -86,6 +93,7 @@ import { ListRegistrationApplicationsResponse } from "./types/ListRegistrationAp
|
|
86
93
|
import { LockPost } from "./types/LockPost";
|
87
94
|
import { Login } from "./types/Login";
|
88
95
|
import { LoginResponse } from "./types/LoginResponse";
|
96
|
+
import { MarkAllAsRead } from "./types/MarkAllAsRead";
|
89
97
|
import { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
|
90
98
|
import { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
|
91
99
|
import { MarkPostAsRead } from "./types/MarkPostAsRead";
|
@@ -122,6 +130,8 @@ import { SiteResponse } from "./types/SiteResponse";
|
|
122
130
|
import { TransferCommunity } from "./types/TransferCommunity";
|
123
131
|
import { VerifyEmail } from "./types/VerifyEmail";
|
124
132
|
import { UploadImage, UploadImageResponse } from "./types/others";
|
133
|
+
import { BlockInstance } from "./types/BlockInstance";
|
134
|
+
import { BlockInstanceResponse } from "./types/BlockInstanceResponse";
|
125
135
|
/**
|
126
136
|
* Helps build lemmy HTTP requests.
|
127
137
|
*/
|
@@ -143,7 +153,7 @@ export declare class LemmyHttp {
|
|
143
153
|
*
|
144
154
|
* `HTTP.GET /site`
|
145
155
|
*/
|
146
|
-
getSite(): Promise<GetSiteResponse>;
|
156
|
+
getSite(form?: GetSite): Promise<GetSiteResponse>;
|
147
157
|
/**
|
148
158
|
* Create your site.
|
149
159
|
*
|
@@ -161,7 +171,7 @@ export declare class LemmyHttp {
|
|
161
171
|
*
|
162
172
|
* `HTTP.POST /user/leave_admin`
|
163
173
|
*/
|
164
|
-
leaveAdmin(): Promise<GetSiteResponse>;
|
174
|
+
leaveAdmin(form: LeaveAdmin): Promise<GetSiteResponse>;
|
165
175
|
/**
|
166
176
|
* Get the modlog.
|
167
177
|
*
|
@@ -509,7 +519,7 @@ export declare class LemmyHttp {
|
|
509
519
|
*
|
510
520
|
* `HTTP.GET /user/banned`
|
511
521
|
*/
|
512
|
-
getBannedPersons(): Promise<BannedPersonsResponse>;
|
522
|
+
getBannedPersons(form: GetBannedPersons): Promise<BannedPersonsResponse>;
|
513
523
|
/**
|
514
524
|
* Block a person.
|
515
525
|
*
|
@@ -521,7 +531,7 @@ export declare class LemmyHttp {
|
|
521
531
|
*
|
522
532
|
* `HTTP.GET /user/get_captcha`
|
523
533
|
*/
|
524
|
-
getCaptcha(): Promise<GetCaptchaResponse>;
|
534
|
+
getCaptcha(form?: GetCaptcha): Promise<GetCaptchaResponse>;
|
525
535
|
/**
|
526
536
|
* Delete your account.
|
527
537
|
*
|
@@ -545,7 +555,7 @@ export declare class LemmyHttp {
|
|
545
555
|
*
|
546
556
|
* `HTTP.POST /user/mark_all_as_read`
|
547
557
|
*/
|
548
|
-
markAllAsRead(): Promise<GetRepliesResponse>;
|
558
|
+
markAllAsRead(form: MarkAllAsRead): Promise<GetRepliesResponse>;
|
549
559
|
/**
|
550
560
|
* Save your user settings.
|
551
561
|
*
|
@@ -569,7 +579,7 @@ export declare class LemmyHttp {
|
|
569
579
|
*
|
570
580
|
* `HTTP.GET /user/unread_count`
|
571
581
|
*/
|
572
|
-
getUnreadCount(): Promise<GetUnreadCountResponse>;
|
582
|
+
getUnreadCount(form: GetUnreadCount): Promise<GetUnreadCountResponse>;
|
573
583
|
/**
|
574
584
|
* Verify your email
|
575
585
|
*
|
@@ -587,7 +597,7 @@ export declare class LemmyHttp {
|
|
587
597
|
*
|
588
598
|
* `HTTP.GET /admin/registration_application/count`
|
589
599
|
*/
|
590
|
-
getUnreadRegistrationApplicationCount(): Promise<GetUnreadRegistrationApplicationCountResponse>;
|
600
|
+
getUnreadRegistrationApplicationCount(form: GetUnreadRegistrationApplicationCount): Promise<GetUnreadRegistrationApplicationCountResponse>;
|
591
601
|
/**
|
592
602
|
* List the registration applications.
|
593
603
|
*
|
@@ -647,9 +657,21 @@ export declare class LemmyHttp {
|
|
647
657
|
*
|
648
658
|
* `HTTP.Get /federated_instances`
|
649
659
|
*/
|
650
|
-
getFederatedInstances(): Promise<GetFederatedInstancesResponse>;
|
660
|
+
getFederatedInstances(form?: GetFederatedInstances): Promise<GetFederatedInstancesResponse>;
|
661
|
+
/**
|
662
|
+
* Block an instance
|
663
|
+
*
|
664
|
+
* `HTTP.POST /site/block`
|
665
|
+
*/
|
666
|
+
blockInstance(form: BlockInstance): Promise<BlockInstanceResponse>;
|
651
667
|
/**
|
652
668
|
* Upload an image to the server.
|
653
669
|
*/
|
654
670
|
uploadImage({ image, auth, }: UploadImage): Promise<UploadImageResponse>;
|
671
|
+
/**
|
672
|
+
* Set the headers (can be used to set the auth header)
|
673
|
+
*/
|
674
|
+
setHeaders(headers: {
|
675
|
+
[key: string]: string;
|
676
|
+
}): void;
|
655
677
|
}
|
package/dist/http.js
CHANGED
@@ -63,8 +63,8 @@ class LemmyHttp {
|
|
63
63
|
*
|
64
64
|
* `HTTP.GET /site`
|
65
65
|
*/
|
66
|
-
getSite() {
|
67
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/site",
|
66
|
+
getSite(form = {}) {
|
67
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/site", form);
|
68
68
|
}
|
69
69
|
/**
|
70
70
|
* Create your site.
|
@@ -87,8 +87,8 @@ class LemmyHttp {
|
|
87
87
|
*
|
88
88
|
* `HTTP.POST /user/leave_admin`
|
89
89
|
*/
|
90
|
-
leaveAdmin() {
|
91
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/leave_admin",
|
90
|
+
leaveAdmin(form) {
|
91
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/leave_admin", form);
|
92
92
|
}
|
93
93
|
/**
|
94
94
|
* Get the modlog.
|
@@ -551,8 +551,8 @@ class LemmyHttp {
|
|
551
551
|
*
|
552
552
|
* `HTTP.GET /user/banned`
|
553
553
|
*/
|
554
|
-
getBannedPersons() {
|
555
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/banned",
|
554
|
+
getBannedPersons(form) {
|
555
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/banned", form);
|
556
556
|
}
|
557
557
|
/**
|
558
558
|
* Block a person.
|
@@ -567,8 +567,8 @@ class LemmyHttp {
|
|
567
567
|
*
|
568
568
|
* `HTTP.GET /user/get_captcha`
|
569
569
|
*/
|
570
|
-
getCaptcha() {
|
571
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/get_captcha",
|
570
|
+
getCaptcha(form = {}) {
|
571
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/get_captcha", form);
|
572
572
|
}
|
573
573
|
/**
|
574
574
|
* Delete your account.
|
@@ -599,8 +599,8 @@ class LemmyHttp {
|
|
599
599
|
*
|
600
600
|
* `HTTP.POST /user/mark_all_as_read`
|
601
601
|
*/
|
602
|
-
markAllAsRead() {
|
603
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/mark_all_as_read",
|
602
|
+
markAllAsRead(form) {
|
603
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/mark_all_as_read", form);
|
604
604
|
}
|
605
605
|
/**
|
606
606
|
* Save your user settings.
|
@@ -631,8 +631,8 @@ class LemmyHttp {
|
|
631
631
|
*
|
632
632
|
* `HTTP.GET /user/unread_count`
|
633
633
|
*/
|
634
|
-
getUnreadCount() {
|
635
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/unread_count",
|
634
|
+
getUnreadCount(form) {
|
635
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/unread_count", form);
|
636
636
|
}
|
637
637
|
/**
|
638
638
|
* Verify your email
|
@@ -655,8 +655,8 @@ class LemmyHttp {
|
|
655
655
|
*
|
656
656
|
* `HTTP.GET /admin/registration_application/count`
|
657
657
|
*/
|
658
|
-
getUnreadRegistrationApplicationCount() {
|
659
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/count",
|
658
|
+
getUnreadRegistrationApplicationCount(form) {
|
659
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/registration_application/count", form);
|
660
660
|
}
|
661
661
|
/**
|
662
662
|
* List the registration applications.
|
@@ -735,8 +735,16 @@ class LemmyHttp {
|
|
735
735
|
*
|
736
736
|
* `HTTP.Get /federated_instances`
|
737
737
|
*/
|
738
|
-
getFederatedInstances() {
|
739
|
-
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances",
|
738
|
+
getFederatedInstances(form = {}) {
|
739
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/federated_instances", form);
|
740
|
+
}
|
741
|
+
/**
|
742
|
+
* Block an instance
|
743
|
+
*
|
744
|
+
* `HTTP.POST /site/block`
|
745
|
+
*/
|
746
|
+
blockInstance(form) {
|
747
|
+
return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/site/block", form);
|
740
748
|
}
|
741
749
|
/**
|
742
750
|
* Upload an image to the server.
|
@@ -771,6 +779,12 @@ class LemmyHttp {
|
|
771
779
|
delete_url });
|
772
780
|
});
|
773
781
|
}
|
782
|
+
/**
|
783
|
+
* Set the headers (can be used to set the auth header)
|
784
|
+
*/
|
785
|
+
setHeaders(headers) {
|
786
|
+
__classPrivateFieldSet(this, _LemmyHttp_headers, headers, "f");
|
787
|
+
}
|
774
788
|
}
|
775
789
|
exports.LemmyHttp = LemmyHttp;
|
776
790
|
_LemmyHttp_apiUrl = new WeakMap(), _LemmyHttp_headers = new WeakMap(), _LemmyHttp_pictrsUrl = new WeakMap(), _LemmyHttp_fetchFunction = new WeakMap(), _LemmyHttp_instances = new WeakSet(), _LemmyHttp_buildFullUrl = function _LemmyHttp_buildFullUrl(endpoint) {
|
package/dist/index.d.ts
CHANGED
@@ -19,6 +19,8 @@ export { BanPersonResponse } from "./types/BanPersonResponse";
|
|
19
19
|
export { BannedPersonsResponse } from "./types/BannedPersonsResponse";
|
20
20
|
export { BlockCommunity } from "./types/BlockCommunity";
|
21
21
|
export { BlockCommunityResponse } from "./types/BlockCommunityResponse";
|
22
|
+
export { BlockInstance } from "./types/BlockInstance";
|
23
|
+
export { BlockInstanceResponse } from "./types/BlockInstanceResponse";
|
22
24
|
export { BlockPerson } from "./types/BlockPerson";
|
23
25
|
export { BlockPersonResponse } from "./types/BlockPersonResponse";
|
24
26
|
export { CaptchaResponse } from "./types/CaptchaResponse";
|
@@ -43,6 +45,8 @@ export { CommunityBlockId } from "./types/CommunityBlockId";
|
|
43
45
|
export { CommunityBlockView } from "./types/CommunityBlockView";
|
44
46
|
export { CommunityFollowerView } from "./types/CommunityFollowerView";
|
45
47
|
export { CommunityId } from "./types/CommunityId";
|
48
|
+
export { CommunityJoin } from "./types/CommunityJoin";
|
49
|
+
export { CommunityJoinResponse } from "./types/CommunityJoinResponse";
|
46
50
|
export { CommunityModeratorView } from "./types/CommunityModeratorView";
|
47
51
|
export { CommunityResponse } from "./types/CommunityResponse";
|
48
52
|
export { CommunityView } from "./types/CommunityView";
|
@@ -80,12 +84,15 @@ export { EditSite } from "./types/EditSite";
|
|
80
84
|
export { FeaturePost } from "./types/FeaturePost";
|
81
85
|
export { FederatedInstances } from "./types/FederatedInstances";
|
82
86
|
export { FollowCommunity } from "./types/FollowCommunity";
|
87
|
+
export { GetBannedPersons } from "./types/GetBannedPersons";
|
88
|
+
export { GetCaptcha } from "./types/GetCaptcha";
|
83
89
|
export { GetCaptchaResponse } from "./types/GetCaptchaResponse";
|
84
90
|
export { GetComment } from "./types/GetComment";
|
85
91
|
export { GetComments } from "./types/GetComments";
|
86
92
|
export { GetCommentsResponse } from "./types/GetCommentsResponse";
|
87
93
|
export { GetCommunity } from "./types/GetCommunity";
|
88
94
|
export { GetCommunityResponse } from "./types/GetCommunityResponse";
|
95
|
+
export { GetFederatedInstances } from "./types/GetFederatedInstances";
|
89
96
|
export { GetFederatedInstancesResponse } from "./types/GetFederatedInstancesResponse";
|
90
97
|
export { GetModlog } from "./types/GetModlog";
|
91
98
|
export { GetModlogResponse } from "./types/GetModlogResponse";
|
@@ -102,18 +109,22 @@ export { GetReplies } from "./types/GetReplies";
|
|
102
109
|
export { GetRepliesResponse } from "./types/GetRepliesResponse";
|
103
110
|
export { GetReportCount } from "./types/GetReportCount";
|
104
111
|
export { GetReportCountResponse } from "./types/GetReportCountResponse";
|
112
|
+
export { GetSite } from "./types/GetSite";
|
105
113
|
export { GetSiteMetadata } from "./types/GetSiteMetadata";
|
106
114
|
export { GetSiteMetadataResponse } from "./types/GetSiteMetadataResponse";
|
107
115
|
export { GetSiteResponse } from "./types/GetSiteResponse";
|
116
|
+
export { GetUnreadCount } from "./types/GetUnreadCount";
|
108
117
|
export { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
|
118
|
+
export { GetUnreadRegistrationApplicationCount } from "./types/GetUnreadRegistrationApplicationCount";
|
109
119
|
export { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
|
110
120
|
export { HideCommunity } from "./types/HideCommunity";
|
111
|
-
export { ImageUpload } from "./types/ImageUpload";
|
112
|
-
export { ImageUploadId } from "./types/ImageUploadId";
|
113
121
|
export { Instance } from "./types/Instance";
|
122
|
+
export { InstanceBlockView } from "./types/InstanceBlockView";
|
114
123
|
export { InstanceId } from "./types/InstanceId";
|
115
124
|
export { Language } from "./types/Language";
|
116
125
|
export { LanguageId } from "./types/LanguageId";
|
126
|
+
export { LeaveAdmin } from "./types/LeaveAdmin";
|
127
|
+
export { LemmyErrorType } from "./types/LemmyErrorType";
|
117
128
|
export { ListCommentReports } from "./types/ListCommentReports";
|
118
129
|
export { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
|
119
130
|
export { ListCommunities } from "./types/ListCommunities";
|
@@ -134,6 +145,7 @@ export { LocalUserView } from "./types/LocalUserView";
|
|
134
145
|
export { LockPost } from "./types/LockPost";
|
135
146
|
export { Login } from "./types/Login";
|
136
147
|
export { LoginResponse } from "./types/LoginResponse";
|
148
|
+
export { MarkAllAsRead } from "./types/MarkAllAsRead";
|
137
149
|
export { MarkCommentReplyAsRead } from "./types/MarkCommentReplyAsRead";
|
138
150
|
export { MarkPersonMentionAsRead } from "./types/MarkPersonMentionAsRead";
|
139
151
|
export { MarkPostAsRead } from "./types/MarkPostAsRead";
|
@@ -150,6 +162,8 @@ export { ModFeaturePost } from "./types/ModFeaturePost";
|
|
150
162
|
export { ModFeaturePostView } from "./types/ModFeaturePostView";
|
151
163
|
export { ModHideCommunity } from "./types/ModHideCommunity";
|
152
164
|
export { ModHideCommunityView } from "./types/ModHideCommunityView";
|
165
|
+
export { ModJoin } from "./types/ModJoin";
|
166
|
+
export { ModJoinResponse } from "./types/ModJoinResponse";
|
153
167
|
export { ModLockPost } from "./types/ModLockPost";
|
154
168
|
export { ModLockPostView } from "./types/ModLockPostView";
|
155
169
|
export { ModRemoveComment } from "./types/ModRemoveComment";
|
@@ -181,7 +195,10 @@ export { Post } from "./types/Post";
|
|
181
195
|
export { PostAggregates } from "./types/PostAggregates";
|
182
196
|
export { PostFeatureType } from "./types/PostFeatureType";
|
183
197
|
export { PostId } from "./types/PostId";
|
198
|
+
export { PostJoin } from "./types/PostJoin";
|
199
|
+
export { PostJoinResponse } from "./types/PostJoinResponse";
|
184
200
|
export { PostListingMode } from "./types/PostListingMode";
|
201
|
+
export { PostOrCommentId } from "./types/PostOrCommentId";
|
185
202
|
export { PostReport } from "./types/PostReport";
|
186
203
|
export { PostReportId } from "./types/PostReportId";
|
187
204
|
export { PostReportResponse } from "./types/PostReportResponse";
|
@@ -231,5 +248,8 @@ export { SortType } from "./types/SortType";
|
|
231
248
|
export { SubscribedType } from "./types/SubscribedType";
|
232
249
|
export { Tagline } from "./types/Tagline";
|
233
250
|
export { TransferCommunity } from "./types/TransferCommunity";
|
251
|
+
export { UserJoin } from "./types/UserJoin";
|
252
|
+
export { UserJoinResponse } from "./types/UserJoinResponse";
|
234
253
|
export { VerifyEmail } from "./types/VerifyEmail";
|
235
254
|
export { VerifyEmailResponse } from "./types/VerifyEmailResponse";
|
255
|
+
export { UploadImage, UploadImageResponse, ImageFile } from "./types/others";
|
package/dist/types/AddAdmin.d.ts
CHANGED
package/dist/types/EditPost.d.ts
CHANGED
package/dist/types/EditSite.d.ts
CHANGED