Compare commits

...

1 commit

Author SHA1 Message Date
Dessalines
21634f8081 Adding some 0.18.0 changes. 2023-06-16 10:28:11 -04:00
7 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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