lemmy-js-client 1.0.0-dont-return-actions.0 → 1.0.0-dont-return-actions.1
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/types/CommentReplyView.d.ts +2 -3
- package/dist/types/CommentReportView.d.ts +0 -1
- package/dist/types/LocalUserView.d.ts +1 -2
- package/dist/types/PersonCommentMentionView.d.ts +2 -3
- package/dist/types/PersonPostMentionView.d.ts +2 -3
- package/dist/types/PersonView.d.ts +0 -3
- package/dist/types/PostReportView.d.ts +0 -1
- package/package.json +1 -1
@@ -22,11 +22,10 @@ export type CommentReplyView = {
|
|
22
22
|
comment_actions?: CommentActions;
|
23
23
|
person_actions?: PersonActions;
|
24
24
|
instance_actions?: InstanceActions;
|
25
|
-
creator_home_instance_actions?: InstanceActions;
|
26
|
-
creator_local_instance_actions?: InstanceActions;
|
27
|
-
creator_community_actions?: CommunityActions;
|
28
25
|
creator_is_admin: boolean;
|
29
26
|
post_tags: TagsView;
|
30
27
|
can_mod: boolean;
|
31
28
|
creator_banned: boolean;
|
29
|
+
creator_is_moderator: boolean;
|
30
|
+
creator_banned_from_community: boolean;
|
32
31
|
};
|
@@ -18,7 +18,6 @@ export type CommentReportView = {
|
|
18
18
|
comment_creator: Person;
|
19
19
|
comment_actions?: CommentActions;
|
20
20
|
resolver?: Person;
|
21
|
-
creator_community_actions?: CommunityActions;
|
22
21
|
person_actions?: PersonActions;
|
23
22
|
community_actions?: CommunityActions;
|
24
23
|
creator_is_admin: boolean;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { InstanceActions } from "./InstanceActions";
|
2
1
|
import type { LocalUser } from "./LocalUser";
|
3
2
|
import type { Person } from "./Person";
|
4
3
|
/**
|
@@ -7,5 +6,5 @@ import type { Person } from "./Person";
|
|
7
6
|
export type LocalUserView = {
|
8
7
|
local_user: LocalUser;
|
9
8
|
person: Person;
|
10
|
-
|
9
|
+
banned: boolean;
|
11
10
|
};
|
@@ -21,10 +21,9 @@ export type PersonCommentMentionView = {
|
|
21
21
|
comment_actions?: CommentActions;
|
22
22
|
person_actions?: PersonActions;
|
23
23
|
instance_actions?: InstanceActions;
|
24
|
-
creator_home_instance_actions?: InstanceActions;
|
25
|
-
creator_local_instance_actions?: InstanceActions;
|
26
|
-
creator_community_actions?: CommunityActions;
|
27
24
|
creator_is_admin: boolean;
|
28
25
|
can_mod: boolean;
|
29
26
|
creator_banned: boolean;
|
27
|
+
creator_is_moderator: boolean;
|
28
|
+
creator_banned_from_community: boolean;
|
30
29
|
};
|
@@ -22,11 +22,10 @@ export type PersonPostMentionView = {
|
|
22
22
|
person_actions?: PersonActions;
|
23
23
|
post_actions?: PostActions;
|
24
24
|
instance_actions?: InstanceActions;
|
25
|
-
creator_home_instance_actions?: InstanceActions;
|
26
|
-
creator_local_instance_actions?: InstanceActions;
|
27
|
-
creator_community_actions?: CommunityActions;
|
28
25
|
post_tags: TagsView;
|
29
26
|
creator_is_admin: boolean;
|
30
27
|
can_mod: boolean;
|
31
28
|
creator_banned: boolean;
|
29
|
+
creator_is_moderator: boolean;
|
30
|
+
creator_banned_from_community: boolean;
|
32
31
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { InstanceActions } from "./InstanceActions";
|
2
1
|
import type { Person } from "./Person";
|
3
2
|
import type { PersonActions } from "./PersonActions";
|
4
3
|
/**
|
@@ -8,7 +7,5 @@ export type PersonView = {
|
|
8
7
|
person: Person;
|
9
8
|
is_admin: boolean;
|
10
9
|
person_actions?: PersonActions;
|
11
|
-
home_instance_actions?: InstanceActions;
|
12
|
-
local_instance_actions?: InstanceActions;
|
13
10
|
creator_banned: boolean;
|
14
11
|
};
|
package/package.json
CHANGED