mezon-js 2.8.96 → 2.8.97
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/socket.d.ts +4 -10
- package/package.json +1 -1
- package/socket.ts +4 -10
package/dist/socket.d.ts
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiPermissionList, ApiRoleList, ApiRpc, ApiUser } from "./api.gen";
|
16
|
+
import { ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiPermissionList, ApiRole, ApiRoleList, ApiRpc, ApiUser } from "./api.gen";
|
17
17
|
import { Session } from "./session";
|
18
18
|
import { ChannelMessage, Notification } from "./client";
|
19
19
|
import { WebSocketAdapter } from "./web_socket_adapter";
|
@@ -458,15 +458,9 @@ export interface RoleListEvent {
|
|
458
458
|
roles: ApiRoleList;
|
459
459
|
}
|
460
460
|
export interface RoleEvent {
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
user_ids_assigned: Array<string>;
|
465
|
-
permission_ids_assigned: Array<string>;
|
466
|
-
user_ids_removed: Array<string>;
|
467
|
-
permission_ids_removed: Array<string>;
|
468
|
-
role_title: string;
|
469
|
-
status: string;
|
461
|
+
role: ApiRole;
|
462
|
+
status: number;
|
463
|
+
user_id: string;
|
470
464
|
}
|
471
465
|
export interface EventEmoji {
|
472
466
|
id: string;
|
package/package.json
CHANGED
package/socket.ts
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import { ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotification, ApiPermissionList, ApiRoleList, ApiRpc, ApiUser} from "./api.gen";
|
17
|
+
import { ApiChannelMessageHeader, ApiCreateEventRequest, ApiGiveCoffeeEvent, ApiMessageAttachment, ApiMessageMention, ApiMessageReaction, ApiMessageRef, ApiNotification, ApiPermissionList, ApiRole, ApiRoleList, ApiRpc, ApiUser} from "./api.gen";
|
18
18
|
import {Session} from "./session";
|
19
19
|
import {ChannelMessage, Notification} from "./client";
|
20
20
|
import {WebSocketAdapter, WebSocketAdapterText} from "./web_socket_adapter"
|
@@ -667,15 +667,9 @@ export interface RoleListEvent {
|
|
667
667
|
}
|
668
668
|
|
669
669
|
export interface RoleEvent {
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
user_ids_assigned: Array<string>;
|
674
|
-
permission_ids_assigned: Array<string>;
|
675
|
-
user_ids_removed: Array<string>;
|
676
|
-
permission_ids_removed: Array<string>;
|
677
|
-
role_title: string;
|
678
|
-
status: string;
|
670
|
+
role: ApiRole;
|
671
|
+
status: number;
|
672
|
+
user_id: string;
|
679
673
|
}
|
680
674
|
|
681
675
|
export interface EventEmoji {
|