lemmy-js-client 0.19.6-beta.1 → 0.20.0-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ export interface BanFromCommunity {
4
4
  community_id: CommunityId;
5
5
  person_id: PersonId;
6
6
  ban: boolean;
7
- remove_data?: boolean;
7
+ remove_or_restore_data?: boolean;
8
8
  reason?: string;
9
9
  expires?: number;
10
10
  }
@@ -2,7 +2,7 @@ import type { PersonId } from "./PersonId";
2
2
  export interface BanPerson {
3
3
  person_id: PersonId;
4
4
  ban: boolean;
5
- remove_data?: boolean;
5
+ remove_or_restore_data?: boolean;
6
6
  reason?: string;
7
7
  expires?: number;
8
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.19.6-beta.1",
4
+ "version": "0.20.0-alpha.2",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "typescript": "^5.5.4",
36
36
  "typescript-eslint": "^8.0.0"
37
37
  },
38
- "packageManager": "pnpm@9.6.0",
38
+ "packageManager": "pnpm@9.9.0",
39
39
  "types": "./dist/index.d.ts",
40
40
  "lint-staged": {
41
41
  "*.{ts,tsx,js}": [