mezon-js 2.10.22 → 2.10.23
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/api.gen.ts +2 -0
- package/dist/api.gen.d.ts +1 -0
- package/dist/socket.d.ts +8 -3
- package/package.json +1 -1
- package/socket.ts +8 -5
package/api.gen.ts
CHANGED
package/dist/api.gen.d.ts
CHANGED
package/dist/socket.d.ts
CHANGED
@@ -99,12 +99,10 @@ export interface UserProfileRedis {
|
|
99
99
|
}
|
100
100
|
/** UserChannelAddedEvent */
|
101
101
|
export interface UserChannelAddedEvent {
|
102
|
-
|
102
|
+
channel_desc: ChannelDescription;
|
103
103
|
users: UserProfileRedis[];
|
104
104
|
status: string;
|
105
105
|
clan_id: string;
|
106
|
-
channel_type: number;
|
107
|
-
is_public: boolean;
|
108
106
|
}
|
109
107
|
export interface UserChannelRemovedEvent {
|
110
108
|
channel_id: string;
|
@@ -438,6 +436,10 @@ export interface RoleEvent {
|
|
438
436
|
role: ApiRole;
|
439
437
|
status: number;
|
440
438
|
user_id: string;
|
439
|
+
user_add_ids: Array<string>;
|
440
|
+
user_remove_ids: Array<string>;
|
441
|
+
active_permission_ids: Array<string>;
|
442
|
+
remove_permission_ids: Array<string>;
|
441
443
|
}
|
442
444
|
export interface EventEmoji {
|
443
445
|
id: string;
|
@@ -582,6 +584,9 @@ export interface PermissionSet {
|
|
582
584
|
export interface PermissionChangedEvent {
|
583
585
|
user_id: string;
|
584
586
|
channel_id: string;
|
587
|
+
add_permissions: ApiPermissionUpdate[];
|
588
|
+
remove_permissions: ApiPermissionUpdate[];
|
589
|
+
default_permissions: ApiPermissionUpdate[];
|
585
590
|
}
|
586
591
|
export interface DropdownBoxSelected {
|
587
592
|
message_id: string;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -140,17 +140,13 @@ export interface UserProfileRedis {
|
|
140
140
|
/** UserChannelAddedEvent */
|
141
141
|
export interface UserChannelAddedEvent {
|
142
142
|
// the channel id
|
143
|
-
|
143
|
+
channel_desc: ChannelDescription;
|
144
144
|
// the user
|
145
145
|
users: UserProfileRedis[];
|
146
146
|
// the custom status
|
147
147
|
status: string;
|
148
148
|
// the clan id
|
149
149
|
clan_id: string;
|
150
|
-
// the channel type
|
151
|
-
channel_type: number;
|
152
|
-
// is public
|
153
|
-
is_public: boolean;
|
154
150
|
}
|
155
151
|
|
156
152
|
export interface UserChannelRemovedEvent {
|
@@ -637,6 +633,10 @@ export interface RoleEvent {
|
|
637
633
|
role: ApiRole;
|
638
634
|
status: number;
|
639
635
|
user_id: string;
|
636
|
+
user_add_ids: Array<string>;
|
637
|
+
user_remove_ids: Array<string>;
|
638
|
+
active_permission_ids: Array<string>;
|
639
|
+
remove_permission_ids: Array<string>;
|
640
640
|
}
|
641
641
|
|
642
642
|
export interface EventEmoji {
|
@@ -831,6 +831,9 @@ export interface PermissionSet {
|
|
831
831
|
export interface PermissionChangedEvent {
|
832
832
|
user_id: string;
|
833
833
|
channel_id: string;
|
834
|
+
add_permissions: ApiPermissionUpdate[];
|
835
|
+
remove_permissions: ApiPermissionUpdate[];
|
836
|
+
default_permissions: ApiPermissionUpdate[];
|
834
837
|
}
|
835
838
|
|
836
839
|
export interface DropdownBoxSelected {
|