mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-01-01 15:51:27 +00:00
Adding mark multiple posts as read, and other API changes.
This commit is contained in:
parent
b58fbb51e0
commit
7b6f497c46
7 changed files with 5 additions and 18 deletions
|
@ -9,6 +9,4 @@ export interface CommentAggregates {
|
|||
downvotes: /* integer */ number;
|
||||
published: string;
|
||||
child_count: number;
|
||||
hot_rank: number;
|
||||
controversy_rank: number;
|
||||
}
|
||||
|
|
|
@ -12,5 +12,4 @@ export interface CommunityAggregates {
|
|||
users_active_week: /* integer */ number;
|
||||
users_active_month: /* integer */ number;
|
||||
users_active_half_year: /* integer */ number;
|
||||
hot_rank: number;
|
||||
}
|
||||
|
|
|
@ -18,4 +18,6 @@ export interface LocalSiteRateLimit {
|
|||
search_per_second: number;
|
||||
published: string;
|
||||
updated?: string;
|
||||
import_user_settings: number;
|
||||
import_user_settings_per_second: number;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ export interface LocalUser {
|
|||
show_scores: boolean;
|
||||
show_bot_accounts: boolean;
|
||||
show_read_posts: boolean;
|
||||
show_new_post_notifs: boolean;
|
||||
email_verified: boolean;
|
||||
accepted_application: boolean;
|
||||
open_links_in_new_tab: boolean;
|
||||
|
@ -29,4 +28,5 @@ export interface LocalUser {
|
|||
admin: boolean;
|
||||
post_listing_mode: PostListingMode;
|
||||
totp_2fa_enabled: boolean;
|
||||
enable_keyboard_navigation: boolean;
|
||||
}
|
||||
|
|
|
@ -3,5 +3,6 @@ import type { PostId } from "./PostId";
|
|||
|
||||
export interface MarkPostAsRead {
|
||||
post_id: PostId;
|
||||
post_ids: Array<PostId>;
|
||||
read: boolean;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { CommunityId } from "./CommunityId";
|
||||
import type { InstanceId } from "./InstanceId";
|
||||
import type { PersonId } from "./PersonId";
|
||||
import type { PostId } from "./PostId";
|
||||
|
||||
export interface PostAggregates {
|
||||
|
@ -12,15 +9,4 @@ export interface PostAggregates {
|
|||
upvotes: /* integer */ number;
|
||||
downvotes: /* integer */ number;
|
||||
published: string;
|
||||
newest_comment_time_necro: string;
|
||||
newest_comment_time: string;
|
||||
featured_community: boolean;
|
||||
featured_local: boolean;
|
||||
hot_rank: number;
|
||||
hot_rank_active: number;
|
||||
community_id: CommunityId;
|
||||
creator_id: PersonId;
|
||||
controversy_rank: number;
|
||||
instance_id: InstanceId;
|
||||
scaled_rank: number;
|
||||
}
|
||||
|
|
|
@ -27,4 +27,5 @@ export interface SaveUserSettings {
|
|||
discussion_languages?: Array<LanguageId>;
|
||||
open_links_in_new_tab?: boolean;
|
||||
infinite_scroll_enabled?: boolean;
|
||||
enable_keyboard_navigation?: boolean;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue