lemmy-js-client 0.19.5-alpha.1 → 0.20.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -111,7 +111,6 @@ export { GetUnreadCountResponse } from "./types/GetUnreadCountResponse";
111
111
  export { GetUnreadRegistrationApplicationCountResponse } from "./types/GetUnreadRegistrationApplicationCountResponse";
112
112
  export { HideCommunity } from "./types/HideCommunity";
113
113
  export { HidePost } from "./types/HidePost";
114
- export { ImageDetails } from "./types/ImageDetails";
115
114
  export { Instance } from "./types/Instance";
116
115
  export { InstanceBlockView } from "./types/InstanceBlockView";
117
116
  export { InstanceId } from "./types/InstanceId";
@@ -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
  }
@@ -1,5 +1,4 @@
1
1
  import type { Community } from "./Community";
2
- import type { ImageDetails } from "./ImageDetails";
3
2
  import type { Person } from "./Person";
4
3
  import type { Post } from "./Post";
5
4
  import type { PostAggregates } from "./PostAggregates";
@@ -8,7 +7,6 @@ export interface PostView {
8
7
  post: Post;
9
8
  creator: Person;
10
9
  community: Community;
11
- image_details?: ImageDetails;
12
10
  creator_banned_from_community: boolean;
13
11
  banned_from_community: boolean;
14
12
  creator_is_moderator: boolean;
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.5-alpha.1",
4
+ "version": "0.20.0-alpha.1",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,6 +0,0 @@
1
- export interface ImageDetails {
2
- link: string;
3
- width: number;
4
- height: number;
5
- content_type: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });