Adding additional post sorts.

This commit is contained in:
Dessalines 2023-06-26 16:31:49 -04:00
parent 657c851cf3
commit d39f123d62
4 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,6 @@ export interface CreateSite {
rate_limit_search_per_second?: number; rate_limit_search_per_second?: number;
federation_enabled?: boolean; federation_enabled?: boolean;
federation_debug?: boolean; federation_debug?: boolean;
federation_worker_count?: number;
captcha_enabled?: boolean; captcha_enabled?: boolean;
captcha_difficulty?: string; captcha_difficulty?: string;
allowed_instances?: Array<string>; allowed_instances?: Array<string>;

View file

@ -37,7 +37,6 @@ export interface EditSite {
rate_limit_search_per_second?: number; rate_limit_search_per_second?: number;
federation_enabled?: boolean; federation_enabled?: boolean;
federation_debug?: boolean; federation_debug?: boolean;
federation_worker_count?: number;
captcha_enabled?: boolean; captcha_enabled?: boolean;
captcha_difficulty?: string; captcha_difficulty?: string;
allowed_instances?: Array<string>; allowed_instances?: Array<string>;

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_worker_count: number;
captcha_enabled: boolean; captcha_enabled: boolean;
captcha_difficulty: string; captcha_difficulty: string;
published: string; published: string;

View file

@ -14,4 +14,7 @@ export type SortType =
| "NewComments" | "NewComments"
| "TopHour" | "TopHour"
| "TopSixHour" | "TopSixHour"
| "TopTwelveHour"; | "TopTwelveHour"
| "TopThreeMonths"
| "TopSixMonths"
| "TopNineMonths";