From d39f123d62a83b39c053c2420033d773fc57df53 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 26 Jun 2023 16:31:49 -0400 Subject: [PATCH] Adding additional post sorts. --- src/types/CreateSite.ts | 1 - src/types/EditSite.ts | 1 - src/types/LocalSite.ts | 1 - src/types/SortType.ts | 5 ++++- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/types/CreateSite.ts b/src/types/CreateSite.ts index 2c9365e..592fffa 100644 --- a/src/types/CreateSite.ts +++ b/src/types/CreateSite.ts @@ -37,7 +37,6 @@ export interface CreateSite { rate_limit_search_per_second?: number; federation_enabled?: boolean; federation_debug?: boolean; - federation_worker_count?: number; captcha_enabled?: boolean; captcha_difficulty?: string; allowed_instances?: Array; diff --git a/src/types/EditSite.ts b/src/types/EditSite.ts index d5ce487..dfe2fc7 100644 --- a/src/types/EditSite.ts +++ b/src/types/EditSite.ts @@ -37,7 +37,6 @@ export interface EditSite { rate_limit_search_per_second?: number; federation_enabled?: boolean; federation_debug?: boolean; - federation_worker_count?: number; captcha_enabled?: boolean; captcha_difficulty?: string; allowed_instances?: Array; diff --git a/src/types/LocalSite.ts b/src/types/LocalSite.ts index 673782e..307a803 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_worker_count: number; captcha_enabled: boolean; captcha_difficulty: string; published: string; diff --git a/src/types/SortType.ts b/src/types/SortType.ts index f88bd26..23cc994 100644 --- a/src/types/SortType.ts +++ b/src/types/SortType.ts @@ -14,4 +14,7 @@ export type SortType = | "NewComments" | "TopHour" | "TopSixHour" - | "TopTwelveHour"; + | "TopTwelveHour" + | "TopThreeMonths" + | "TopSixMonths" + | "TopNineMonths";