@jealous-robot-dev/shared-types-responses 1.44.0 → 1.44.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/build/services/live-room/client.d.ts +4 -5
- package/build/services/live-room/index.d.ts +1 -0
- package/build/services/live-room/index.js +1 -0
- package/build/services/live-room/server.d.ts +3 -6
- package/build/services/live-room/upload.d.ts +8 -0
- package/build/services/live-room/upload.js +2 -0
- package/package.json +3 -3
@@ -29,9 +29,8 @@ export interface LiveRoomClientMediaShareStoped extends LiveRoomClientAttendeeMi
|
|
29
29
|
export interface LiveRoomClientMediaShareStop extends LiveRoomClientTargetAttendeePayload {
|
30
30
|
type: LiveRoomMediaType;
|
31
31
|
}
|
32
|
-
export interface
|
33
|
-
|
34
|
-
export interface LiveRoomClientMicrophoneConnection extends LiveRoomClientAttendeeMinumumPayload {
|
32
|
+
export interface LiveRoomClientMicConnStateUpdated extends LiveRoomClientAttendeeMinumumPayload {
|
33
|
+
is_on: boolean;
|
35
34
|
}
|
36
35
|
export interface LiveRoomClientChatMsgView extends LiveRoomClientAttendeeMinumumPayload {
|
37
36
|
thread_id: string;
|
@@ -47,12 +46,12 @@ export interface LiveRoomClientChatMsgDelete extends LiveRoomClientAttendeeMinum
|
|
47
46
|
msg_id: number;
|
48
47
|
}
|
49
48
|
export interface LiveRoomClientChatMsgNew extends LiveRoomClientAttendeeMinumumPayload {
|
50
|
-
receiver
|
49
|
+
receiver?: string;
|
51
50
|
thread_id: string;
|
52
51
|
msg_id: number;
|
53
52
|
text: string;
|
54
53
|
}
|
55
|
-
export declare type LiveRoomClientMessageType =
|
54
|
+
export declare type LiveRoomClientMessageType = LiveRoomClientChatMsgView | LiveRoomClientMicConnStateUpdated | LiveRoomClientSessionStarted | LiveRoomClientClientEntered | LiveRoomClientChatMsgNew | LiveRoomClientChatMsgDelete | LiveRoomClientClientLeft | LiveRoomClientClientEntered | LiveRoomClientChatMsgEdit | LiveRoomClientSessionEnded;
|
56
55
|
export interface LiveRoomClientMessage {
|
57
56
|
channel: LiveRoomClientMessages;
|
58
57
|
payload: LiveRoomClientMessageType;
|
@@ -12,3 +12,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
13
|
__exportStar(require("./client"), exports);
|
14
14
|
__exportStar(require("./server"), exports);
|
15
|
+
__exportStar(require("./upload"), exports);
|
@@ -108,12 +108,9 @@ export interface LiveRoomServerMediaShareStoped extends LiveRoomServerMediaPaylo
|
|
108
108
|
}
|
109
109
|
export interface LiveRoomServerMediaShareStop extends LiveRoomServerTargetedMediaPayload {
|
110
110
|
}
|
111
|
-
export interface
|
112
|
-
UID: string;
|
113
|
-
attendee_id: string;
|
114
|
-
}
|
115
|
-
export interface LiveRoomServerMicrophoneConnected extends LiveRoomServerMinimumPayload {
|
111
|
+
export interface LiveRoomServerMicConnStateUpdated extends LiveRoomServerMinimumPayload {
|
116
112
|
UID: string;
|
113
|
+
is_on: boolean;
|
117
114
|
attendee_id: string;
|
118
115
|
}
|
119
116
|
export interface LiveRoomServerChatMessageNew extends LiveRoomServerMinimumPayload {
|
@@ -145,7 +142,7 @@ export interface LiveRoomServerChatMsgView extends LiveRoomServerMinimumPayload
|
|
145
142
|
messages: number[];
|
146
143
|
thread_id: string;
|
147
144
|
}
|
148
|
-
export declare type LiveRoomServerMessageType =
|
145
|
+
export declare type LiveRoomServerMessageType = LiveRoomServerChatMessageEdited | LiveRoomServerChatMessageNew | LiveRoomServerSessionState | LiveRoomServerClientEntered | LiveRoomServerChatMsgView | LiveRoomServerChatMessageDel | LiveRoomServerSessionEnded | LiveRoomServerClientPing | LiveRoomServerClientLeft | LiveRoomServerClientClose | LiveRoomServerMicConnStateUpdated;
|
149
146
|
export interface LiveRoomServerMessage {
|
150
147
|
channel: LiveRoomServerMessages;
|
151
148
|
payload: LiveRoomServerMessageType;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.44.
|
3
|
+
"version": "1.44.2",
|
4
4
|
"description": "",
|
5
5
|
"main": "build/index.js",
|
6
6
|
"types": "build/index.d.ts",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"typescript": "^3.8.3"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@jealous-robot-dev/drophr-common": "^1.10.
|
27
|
+
"@jealous-robot-dev/drophr-common": "^1.10.1",
|
28
28
|
"@jealous-robot-dev/shared-phrases": "^1.8.2"
|
29
29
|
}
|
30
|
-
}
|
30
|
+
}
|