Adding some 0.18.0 changes. (#138)

This commit is contained in:
Dessalines 2023-06-16 10:30:50 -04:00 committed by GitHub
parent 80bdd21eae
commit 4116422023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 4 deletions

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;
}