lemmy-js-client 1.0.0-beta.1 → 1.0.0-beta.2

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.js CHANGED
@@ -1068,7 +1068,7 @@ let LemmyHttp = class LemmyHttp extends LemmyController {
1068
1068
  * @summary Revoke a previously created registration invitation
1069
1069
  */
1070
1070
  async listRegistrationInvitations(form, options) {
1071
- return this.wrapper(HttpType.Get, "/account/invite", form, options);
1071
+ return this.wrapper(HttpType.Get, "/account/invite/list", form, options);
1072
1072
  }
1073
1073
  };
1074
1074
  exports.LemmyHttp = LemmyHttp;
@@ -15,4 +15,5 @@ export type CommentReport = {
15
15
  published_at: string;
16
16
  updated_at?: string;
17
17
  violates_instance_rules: boolean;
18
+ conclusion?: string;
18
19
  };
@@ -19,4 +19,5 @@ export type CommunityReport = {
19
19
  resolver_id?: PersonId;
20
20
  published_at: string;
21
21
  updated_at?: string;
22
+ conclusion?: string;
22
23
  };
@@ -1,3 +1,4 @@
1
+ import type { CommunityId } from "./CommunityId";
1
2
  import type { PaginationCursor } from "./PaginationCursor";
2
3
  import type { PersonListingType } from "./PersonListingType";
3
4
  import type { PersonSortType } from "./PersonSortType";
@@ -6,6 +7,7 @@ export type ListPersons = {
6
7
  sort?: PersonSortType;
7
8
  search_term?: string;
8
9
  search_title_only?: boolean;
10
+ community_id?: CommunityId;
9
11
  page_cursor?: PaginationCursor;
10
12
  limit?: number;
11
13
  };
@@ -1,3 +1,4 @@
1
+ import type { CommunityActions } from "./CommunityActions";
1
2
  import type { Person } from "./Person";
2
3
  import type { PersonActions } from "./PersonActions";
3
4
  /**
@@ -9,4 +10,5 @@ export type PersonView = {
9
10
  person_actions?: PersonActions;
10
11
  banned: boolean;
11
12
  ban_expires_at?: string;
13
+ community_actions?: CommunityActions;
12
14
  };
@@ -27,4 +27,5 @@ export type PostReport = {
27
27
  published_at: string;
28
28
  updated_at?: string;
29
29
  violates_instance_rules: boolean;
30
+ conclusion?: string;
30
31
  };
@@ -17,4 +17,5 @@ export type PrivateMessageReport = {
17
17
  resolver_id?: PersonId;
18
18
  published_at: string;
19
19
  updated_at?: string;
20
+ conclusion?: string;
20
21
  };
@@ -5,4 +5,5 @@ import type { CommentReportId } from "./CommentReportId";
5
5
  export type ResolveCommentReport = {
6
6
  report_id: CommentReportId;
7
7
  resolved: boolean;
8
+ conclusion?: string;
8
9
  };
@@ -5,4 +5,5 @@ import type { CommunityReportId } from "./CommunityReportId";
5
5
  export type ResolveCommunityReport = {
6
6
  report_id: CommunityReportId;
7
7
  resolved: boolean;
8
+ conclusion?: string;
8
9
  };
@@ -5,4 +5,5 @@ import type { PostReportId } from "./PostReportId";
5
5
  export type ResolvePostReport = {
6
6
  report_id: PostReportId;
7
7
  resolved: boolean;
8
+ conclusion?: string;
8
9
  };
@@ -5,4 +5,5 @@ import type { PrivateMessageReportId } from "./PrivateMessageReportId";
5
5
  export type ResolvePrivateMessageReport = {
6
6
  report_id: PrivateMessageReportId;
7
7
  resolved: boolean;
8
+ conclusion?: string;
8
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": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.2",
5
5
  "author": "Dessalines",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "typescript": "^6.0.0",
45
45
  "typescript-eslint": "^8.7.0"
46
46
  },
47
- "packageManager": "pnpm@11.9.0",
47
+ "packageManager": "pnpm@11.25.0",
48
48
  "types": "./dist/index.d.ts",
49
49
  "lint-staged": {
50
50
  "*.{ts,tsx,js}": [