mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 20:31:12 +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",
|
"name": "lemmy-js-client",
|
||||||
"description": "A javascript / typescript client for Lemmy",
|
"description": "A javascript / typescript client for Lemmy",
|
||||||
"version": "0.19.6-beta.1",
|
"version": "0.20.0-alpha.4",
|
||||||
"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",
|
||||||
|
|
|
@ -6,7 +6,7 @@ export interface BanFromCommunity {
|
||||||
community_id: CommunityId;
|
community_id: CommunityId;
|
||||||
person_id: PersonId;
|
person_id: PersonId;
|
||||||
ban: boolean;
|
ban: boolean;
|
||||||
remove_data?: boolean;
|
remove_or_restore_data?: boolean;
|
||||||
reason?: string;
|
reason?: string;
|
||||||
expires?: number;
|
expires?: number;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ import type { PersonId } from "./PersonId";
|
||||||
export interface BanPerson {
|
export interface BanPerson {
|
||||||
person_id: PersonId;
|
person_id: PersonId;
|
||||||
ban: boolean;
|
ban: boolean;
|
||||||
remove_data?: boolean;
|
remove_or_restore_data?: boolean;
|
||||||
reason?: string;
|
reason?: string;
|
||||||
expires?: number;
|
expires?: number;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue