lemmy-js-client 0.20.0-remove-aggregate-tables.3 → 0.20.0-remove-aggregate-tables.4

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
@@ -184,7 +184,6 @@ export { LocalSiteUrlBlocklist } from "./types/LocalSiteUrlBlocklist";
184
184
  export { LocalUser } from "./types/LocalUser";
185
185
  export { LocalUserId } from "./types/LocalUserId";
186
186
  export { LocalUserView } from "./types/LocalUserView";
187
- export { LocalUserVoteDisplayMode } from "./types/LocalUserVoteDisplayMode";
188
187
  export { LockPost } from "./types/LockPost";
189
188
  export { Login } from "./types/Login";
190
189
  export { LoginResponse } from "./types/LoginResponse";
@@ -93,4 +93,8 @@ export type LocalUser = {
93
93
  * Whether to hide posts containing images/videos
94
94
  */
95
95
  hide_media: boolean;
96
+ show_score: boolean;
97
+ show_upvotes: boolean;
98
+ show_downvotes: boolean;
99
+ show_upvote_percentage: boolean;
96
100
  };
@@ -1,11 +1,9 @@
1
1
  import type { LocalUser } from "./LocalUser";
2
- import type { LocalUserVoteDisplayMode } from "./LocalUserVoteDisplayMode";
3
2
  import type { Person } from "./Person";
4
3
  /**
5
4
  * A local user view.
6
5
  */
7
6
  export type LocalUserView = {
8
7
  local_user: LocalUser;
9
- local_user_vote_display_mode: LocalUserVoteDisplayMode;
10
8
  person: Person;
11
9
  };
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.20.0-remove-aggregate-tables.3",
4
+ "version": "0.20.0-remove-aggregate-tables.4",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,9 +0,0 @@
1
- /**
2
- * The vote display settings for your user.
3
- */
4
- export type LocalUserVoteDisplayMode = {
5
- score: boolean;
6
- upvotes: boolean;
7
- downvotes: boolean;
8
- upvote_percentage: boolean;
9
- };
@@ -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 });