lemmy-js-client 0.19.4-alpha.13 → 0.19.4-alpha.14

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/http.d.ts CHANGED
@@ -132,8 +132,6 @@ import { ListPostLikesResponse } from "./types/ListPostLikesResponse";
132
132
  import { ListCommentLikes } from "./types/ListCommentLikes";
133
133
  import { ListCommentLikesResponse } from "./types/ListCommentLikesResponse";
134
134
  import { HidePost } from "./types/HidePost";
135
- import { ListMedia } from "./types/ListMedia";
136
- import { ListMediaResponse } from "./types/ListMediaResponse";
137
135
  /**
138
136
  * Helps build lemmy HTTP requests.
139
137
  */
@@ -207,18 +205,6 @@ export declare class LemmyHttp {
207
205
  * `HTTP.GET /user/validate_auth`
208
206
  */
209
207
  validateAuth(): Promise<SuccessResponse>;
210
- /**
211
- * List all the media for your user
212
- *
213
- * `HTTP.GET /account/list_media`
214
- */
215
- listMedia(form?: ListMedia): Promise<ListMediaResponse>;
216
- /**
217
- * List all the media known to your instance.
218
- *
219
- * `HTTP.GET /admin/list_all_media`
220
- */
221
- listAllMedia(form?: ListMedia): Promise<ListMediaResponse>;
222
208
  /**
223
209
  * Enable / Disable TOTP / two-factor authentication.
224
210
  *
package/dist/http.js CHANGED
@@ -128,22 +128,6 @@ class LemmyHttp {
128
128
  validateAuth() {
129
129
  return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/user/validate_auth", {});
130
130
  }
131
- /**
132
- * List all the media for your user
133
- *
134
- * `HTTP.GET /account/list_media`
135
- */
136
- listMedia(form = {}) {
137
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/list_media", form);
138
- }
139
- /**
140
- * List all the media known to your instance.
141
- *
142
- * `HTTP.GET /admin/list_all_media`
143
- */
144
- listAllMedia(form = {}) {
145
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/admin/list_all_media", form);
146
- }
147
131
  /**
148
132
  * Enable / Disable TOTP / two-factor authentication.
149
133
  *
package/dist/index.d.ts CHANGED
@@ -125,8 +125,6 @@ export { ListCommentReports } from "./types/ListCommentReports";
125
125
  export { ListCommentReportsResponse } from "./types/ListCommentReportsResponse";
126
126
  export { ListCommunities } from "./types/ListCommunities";
127
127
  export { ListCommunitiesResponse } from "./types/ListCommunitiesResponse";
128
- export { ListMedia } from "./types/ListMedia";
129
- export { ListMediaResponse } from "./types/ListMediaResponse";
130
128
  export { ListPostLikes } from "./types/ListPostLikes";
131
129
  export { ListPostLikesResponse } from "./types/ListPostLikesResponse";
132
130
  export { ListPostReports } from "./types/ListPostReports";
@@ -136,7 +134,6 @@ export { ListPrivateMessageReportsResponse } from "./types/ListPrivateMessageRep
136
134
  export { ListRegistrationApplications } from "./types/ListRegistrationApplications";
137
135
  export { ListRegistrationApplicationsResponse } from "./types/ListRegistrationApplicationsResponse";
138
136
  export { ListingType } from "./types/ListingType";
139
- export { LocalImage } from "./types/LocalImage";
140
137
  export { LocalSite } from "./types/LocalSite";
141
138
  export { LocalSiteId } from "./types/LocalSiteId";
142
139
  export { LocalSiteRateLimit } from "./types/LocalSiteRateLimit";
@@ -14,7 +14,6 @@ export interface CommentReplyView {
14
14
  recipient: Person;
15
15
  counts: CommentAggregates;
16
16
  creator_banned_from_community: boolean;
17
- banned_from_community: boolean;
18
17
  creator_is_moderator: boolean;
19
18
  creator_is_admin: boolean;
20
19
  subscribed: SubscribedType;
@@ -14,7 +14,6 @@ export interface PersonMentionView {
14
14
  recipient: Person;
15
15
  counts: CommentAggregates;
16
16
  creator_banned_from_community: boolean;
17
- banned_from_community: boolean;
18
17
  creator_is_moderator: boolean;
19
18
  creator_is_admin: boolean;
20
19
  subscribed: SubscribedType;
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-alpha.13",
4
+ "version": "0.19.4-alpha.14",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,4 +0,0 @@
1
- export interface ListMedia {
2
- page?: number;
3
- limit?: number;
4
- }
@@ -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 });
@@ -1,4 +0,0 @@
1
- import type { LocalImage } from "./LocalImage";
2
- export interface ListMediaResponse {
3
- images: Array<LocalImage>;
4
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { LocalUserId } from "./LocalUserId";
2
- export interface LocalImage {
3
- local_user_id?: LocalUserId;
4
- pictrs_alias: string;
5
- pictrs_delete_token: string;
6
- published: string;
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });