From dcb849bdd969dc1f9eaf53812e8ad02711f17b14 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 16 Feb 2023 21:06:56 -0500 Subject: [PATCH] Adding email admins for new reports. (#105) * Adding email admins for new reports. * v0.17.2-rc.1 --- package.json | 2 +- src/interfaces/api/site.ts | 2 ++ src/interfaces/source.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 920a6be..f572c33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lemmy-js-client", - "version": "0.17.0-rc.62", + "version": "0.17.2-rc.1", "description": "A javascript / typescript client for Lemmy", "repository": "https://github.com/LemmyNet/lemmy-js-client", "license": "AGPL-3.0", diff --git a/src/interfaces/api/site.ts b/src/interfaces/api/site.ts index d8fd8bb..e170267 100644 --- a/src/interfaces/api/site.ts +++ b/src/interfaces/api/site.ts @@ -101,6 +101,7 @@ export interface CreateSite { default_theme?: string; default_post_listing_type?: string; application_email_admins?: boolean; + reports_email_admins?: boolean; hide_modlog_mod_names?: boolean; discussion_languages?: number[]; legal_information?: string; @@ -146,6 +147,7 @@ export interface EditSite { default_post_listing_type?: string; legal_information?: string; application_email_admins?: boolean; + reports_email_admins?: boolean; hide_modlog_mod_names?: boolean; discussion_languages?: number[]; slur_filter_regex?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index eb278c2..69d5d97 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -79,6 +79,7 @@ export interface LocalSite { legal_information?: string; hide_modlog_mod_names: boolean; application_email_admins: boolean; + reports_email_admins: boolean; slur_filter_regex?: string; actor_name_max_length: number; federation_enabled: boolean;