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:
Dessalines 2024-09-18 09:38:55 -04:00 committed by GitHub
parent eb84a74b99
commit 6cec6f044a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -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",

View file

@ -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;
}

View file

@ -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;
}