v0.17.0-rc.40 (#72)

This commit is contained in:
Dessalines 2022-09-27 15:34:53 -04:00 committed by GitHub
parent f7d19d1aed
commit e57cd12ca8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

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

View file

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

View file

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