lemmy-js-client 0.18.3-rc.3 → 0.19.0-rc.2
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/index.d.ts +1 -0
- package/dist/types/CommentAggregates.d.ts +1 -0
- package/dist/types/CommentResponse.d.ts +0 -1
- package/dist/types/CommentSortType.d.ts +1 -1
- package/dist/types/CreateComment.d.ts +0 -1
- package/dist/types/DeleteAccount.d.ts +1 -0
- package/dist/types/EditComment.d.ts +0 -1
- package/dist/types/LocalUser.d.ts +3 -2
- package/dist/types/PersonSortType.d.ts +1 -0
- package/dist/types/PersonSortType.js +3 -0
- package/dist/types/PostAggregates.d.ts +5 -0
- package/dist/types/ResolveObject.d.ts +1 -1
- package/dist/types/SaveUserSettings.d.ts +1 -0
- package/dist/types/SortType.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -186,6 +186,7 @@ export { PersonMention } from "./types/PersonMention";
|
|
186
186
|
export { PersonMentionId } from "./types/PersonMentionId";
|
187
187
|
export { PersonMentionResponse } from "./types/PersonMentionResponse";
|
188
188
|
export { PersonMentionView } from "./types/PersonMentionView";
|
189
|
+
export { PersonSortType } from "./types/PersonSortType";
|
189
190
|
export { PersonView } from "./types/PersonView";
|
190
191
|
export { Post } from "./types/Post";
|
191
192
|
export { PostAggregates } from "./types/PostAggregates";
|
@@ -1 +1 @@
|
|
1
|
-
export type CommentSortType = "Hot" | "Top" | "New" | "Old";
|
1
|
+
export type CommentSortType = "Hot" | "Top" | "New" | "Old" | "Controversial";
|
@@ -7,8 +7,6 @@ export interface LocalUser {
|
|
7
7
|
person_id: PersonId;
|
8
8
|
email?: string;
|
9
9
|
show_nsfw: boolean;
|
10
|
-
blur_nsfw: boolean;
|
11
|
-
auto_expand: boolean;
|
12
10
|
theme: string;
|
13
11
|
default_sort_type: SortType;
|
14
12
|
default_listing_type: ListingType;
|
@@ -24,4 +22,7 @@ export interface LocalUser {
|
|
24
22
|
accepted_application: boolean;
|
25
23
|
totp_2fa_url?: string;
|
26
24
|
open_links_in_new_tab: boolean;
|
25
|
+
blur_nsfw: boolean;
|
26
|
+
auto_expand: boolean;
|
27
|
+
infinite_scroll_enabled: boolean;
|
27
28
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export type PersonSortType = "New" | "Old" | "MostComments" | "CommentScore" | "PostScore" | "PostCount";
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import type { CommunityId } from "./CommunityId";
|
2
|
+
import type { PersonId } from "./PersonId";
|
1
3
|
import type { PostId } from "./PostId";
|
2
4
|
export interface PostAggregates {
|
3
5
|
id: number;
|
@@ -13,4 +15,7 @@ export interface PostAggregates {
|
|
13
15
|
featured_local: boolean;
|
14
16
|
hot_rank: number;
|
15
17
|
hot_rank_active: number;
|
18
|
+
community_id: CommunityId;
|
19
|
+
creator_id: PersonId;
|
20
|
+
controversy_rank: number;
|
16
21
|
}
|
package/dist/types/SortType.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export type SortType = "Active" | "Hot" | "New" | "Old" | "TopDay" | "TopWeek" | "TopMonth" | "TopYear" | "TopAll" | "MostComments" | "NewComments" | "TopHour" | "TopSixHour" | "TopTwelveHour" | "TopThreeMonths" | "TopSixMonths" | "TopNineMonths";
|
1
|
+
export type SortType = "Active" | "Hot" | "New" | "Old" | "TopDay" | "TopWeek" | "TopMonth" | "TopYear" | "TopAll" | "MostComments" | "NewComments" | "TopHour" | "TopSixHour" | "TopTwelveHour" | "TopThreeMonths" | "TopSixMonths" | "TopNineMonths" | "Controversial";
|