From 21634f8081c50f25b28d405c0263a99eda0de146 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 16 Jun 2023 10:28:11 -0400 Subject: [PATCH] Adding some 0.18.0 changes. --- src/types/CommentAggregates.ts | 1 + src/types/CommunityAggregates.ts | 1 + src/types/GetCommunityResponse.ts | 1 - src/types/GetPostResponse.ts | 1 - src/types/GetSiteResponse.ts | 1 - src/types/LocalSite.ts | 1 - src/types/PostAggregates.ts | 2 ++ 7 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/types/CommentAggregates.ts b/src/types/CommentAggregates.ts index b766119..df415d0 100644 --- a/src/types/CommentAggregates.ts +++ b/src/types/CommentAggregates.ts @@ -9,4 +9,5 @@ export interface CommentAggregates { downvotes: number; published: string; child_count: number; + hot_rank: number; } diff --git a/src/types/CommunityAggregates.ts b/src/types/CommunityAggregates.ts index 733ad5b..84f1382 100644 --- a/src/types/CommunityAggregates.ts +++ b/src/types/CommunityAggregates.ts @@ -12,4 +12,5 @@ export interface CommunityAggregates { users_active_week: number; users_active_month: number; users_active_half_year: number; + hot_rank: number; } diff --git a/src/types/GetCommunityResponse.ts b/src/types/GetCommunityResponse.ts index cbbfbd9..1ecf24d 100644 --- a/src/types/GetCommunityResponse.ts +++ b/src/types/GetCommunityResponse.ts @@ -8,6 +8,5 @@ export interface GetCommunityResponse { community_view: CommunityView; site?: Site; moderators: Array; - online: number; discussion_languages: Array; } diff --git a/src/types/GetPostResponse.ts b/src/types/GetPostResponse.ts index a0697cc..6209747 100644 --- a/src/types/GetPostResponse.ts +++ b/src/types/GetPostResponse.ts @@ -8,5 +8,4 @@ export interface GetPostResponse { community_view: CommunityView; moderators: Array; cross_posts: Array; - online: number; } diff --git a/src/types/GetSiteResponse.ts b/src/types/GetSiteResponse.ts index 06b336b..ea13890 100644 --- a/src/types/GetSiteResponse.ts +++ b/src/types/GetSiteResponse.ts @@ -10,7 +10,6 @@ import type { Tagline } from "./Tagline"; export interface GetSiteResponse { site_view: SiteView; admins: Array; - online: number; version: string; my_user?: MyUserInfo; all_languages: Array; diff --git a/src/types/LocalSite.ts b/src/types/LocalSite.ts index 182f3c2..673782e 100644 --- a/src/types/LocalSite.ts +++ b/src/types/LocalSite.ts @@ -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; diff --git a/src/types/PostAggregates.ts b/src/types/PostAggregates.ts index c9b0996..2817815 100644 --- a/src/types/PostAggregates.ts +++ b/src/types/PostAggregates.ts @@ -13,4 +13,6 @@ export interface PostAggregates { newest_comment_time: string; featured_community: boolean; featured_local: boolean; + hot_rank: number; + hot_rank_active: number; }