lemmy-js-client 0.19.0-rc.3 → 0.19.0-rc.7

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
@@ -194,6 +194,7 @@ export { PostFeatureType } from "./types/PostFeatureType";
194
194
  export { PostId } from "./types/PostId";
195
195
  export { PostJoin } from "./types/PostJoin";
196
196
  export { PostJoinResponse } from "./types/PostJoinResponse";
197
+ export { PostListingMode } from "./types/PostListingMode";
197
198
  export { PostOrCommentId } from "./types/PostOrCommentId";
198
199
  export { PostReport } from "./types/PostReport";
199
200
  export { PostReportId } from "./types/PostReportId";
@@ -1,6 +1,6 @@
1
- import type { LocalUserId } from "./LocalUserId";
1
+ import type { PersonId } from "./PersonId";
2
2
  export interface AddAdmin {
3
- local_user_id: LocalUserId;
3
+ person_id: PersonId;
4
4
  added: boolean;
5
5
  auth: string;
6
6
  }
@@ -1,6 +1,7 @@
1
1
  import type { ListingType } from "./ListingType";
2
2
  import type { LocalUserId } from "./LocalUserId";
3
3
  import type { PersonId } from "./PersonId";
4
+ import type { PostListingMode } from "./PostListingMode";
4
5
  import type { SortType } from "./SortType";
5
6
  export interface LocalUser {
6
7
  id: LocalUserId;
@@ -26,4 +27,5 @@ export interface LocalUser {
26
27
  auto_expand: boolean;
27
28
  infinite_scroll_enabled: boolean;
28
29
  admin: boolean;
30
+ post_listing_mode: PostListingMode;
29
31
  }
@@ -0,0 +1 @@
1
+ export type PostListingMode = "List" | "Card" | "SmallCard";
@@ -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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
- "version": "0.19.0-rc.3",
3
+ "version": "0.19.0-rc.7",
4
4
  "description": "A javascript / typescript client for Lemmy",
5
5
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",