lemmy-js-client 1.0.0-merge-modlog-tables.8 → 1.0.0-merge-count-endpoints.1
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 +44 -54
- package/dist/http.js +27 -40
- package/dist/index.d.ts +5 -28
- package/dist/other_types.d.ts +0 -3
- package/dist/types/AdminListUsers.d.ts +0 -1
- package/dist/types/CountsResponse.d.ts +6 -0
- 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/MultiCommunitySortType.js +3 -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/package.json +4 -4
- package/dist/types/AdminListUsersResponse.d.ts +0 -10
- package/dist/types/BanFromCommunityResponse.d.ts +0 -8
- package/dist/types/GetCommentsResponse.d.ts +0 -10
- package/dist/types/GetCommentsResponse.js +0 -2
- 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 → CountsResponse.js} +0 -0
- /package/dist/types/{GetReportCountResponse.js → MultiCommunityListingType.js} +0 -0
- /package/dist/types/{AdminListUsersResponse.js → PagedResponse.js} +0 -0
- /package/dist/types/{BanFromCommunityResponse.js → PostCommentCombinedView.js} +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PostView } from "./PostView";
|
|
3
|
-
/**
|
|
4
|
-
* The post list response.
|
|
5
|
-
*/
|
|
6
|
-
export type GetPostsResponse = {
|
|
7
|
-
posts: Array<PostView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { VoteView } from "./VoteView";
|
|
3
|
-
/**
|
|
4
|
-
* The comment likes response
|
|
5
|
-
*/
|
|
6
|
-
export type ListCommentLikesResponse = {
|
|
7
|
-
comment_likes: Array<VoteView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CommunityView } from "./CommunityView";
|
|
2
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
3
|
-
/**
|
|
4
|
-
* The response for listing communities.
|
|
5
|
-
*/
|
|
6
|
-
export type ListCommunitiesResponse = {
|
|
7
|
-
communities: Array<CommunityView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PendingFollowerView } from "./PendingFollowerView";
|
|
3
|
-
export type ListCommunityPendingFollowsResponse = {
|
|
4
|
-
items: Array<PendingFollowerView>;
|
|
5
|
-
/**
|
|
6
|
-
* the pagination cursor to use to fetch the next page
|
|
7
|
-
*/
|
|
8
|
-
next_page?: PaginationCursor;
|
|
9
|
-
prev_page?: PaginationCursor;
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LocalImageView } from "./LocalImageView";
|
|
2
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
3
|
-
export type ListMediaResponse = {
|
|
4
|
-
images: Array<LocalImageView>;
|
|
5
|
-
/**
|
|
6
|
-
* the pagination cursor to use to fetch the next page
|
|
7
|
-
*/
|
|
8
|
-
next_page?: PaginationCursor;
|
|
9
|
-
prev_page?: PaginationCursor;
|
|
10
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NotificationView } from "./NotificationView";
|
|
2
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
3
|
-
/**
|
|
4
|
-
* Get your inbox (replies, comment mentions, post mentions, and messages)
|
|
5
|
-
*/
|
|
6
|
-
export type ListNotificationsResponse = {
|
|
7
|
-
notifications: Array<NotificationView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PersonContentCombinedView } from "./PersonContentCombinedView";
|
|
3
|
-
/**
|
|
4
|
-
* A person's content response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListPersonContentResponse = {
|
|
7
|
-
content: Array<PersonContentCombinedView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PostView } from "./PostView";
|
|
3
|
-
/**
|
|
4
|
-
* You hidden posts response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListPersonHiddenResponse = {
|
|
7
|
-
hidden: Array<PostView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PersonLikedCombinedView } from "./PersonLikedCombinedView";
|
|
3
|
-
/**
|
|
4
|
-
* Your liked posts response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListPersonLikedResponse = {
|
|
7
|
-
liked: Array<PersonLikedCombinedView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PostView } from "./PostView";
|
|
3
|
-
/**
|
|
4
|
-
* You read posts response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListPersonReadResponse = {
|
|
7
|
-
read: Array<PostView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { PersonSavedCombinedView } from "./PersonSavedCombinedView";
|
|
3
|
-
/**
|
|
4
|
-
* A person's saved content response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListPersonSavedResponse = {
|
|
7
|
-
saved: Array<PersonSavedCombinedView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { VoteView } from "./VoteView";
|
|
3
|
-
/**
|
|
4
|
-
* The post likes response
|
|
5
|
-
*/
|
|
6
|
-
export type ListPostLikesResponse = {
|
|
7
|
-
post_likes: Array<VoteView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { RegistrationApplicationView } from "./RegistrationApplicationView";
|
|
3
|
-
/**
|
|
4
|
-
* The list of registration applications.
|
|
5
|
-
*/
|
|
6
|
-
export type ListRegistrationApplicationsResponse = {
|
|
7
|
-
registration_applications: Array<RegistrationApplicationView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { ReportCombinedView } from "./ReportCombinedView";
|
|
3
|
-
/**
|
|
4
|
-
* The post reports response.
|
|
5
|
-
*/
|
|
6
|
-
export type ListReportsResponse = {
|
|
7
|
-
reports: Array<ReportCombinedView>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { PaginationCursor } from "./PaginationCursor";
|
|
2
|
-
import type { Tagline } from "./Tagline";
|
|
3
|
-
/**
|
|
4
|
-
* A response for taglines.
|
|
5
|
-
*/
|
|
6
|
-
export type ListTaglinesResponse = {
|
|
7
|
-
taglines: Array<Tagline>;
|
|
8
|
-
/**
|
|
9
|
-
* the pagination cursor to use to fetch the next page
|
|
10
|
-
*/
|
|
11
|
-
next_page?: PaginationCursor;
|
|
12
|
-
prev_page?: PaginationCursor;
|
|
13
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|