mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Restore content on unban (#278)
* Updating remove_or_restore_data field. * 0.20.0-alpha.1 * 0.20.0-alpha.3 * 0.20.0-alpha.4
This commit is contained in:
parent
eb84a74b99
commit
6cec6f044a
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "lemmy-js-client",
|
||||
"description": "A javascript / typescript client for Lemmy",
|
||||
"version": "0.19.6-beta.1",
|
||||
"version": "0.20.0-alpha.4",
|
||||
"author": "Dessalines <tyhou13@gmx.com>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "./dist/index.js",
|
||||
|
|
|
@ -6,7 +6,7 @@ export interface BanFromCommunity {
|
|||
community_id: CommunityId;
|
||||
person_id: PersonId;
|
||||
ban: boolean;
|
||||
remove_data?: boolean;
|
||||
remove_or_restore_data?: boolean;
|
||||
reason?: string;
|
||||
expires?: number;
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ import type { PersonId } from "./PersonId";
|
|||
export interface BanPerson {
|
||||
person_id: PersonId;
|
||||
ban: boolean;
|
||||
remove_data?: boolean;
|
||||
remove_or_restore_data?: boolean;
|
||||
reason?: string;
|
||||
expires?: number;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue