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/types/GetPost.d.ts
CHANGED
package/dist/types/GetPosts.d.ts
CHANGED
package/dist/types/LockPost.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { CommunityBlockView } from "./CommunityBlockView";
|
2
2
|
import type { CommunityFollowerView } from "./CommunityFollowerView";
|
3
3
|
import type { CommunityModeratorView } from "./CommunityModeratorView";
|
4
|
+
import type { InstanceBlockView } from "./InstanceBlockView";
|
4
5
|
import type { LanguageId } from "./LanguageId";
|
5
6
|
import type { LocalUserView } from "./LocalUserView";
|
6
7
|
import type { PersonBlockView } from "./PersonBlockView";
|
@@ -9,6 +10,7 @@ export interface MyUserInfo {
|
|
9
10
|
follows: Array<CommunityFollowerView>;
|
10
11
|
moderates: Array<CommunityModeratorView>;
|
11
12
|
community_blocks: Array<CommunityBlockView>;
|
13
|
+
instance_blocks: Array<InstanceBlockView>;
|
12
14
|
person_blocks: Array<PersonBlockView>;
|
13
15
|
discussion_languages: Array<LanguageId>;
|
14
16
|
}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { CommunityId } from "./CommunityId";
|
2
|
+
import type { InstanceId } from "./InstanceId";
|
2
3
|
import type { PersonId } from "./PersonId";
|
3
4
|
import type { PostId } from "./PostId";
|
4
5
|
export interface PostAggregates {
|
@@ -18,4 +19,5 @@ export interface PostAggregates {
|
|
18
19
|
community_id: CommunityId;
|
19
20
|
creator_id: PersonId;
|
20
21
|
controversy_rank: number;
|
22
|
+
instance_id: InstanceId;
|
21
23
|
}
|
package/dist/types/SavePost.d.ts
CHANGED
package/dist/types/Search.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { ImageUploadId } from "./ImageUploadId";
|
2
|
-
import type { LocalUserId } from "./LocalUserId";
|
3
|
-
export interface ImageUpload {
|
4
|
-
id: ImageUploadId;
|
5
|
-
local_user_id: LocalUserId;
|
6
|
-
pictrs_alias: string;
|
7
|
-
pictrs_delete_token: string;
|
8
|
-
published: string;
|
9
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export type ImageUploadId = number;
|
File without changes
|
File without changes
|