New comment sort (#5)

* Adding NewComments sort.

* v0.9.8-rc.3
This commit is contained in:
Dessalines 2021-02-18 10:54:10 -05:00 committed by GitHub
parent a564816fe5
commit 85f19d28da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy",
"version": "0.9.4",
"version": "0.9.8-rc.3",
"author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"main": "./dist/index.js",

View file

@ -27,6 +27,7 @@ export interface PostAggregates {
score: number;
upvotes: number;
downvotes: number;
newest_comment_time_necro: string;
newest_comment_time: string;
}

View file

@ -74,6 +74,7 @@ export enum SortType {
TopYear = 'TopYear',
TopAll = 'TopAll',
MostComments = 'MostComments',
NewComments = 'NewComments',
}
export enum ListingType {