v0.17.0-rc.40
This commit is contained in:
parent
96879bf1b3
commit
d80862cb2b
3 changed files with 10 additions and 1 deletions
|
@ -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",
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue