diff --git a/package.json b/package.json index f1cffb8..eee3213 100644 --- a/package.json +++ b/package.json @@ -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 ", "license": "AGPL-3.0", "main": "./dist/index.js", diff --git a/src/interfaces/aggregates.ts b/src/interfaces/aggregates.ts index 2d4f393..01f5af7 100644 --- a/src/interfaces/aggregates.ts +++ b/src/interfaces/aggregates.ts @@ -27,6 +27,7 @@ export interface PostAggregates { score: number; upvotes: number; downvotes: number; + newest_comment_time_necro: string; newest_comment_time: string; } diff --git a/src/interfaces/others.ts b/src/interfaces/others.ts index 6a3aa28..03b7f3d 100644 --- a/src/interfaces/others.ts +++ b/src/interfaces/others.ts @@ -74,6 +74,7 @@ export enum SortType { TopYear = 'TopYear', TopAll = 'TopAll', MostComments = 'MostComments', + NewComments = 'NewComments', } export enum ListingType {