@555platform/555parser.ts
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -22,5 +22,6 @@ export declare enum ChatMessageTypes { | ||
FindRooms = "find_rooms", | ||
GetPublicRoomDescriptors = "get_public_room_descriptors", | ||
GetDirectRoomDescriptors = "get_direct_room_descriptors", | ||
GetUserRoomDescriptors = "get_user_room_descriptors" | ||
FindPublicRooms = "find_public_rooms", | ||
InviteUsers = "ivite_users", | ||
LeaveRoom = "leave_room", | ||
JoinRoom = "join_room" | ||
} | ||
@@ -30,2 +31,3 @@ export declare enum ChatServerEventTypes { | ||
UserJoinedRoom = "user_joined_room", | ||
UserLeftRoom = "user_left_room", | ||
RoomReceivedMessage = "room_received_message" | ||
@@ -32,0 +34,0 @@ } |
@@ -26,5 +26,6 @@ "use strict"; | ||
RequestTypes["FindRooms"] = "find_rooms"; | ||
RequestTypes["GetPublicRoomDescriptors"] = "get_public_room_descriptors"; | ||
RequestTypes["GetDirectRoomDescriptors"] = "get_direct_room_descriptors"; | ||
RequestTypes["GetUserRoomDescriptors"] = "get_user_room_descriptors"; | ||
RequestTypes["FindPublicRooms"] = "find_public_rooms"; | ||
RequestTypes["InviteUsers"] = "ivite_users"; | ||
RequestTypes["LeaveRoom"] = "leave_room"; | ||
RequestTypes["JoinRoom"] = "join_room"; | ||
})(RequestTypes = exports.RequestTypes || (exports.RequestTypes = {})); | ||
@@ -35,3 +36,4 @@ var ChatServerEventTypes; | ||
ChatServerEventTypes["UserJoinedRoom"] = "user_joined_room"; | ||
ChatServerEventTypes["UserLeftRoom"] = "user_left_room"; | ||
ChatServerEventTypes["RoomReceivedMessage"] = "room_received_message"; // specific room received new message | ||
})(ChatServerEventTypes = exports.ChatServerEventTypes || (exports.ChatServerEventTypes = {})); |
@@ -15,1 +15,16 @@ export declare type CreateRoomOptions = { | ||
}; | ||
export declare type FindPublicRoomsOptions = { | ||
nameFilter: string; | ||
skip: number; | ||
limit: number; | ||
}; | ||
export declare type JoinRoomOptions = { | ||
roomId: string; | ||
}; | ||
export declare type InviteUsersOptions = { | ||
roomId: string; | ||
usersToInvite: string[]; | ||
}; | ||
export declare type LeaveRoomOptions = { | ||
roomId: string; | ||
}; |
{ | ||
"name": "@555platform/555parser.ts", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "555 Platform Message Parser", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -23,5 +23,6 @@ export enum ChatMessageTypes { | ||
FindRooms = 'find_rooms', | ||
GetPublicRoomDescriptors = 'get_public_room_descriptors', | ||
GetDirectRoomDescriptors = 'get_direct_room_descriptors', | ||
GetUserRoomDescriptors = 'get_user_room_descriptors' | ||
FindPublicRooms = 'find_public_rooms', | ||
InviteUsers = 'ivite_users', | ||
LeaveRoom = 'leave_room', | ||
JoinRoom = 'join_room' | ||
} | ||
@@ -31,3 +32,4 @@ | ||
RoomAdded = 'room_added', // current user was added to a new room | ||
UserJoinedRoom = 'user_joined_room', // a user joined existing room | ||
UserJoinedRoom = 'user_joined_room', // a user joined existing room or current user was added to existing room | ||
UserLeftRoom = 'user_left_room', // a user left room | ||
RoomReceivedMessage = 'room_received_message' // specific room received new message | ||
@@ -34,0 +36,0 @@ } |
@@ -16,1 +16,20 @@ export type CreateRoomOptions = { | ||
}; | ||
export type FindPublicRoomsOptions = { | ||
nameFilter: string; | ||
skip: number; | ||
limit: number; | ||
}; | ||
export type JoinRoomOptions = { | ||
roomId: string; | ||
}; | ||
export type InviteUsersOptions = { | ||
roomId: string; | ||
usersToInvite: string[]; | ||
}; | ||
export type LeaveRoomOptions = { | ||
roomId: string; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34629
839