mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
Merge branch 'main' into custom-fetchinator
This commit is contained in:
commit
389772ea75
8 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lemmy-js-client",
|
"name": "lemmy-js-client",
|
||||||
"version": "0.17.2-rc.24",
|
"version": "0.18.0-rc.1",
|
||||||
"description": "A javascript / typescript client for Lemmy",
|
"description": "A javascript / typescript client for Lemmy",
|
||||||
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
"repository": "https://github.com/LemmyNet/lemmy-js-client",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
|
|
@ -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