mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
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;
|
online: number;
|
||||||
version: string;
|
version: string;
|
||||||
my_user?: UserSafeSettings; // Gives back your user and settings if logged in
|
my_user?: UserSafeSettings; // Gives back your user and settings if logged in
|
||||||
federated_instances: string[];
|
federated_instances?: FederatedInstances;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TransferSite {
|
export interface TransferSite {
|
||||||
|
@ -120,3 +120,9 @@ export interface SaveSiteConfig {
|
||||||
config_hjson: string;
|
config_hjson: string;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface FederatedInstances {
|
||||||
|
linked: string[];
|
||||||
|
allowed: string[];
|
||||||
|
blocked: string[];
|
||||||
|
}
|
||||||
|
|
|
@ -73,6 +73,7 @@ export enum SortType {
|
||||||
TopMonth = 'TopMonth',
|
TopMonth = 'TopMonth',
|
||||||
TopYear = 'TopYear',
|
TopYear = 'TopYear',
|
||||||
TopAll = 'TopAll',
|
TopAll = 'TopAll',
|
||||||
|
MostComments = 'MostComments',
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum ListingType {
|
export enum ListingType {
|
||||||
|
|
Loading…
Reference in a new issue