From 4a860ce2c2d5b6924c36f3429e6d6c523579bab7 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 22 Jul 2021 16:29:56 -0400 Subject: [PATCH] Feature/show post notifs (#24) * Show new post notifs to SaveUserSettings * v0.11.3-rc.1 * Forgot to add to localusersettings * v0.11.3-rc.2 --- package.json | 2 +- src/interfaces/api/person.ts | 1 + src/interfaces/source.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 089d48c..6a9acd5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lemmy-js-client", "description": "A javascript / typescript client for Lemmy", - "version": "0.11.0", + "version": "0.11.3-rc.2", "author": "Dessalines ", "license": "AGPL-3.0", "main": "./dist/index.js", diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index 90de1a2..ab35b76 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -56,6 +56,7 @@ export interface SaveUserSettings { bot_account?: boolean; show_bot_accounts?: boolean; show_read_posts?: boolean; + show_new_post_notifs?: boolean; auth: string; } diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index a19584a..e799ba5 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -12,6 +12,7 @@ export interface LocalUserSettings { show_bot_accounts: boolean; show_scores: boolean; show_read_posts: boolean; + show_new_post_notifs: boolean; } export interface PersonSafe {