Adding MostComments sort, and FederatedInstances
This commit is contained in:
parent
30a53b7c3f
commit
46abc4db80
2 changed files with 8 additions and 1 deletions
|
@ -100,7 +100,7 @@ export interface GetSiteResponse {
|
|||
online: number;
|
||||
version: string;
|
||||
my_user?: UserSafeSettings; // Gives back your user and settings if logged in
|
||||
federated_instances: string[];
|
||||
federated_instances?: FederatedInstances;
|
||||
}
|
||||
|
||||
export interface TransferSite {
|
||||
|
@ -120,3 +120,9 @@ export interface SaveSiteConfig {
|
|||
config_hjson: string;
|
||||
auth: string;
|
||||
}
|
||||
|
||||
export interface FederatedInstances {
|
||||
linked: string[];
|
||||
allowed: string[];
|
||||
blocked: string[];
|
||||
}
|
||||
|
|
|
@ -73,6 +73,7 @@ export enum SortType {
|
|||
TopMonth = 'TopMonth',
|
||||
TopYear = 'TopYear',
|
||||
TopAll = 'TopAll',
|
||||
MostComments = 'MostComments',
|
||||
}
|
||||
|
||||
export enum ListingType {
|
||||
|
|
Loading…
Reference in a new issue