Merge branch 'main' into custom-fetchinator

This commit is contained in:
SleeplessOne1917 2023-06-20 17:59:05 +00:00 committed by GitHub
commit 389772ea75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"name": "lemmy-js-client",
"version": "0.17.2-rc.24",
"version": "0.18.0-rc.1",
"description": "A javascript / typescript client for Lemmy",
"repository": "https://github.com/LemmyNet/lemmy-js-client",
"license": "AGPL-3.0",

View file

@ -9,4 +9,5 @@ export interface CommentAggregates {
downvotes: number;
published: string;
child_count: number;
hot_rank: number;
}

View file

@ -12,4 +12,5 @@ export interface CommunityAggregates {
users_active_week: number;
users_active_month: number;
users_active_half_year: number;
hot_rank: number;
}

View file

@ -8,6 +8,5 @@ export interface GetCommunityResponse {
community_view: CommunityView;
site?: Site;
moderators: Array<CommunityModeratorView>;
online: number;
discussion_languages: Array<LanguageId>;
}

View file

@ -8,5 +8,4 @@ export interface GetPostResponse {
community_view: CommunityView;
moderators: Array<CommunityModeratorView>;
cross_posts: Array<PostView>;
online: number;
}

View file

@ -10,7 +10,6 @@ import type { Tagline } from "./Tagline";
export interface GetSiteResponse {
site_view: SiteView;
admins: Array<PersonView>;
online: number;
version: string;
my_user?: MyUserInfo;
all_languages: Array<Language>;

View file

@ -22,7 +22,6 @@ export interface LocalSite {
slur_filter_regex?: string;
actor_name_max_length: number;
federation_enabled: boolean;
federation_debug: boolean;
federation_worker_count: number;
captcha_enabled: boolean;
captcha_difficulty: string;

View file

@ -13,4 +13,6 @@ export interface PostAggregates {
newest_comment_time: string;
featured_community: boolean;
featured_local: boolean;
hot_rank: number;
hot_rank_active: number;
}