lemmy-js-client 0.17.2-rc.16 → 0.17.2-rc.17
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/types/BanFromCommunity.d.ts +1 -1
- package/dist/types/BanPerson.d.ts +1 -1
- package/dist/types/CommentAggregates.d.ts +3 -3
- package/dist/types/CommunityAggregates.d.ts +7 -7
- package/dist/types/GetComments.d.ts +2 -2
- package/dist/types/GetModlog.d.ts +2 -2
- package/dist/types/GetPersonDetails.d.ts +2 -2
- package/dist/types/GetPersonMentions.d.ts +2 -2
- package/dist/types/GetPosts.d.ts +2 -2
- package/dist/types/GetPrivateMessages.d.ts +2 -2
- package/dist/types/GetReplies.d.ts +2 -2
- package/dist/types/GetReportCountResponse.d.ts +3 -3
- package/dist/types/GetUnreadCountResponse.d.ts +3 -3
- package/dist/types/GetUnreadRegistrationApplicationCountResponse.d.ts +1 -1
- package/dist/types/ListCommentReports.d.ts +2 -2
- package/dist/types/ListCommunities.d.ts +2 -2
- package/dist/types/ListPostReports.d.ts +2 -2
- package/dist/types/ListPrivateMessageReports.d.ts +2 -2
- package/dist/types/ListRegistrationApplications.d.ts +2 -2
- package/dist/types/ModlogListParams.d.ts +2 -2
- package/dist/types/PersonAggregates.d.ts +4 -4
- package/dist/types/PostAggregates.d.ts +4 -4
- package/dist/types/PostView.d.ts +1 -1
- package/dist/types/RemoveCommunity.d.ts +1 -1
- package/dist/types/Search.d.ts +2 -2
- package/dist/types/SiteAggregates.d.ts +8 -8
- package/package.json +1 -1
@@ -2,9 +2,9 @@ import type { CommentId } from "./CommentId";
|
|
2
2
|
export interface CommentAggregates {
|
3
3
|
id: number;
|
4
4
|
comment_id: CommentId;
|
5
|
-
score:
|
6
|
-
upvotes:
|
7
|
-
downvotes:
|
5
|
+
score: number;
|
6
|
+
upvotes: number;
|
7
|
+
downvotes: number;
|
8
8
|
published: string;
|
9
9
|
child_count: number;
|
10
10
|
}
|
@@ -2,12 +2,12 @@ import type { CommunityId } from "./CommunityId";
|
|
2
2
|
export interface CommunityAggregates {
|
3
3
|
id: number;
|
4
4
|
community_id: CommunityId;
|
5
|
-
subscribers:
|
6
|
-
posts:
|
7
|
-
comments:
|
5
|
+
subscribers: number;
|
6
|
+
posts: number;
|
7
|
+
comments: number;
|
8
8
|
published: string;
|
9
|
-
users_active_day:
|
10
|
-
users_active_week:
|
11
|
-
users_active_month:
|
12
|
-
users_active_half_year:
|
9
|
+
users_active_day: number;
|
10
|
+
users_active_week: number;
|
11
|
+
users_active_month: number;
|
12
|
+
users_active_half_year: number;
|
13
13
|
}
|
@@ -4,8 +4,8 @@ import type { PersonId } from "./PersonId";
|
|
4
4
|
export interface GetModlog {
|
5
5
|
mod_person_id?: PersonId;
|
6
6
|
community_id?: CommunityId;
|
7
|
-
page?:
|
8
|
-
limit?:
|
7
|
+
page?: number;
|
8
|
+
limit?: number;
|
9
9
|
type_?: ModlogActionType;
|
10
10
|
other_person_id?: PersonId;
|
11
11
|
auth?: string;
|
package/dist/types/GetPosts.d.ts
CHANGED
@@ -4,8 +4,8 @@ import type { SortType } from "./SortType";
|
|
4
4
|
export interface GetPosts {
|
5
5
|
type_?: ListingType;
|
6
6
|
sort?: SortType;
|
7
|
-
page?:
|
8
|
-
limit?:
|
7
|
+
page?: number;
|
8
|
+
limit?: number;
|
9
9
|
community_id?: CommunityId;
|
10
10
|
community_name?: string;
|
11
11
|
saved_only?: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { CommunityId } from "./CommunityId";
|
2
2
|
export interface GetReportCountResponse {
|
3
3
|
community_id?: CommunityId;
|
4
|
-
comment_reports:
|
5
|
-
post_reports:
|
6
|
-
private_message_reports?:
|
4
|
+
comment_reports: number;
|
5
|
+
post_reports: number;
|
6
|
+
private_message_reports?: number;
|
7
7
|
}
|
@@ -2,8 +2,8 @@ import type { PersonId } from "./PersonId";
|
|
2
2
|
export interface PersonAggregates {
|
3
3
|
id: number;
|
4
4
|
person_id: PersonId;
|
5
|
-
post_count:
|
6
|
-
post_score:
|
7
|
-
comment_count:
|
8
|
-
comment_score:
|
5
|
+
post_count: number;
|
6
|
+
post_score: number;
|
7
|
+
comment_count: number;
|
8
|
+
comment_score: number;
|
9
9
|
}
|
@@ -2,10 +2,10 @@ import type { PostId } from "./PostId";
|
|
2
2
|
export interface PostAggregates {
|
3
3
|
id: number;
|
4
4
|
post_id: PostId;
|
5
|
-
comments:
|
6
|
-
score:
|
7
|
-
upvotes:
|
8
|
-
downvotes:
|
5
|
+
comments: number;
|
6
|
+
score: number;
|
7
|
+
upvotes: number;
|
8
|
+
downvotes: number;
|
9
9
|
published: string;
|
10
10
|
newest_comment_time_necro: string;
|
11
11
|
newest_comment_time: string;
|
package/dist/types/PostView.d.ts
CHANGED
package/dist/types/Search.d.ts
CHANGED
@@ -2,12 +2,12 @@ import type { SiteId } from "./SiteId";
|
|
2
2
|
export interface SiteAggregates {
|
3
3
|
id: number;
|
4
4
|
site_id: SiteId;
|
5
|
-
users:
|
6
|
-
posts:
|
7
|
-
comments:
|
8
|
-
communities:
|
9
|
-
users_active_day:
|
10
|
-
users_active_week:
|
11
|
-
users_active_month:
|
12
|
-
users_active_half_year:
|
5
|
+
users: number;
|
6
|
+
posts: number;
|
7
|
+
comments: number;
|
8
|
+
communities: number;
|
9
|
+
users_active_day: number;
|
10
|
+
users_active_week: number;
|
11
|
+
users_active_month: number;
|
12
|
+
users_active_half_year: number;
|
13
13
|
}
|
package/package.json
CHANGED