mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 15:51:12 +00:00
Merge branch 'main' into update_prettier_3_0_0
This commit is contained in:
commit
ef5757dab5
4 changed files with 6 additions and 1 deletions
|
@ -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",
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue