v0.17.0-rc.19

This commit is contained in:
Dessalines 2022-06-13 23:57:30 -04:00
parent 87266573fd
commit f2b52372ab
2 changed files with 2 additions and 6 deletions

View file

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

View file

@ -306,16 +306,12 @@ export class GetSiteResponse {
/**
* Your user info, such as blocks, follows, etc.
*/
export class MyUserInfo {
export interface MyUserInfo {
local_user_view: LocalUserSettingsView;
follows: CommunityFollowerView[];
moderates: CommunityModeratorView[];
community_blocks: CommunityBlockView[];
person_blocks: PersonBlockView[];
constructor(init: MyUserInfo) {
Object.assign(this, init);
}
}
export class LeaveAdmin {