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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -111,6 +111,7 @@ 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";
114
115
  export { Instance } from "./types/Instance";
115
116
  export { InstanceBlockView } from "./types/InstanceBlockView";
116
117
  export { InstanceId } from "./types/InstanceId";
@@ -0,0 +1,6 @@
1
+ export interface ImageDetails {
2
+ link: string;
3
+ width: number;
4
+ height: number;
5
+ content_type: string;
6
+ }
@@ -0,0 +1,3 @@
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 });
@@ -1,4 +1,5 @@
1
1
  import type { Community } from "./Community";
2
+ import type { ImageDetails } from "./ImageDetails";
2
3
  import type { Person } from "./Person";
3
4
  import type { Post } from "./Post";
4
5
  import type { PostAggregates } from "./PostAggregates";
@@ -7,6 +8,7 @@ export interface PostView {
7
8
  post: Post;
8
9
  creator: Person;
9
10
  community: Community;
11
+ image_details?: ImageDetails;
10
12
  creator_banned_from_community: boolean;
11
13
  banned_from_community: boolean;
12
14
  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.4",
4
+ "version": "0.19.5-alpha.1",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",