lemmy-js-client 1.0.0-merge-modlog-tables.6 → 1.0.0-merge-modlog-tables.9

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
@@ -6,7 +6,6 @@ import { AddModToCommunity } from "./types/AddModToCommunity";
6
6
  import { AddModToCommunityResponse } from "./types/AddModToCommunityResponse";
7
7
  import { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
8
8
  import { BanFromCommunity } from "./types/BanFromCommunity";
9
- import { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
10
9
  import { MarkManyPostsAsRead } from "./types/MarkManyPostsAsRead";
11
10
  import { BanPerson } from "./types/BanPerson";
12
11
  import { BlockCommunity } from "./types/BlockCommunity";
@@ -302,7 +301,7 @@ export declare class LemmyHttp extends Controller {
302
301
  /**
303
302
  * @summary Ban a user from a community.
304
303
  */
305
- banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise<BanFromCommunityResponse>;
304
+ banFromCommunity(form: BanFromCommunity, options?: RequestOptions): Promise<PersonResponse>;
306
305
  /**
307
306
  * @summary Add a moderator to your community.
308
307
  */
package/dist/index.d.ts CHANGED
@@ -14,7 +14,6 @@ export { ApproveCommunityPendingFollower } from "./types/ApproveCommunityPending
14
14
  export { ApproveRegistrationApplication } from "./types/ApproveRegistrationApplication";
15
15
  export { AuthenticateWithOauth } from "./types/AuthenticateWithOauth";
16
16
  export { BanFromCommunity } from "./types/BanFromCommunity";
17
- export { BanFromCommunityResponse } from "./types/BanFromCommunityResponse";
18
17
  export { BanPerson } from "./types/BanPerson";
19
18
  export { BlockCommunity } from "./types/BlockCommunity";
20
19
  export { BlockPerson } from "./types/BlockPerson";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * A list of possible types for the inbox.
3
3
  */
4
- export type NotificationDataType = "all" | "reply" | "mention" | "private_message" | "subscribed";
4
+ export type NotificationDataType = "all" | "reply" | "mention" | "private_message" | "subscribed" | "mod_action";
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": "1.0.0-merge-modlog-tables.6",
4
+ "version": "1.0.0-merge-modlog-tables.9",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -1,8 +0,0 @@
1
- import type { PersonView } from "./PersonView";
2
- /**
3
- * The response for banning a user from a community.
4
- */
5
- export type BanFromCommunityResponse = {
6
- person_view: PersonView;
7
- banned: boolean;
8
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });