Adding additional post sorts. (#153)

This commit is contained in:
Dessalines 2023-06-26 16:34:43 -04:00 committed by GitHub
parent 657c851cf3
commit ef5609dec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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";