mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 20:31:12 +00:00
Adding some 0.18.0 changes.
This commit is contained in:
parent
80bdd21eae
commit
21634f8081
7 changed files with 4 additions and 4 deletions
|
@ -9,4 +9,5 @@ export interface CommentAggregates {
|
||||||
downvotes: number;
|
downvotes: number;
|
||||||
published: string;
|
published: string;
|
||||||
child_count: number;
|
child_count: number;
|
||||||
|
hot_rank: number;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,4 +12,5 @@ export interface CommunityAggregates {
|
||||||
users_active_week: number;
|
users_active_week: number;
|
||||||
users_active_month: number;
|
users_active_month: number;
|
||||||
users_active_half_year: number;
|
users_active_half_year: number;
|
||||||
|
hot_rank: number;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,5 @@ export interface GetCommunityResponse {
|
||||||
community_view: CommunityView;
|
community_view: CommunityView;
|
||||||
site?: Site;
|
site?: Site;
|
||||||
moderators: Array<CommunityModeratorView>;
|
moderators: Array<CommunityModeratorView>;
|
||||||
online: number;
|
|
||||||
discussion_languages: Array<LanguageId>;
|
discussion_languages: Array<LanguageId>;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,4 @@ export interface GetPostResponse {
|
||||||
community_view: CommunityView;
|
community_view: CommunityView;
|
||||||
moderators: Array<CommunityModeratorView>;
|
moderators: Array<CommunityModeratorView>;
|
||||||
cross_posts: Array<PostView>;
|
cross_posts: Array<PostView>;
|
||||||
online: number;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,6 @@ import type { Tagline } from "./Tagline";
|
||||||
export interface GetSiteResponse {
|
export interface GetSiteResponse {
|
||||||
site_view: SiteView;
|
site_view: SiteView;
|
||||||
admins: Array<PersonView>;
|
admins: Array<PersonView>;
|
||||||
online: number;
|
|
||||||
version: string;
|
version: string;
|
||||||
my_user?: MyUserInfo;
|
my_user?: MyUserInfo;
|
||||||
all_languages: Array<Language>;
|
all_languages: Array<Language>;
|
||||||
|
|
|
@ -22,7 +22,6 @@ export interface LocalSite {
|
||||||
slur_filter_regex?: string;
|
slur_filter_regex?: string;
|
||||||
actor_name_max_length: number;
|
actor_name_max_length: number;
|
||||||
federation_enabled: boolean;
|
federation_enabled: boolean;
|
||||||
federation_debug: boolean;
|
|
||||||
federation_worker_count: number;
|
federation_worker_count: number;
|
||||||
captcha_enabled: boolean;
|
captcha_enabled: boolean;
|
||||||
captcha_difficulty: string;
|
captcha_difficulty: string;
|
||||||
|
|
|
@ -13,4 +13,6 @@ export interface PostAggregates {
|
||||||
newest_comment_time: string;
|
newest_comment_time: string;
|
||||||
featured_community: boolean;
|
featured_community: boolean;
|
||||||
featured_local: boolean;
|
featured_local: boolean;
|
||||||
|
hot_rank: number;
|
||||||
|
hot_rank_active: number;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue