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