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 +1 -1
- package/dist/types/CommentReport.d.ts +1 -0
- package/dist/types/CommunityReport.d.ts +1 -0
- package/dist/types/ListPersons.d.ts +2 -0
- package/dist/types/PersonView.d.ts +2 -0
- package/dist/types/PostReport.d.ts +1 -0
- package/dist/types/PrivateMessageReport.d.ts +1 -0
- package/dist/types/ResolveCommentReport.d.ts +1 -0
- package/dist/types/ResolveCommunityReport.d.ts +1 -0
- package/dist/types/ResolvePostReport.d.ts +1 -0
- package/dist/types/ResolvePrivateMessageReport.d.ts +1 -0
- package/package.json +2 -2
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;
|
|
@@ -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
|
};
|
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.
|
|
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.
|
|
47
|
+
"packageManager": "pnpm@11.25.0",
|
|
48
48
|
"types": "./dist/index.d.ts",
|
|
49
49
|
"lint-staged": {
|
|
50
50
|
"*.{ts,tsx,js}": [
|