v0.17.0-rc.40

This commit is contained in:
Dessalines 2022-08-04 15:12:17 -04:00
parent 96879bf1b3
commit d80862cb2b
3 changed files with 10 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.39", "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

@ -212,6 +212,10 @@ export class CreateSite {
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose() @Expose()
default_post_listing_type: Option<string>; default_post_listing_type: Option<string>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
application_email_admins: Option<boolean>;
auth: string; auth: string;
constructor(init: CreateSite) { constructor(init: CreateSite) {
@ -284,6 +288,10 @@ export class EditSite {
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose() @Expose()
default_post_listing_type: Option<string>; default_post_listing_type: Option<string>;
@Transform(({ value }) => toOption(value), { toClassOnly: true })
@Transform(({ value }) => toUndefined(value), { toPlainOnly: true })
@Expose()
application_email_admins: Option<boolean>;
auth: string; auth: string;
constructor(init: EditSite) { constructor(init: EditSite) {

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;
} }
export class PrivateMessage { export class PrivateMessage {