diff --git a/package.json b/package.json index 94106b4..137d4ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lemmy-js-client", - "version": "0.18.1", + "version": "0.18.3-rc.2", "description": "A javascript / typescript client for Lemmy", "repository": "https://github.com/LemmyNet/lemmy-js-client", "license": "AGPL-3.0", diff --git a/src/types/GetPosts.ts b/src/types/GetPosts.ts index 5198bfa..d00b539 100644 --- a/src/types/GetPosts.ts +++ b/src/types/GetPosts.ts @@ -11,5 +11,6 @@ export interface GetPosts { community_id?: CommunityId; community_name?: string; saved_only?: boolean; + moderator_view?: boolean; auth?: string; } diff --git a/src/types/LocalUser.ts b/src/types/LocalUser.ts index f3e7a7e..4ede2c7 100644 --- a/src/types/LocalUser.ts +++ b/src/types/LocalUser.ts @@ -9,6 +9,8 @@ export interface LocalUser { person_id: PersonId; email?: string; show_nsfw: boolean; + blur_nsfw: boolean; + auto_expand: boolean; theme: string; default_sort_type: SortType; default_listing_type: ListingType; diff --git a/src/types/SaveUserSettings.ts b/src/types/SaveUserSettings.ts index ac81a07..244137a 100644 --- a/src/types/SaveUserSettings.ts +++ b/src/types/SaveUserSettings.ts @@ -5,6 +5,8 @@ import type { SortType } from "./SortType"; export interface SaveUserSettings { show_nsfw?: boolean; + blur_nsfw?: boolean; + auto_expand?: boolean; show_scores?: boolean; theme?: string; default_sort_type?: SortType;