Merge branch 'main' into update_prettier_3_0_0

This commit is contained in:
SleeplessOne1917 2023-07-14 20:46:40 +00:00 committed by GitHub
commit ef5757dab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "lemmy-js-client", "name": "lemmy-js-client",
"version": "0.18.1", "version": "0.18.3-rc.2",
"description": "A javascript / typescript client for Lemmy", "description": "A javascript / typescript client for Lemmy",
"repository": "https://github.com/LemmyNet/lemmy-js-client", "repository": "https://github.com/LemmyNet/lemmy-js-client",
"license": "AGPL-3.0", "license": "AGPL-3.0",

View file

@ -11,5 +11,6 @@ export interface GetPosts {
community_id?: CommunityId; community_id?: CommunityId;
community_name?: string; community_name?: string;
saved_only?: boolean; saved_only?: boolean;
moderator_view?: boolean;
auth?: string; auth?: string;
} }

View file

@ -9,6 +9,8 @@ export interface LocalUser {
person_id: PersonId; person_id: PersonId;
email?: string; email?: string;
show_nsfw: boolean; show_nsfw: boolean;
blur_nsfw: boolean;
auto_expand: boolean;
theme: string; theme: string;
default_sort_type: SortType; default_sort_type: SortType;
default_listing_type: ListingType; default_listing_type: ListingType;

View file

@ -5,6 +5,8 @@ import type { SortType } from "./SortType";
export interface SaveUserSettings { export interface SaveUserSettings {
show_nsfw?: boolean; show_nsfw?: boolean;
blur_nsfw?: boolean;
auto_expand?: boolean;
show_scores?: boolean; show_scores?: boolean;
theme?: string; theme?: string;
default_sort_type?: SortType; default_sort_type?: SortType;