Compare commits

...

2 commits

Author SHA1 Message Date
Dessalines
eb923a7210 Merge branch 'main' into email_admins_for_new_applications 2022-09-27 15:34:34 -04:00
Dessalines
d80862cb2b v0.17.0-rc.40 2022-08-04 15:12:17 -04:00
3 changed files with 4 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{
"name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy",
"version": "0.17.0-rc.44",
"version": "0.17.0-rc.40",
"author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"main": "./dist/index.js",

View file

@ -220,6 +220,7 @@ export class CreateSite {
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
application_email_admins: Option<boolean>;
hide_modlog_mod_names: Option<boolean>;
auth: string;
constructor(init: CreateSite) {
@ -295,6 +296,7 @@ export class EditSite {
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
application_email_admins: Option<boolean>;
hide_modlog_mod_names: Option<boolean>;
auth: string;

View file

@ -111,6 +111,7 @@ export class Site {
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
legal_information: Option<string>;
application_email_admins: boolean;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()