@jealous-robot-dev/shared-types-responses 1.43.4 → 1.43.5
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LiveRoomClientMessages } from "@jealous-robot-dev/drophr-common";
|
1
|
+
import { LiveRoomClientMessages, LiveRoomMediaType } from "@jealous-robot-dev/drophr-common";
|
2
2
|
export interface LiveRoomClientMinimumPayload {
|
3
3
|
sid: string;
|
4
4
|
UID: string;
|
@@ -20,23 +20,14 @@ export interface LiveRoomClientSessionStarted extends LiveRoomClientAttendeeMinu
|
|
20
20
|
}
|
21
21
|
export interface LiveRoomClientSessionEnded extends LiveRoomClientAttendeeMinumumPayload {
|
22
22
|
}
|
23
|
-
export interface
|
23
|
+
export interface LiveRoomClientMediaShareStarted extends LiveRoomClientAttendeeMinumumPayload {
|
24
|
+
type: LiveRoomMediaType;
|
24
25
|
}
|
25
|
-
export interface
|
26
|
+
export interface LiveRoomClientMediaShareStoped extends LiveRoomClientAttendeeMinumumPayload {
|
27
|
+
type: LiveRoomMediaType;
|
26
28
|
}
|
27
|
-
export interface
|
28
|
-
|
29
|
-
export interface LiveRoomClientVideoShareStarted extends LiveRoomClientAttendeeMinumumPayload {
|
30
|
-
}
|
31
|
-
export interface LiveRoomClientVideoShareStoped extends LiveRoomClientAttendeeMinumumPayload {
|
32
|
-
}
|
33
|
-
export interface LiveRoomClientVideoShareStop extends LiveRoomClientTargetAttendeePayload {
|
34
|
-
}
|
35
|
-
export interface LiveRoomClientAudioShareStarted extends LiveRoomClientAttendeeMinumumPayload {
|
36
|
-
}
|
37
|
-
export interface LiveRoomClientAudioShareStoped extends LiveRoomClientAttendeeMinumumPayload {
|
38
|
-
}
|
39
|
-
export interface LiveRoomClientAudioShareStop extends LiveRoomClientTargetAttendeePayload {
|
29
|
+
export interface LiveRoomClientMediaShareStop extends LiveRoomClientTargetAttendeePayload {
|
30
|
+
type: LiveRoomMediaType;
|
40
31
|
}
|
41
32
|
export interface LiveRoomClientMicrophoneDisconnection extends LiveRoomClientAttendeeMinumumPayload {
|
42
33
|
}
|
@@ -61,7 +52,7 @@ export interface LiveRoomClientChatMsgNew extends LiveRoomClientAttendeeMinumumP
|
|
61
52
|
msg_id: number;
|
62
53
|
text: string;
|
63
54
|
}
|
64
|
-
export declare type LiveRoomClientMessageType = LiveRoomClientMicrophoneConnection | LiveRoomClientMicrophoneDisconnection |
|
55
|
+
export declare type LiveRoomClientMessageType = LiveRoomClientMicrophoneConnection | LiveRoomClientMicrophoneDisconnection | LiveRoomClientSessionStarted | LiveRoomClientClientEntered | LiveRoomClientChatMsgNew | LiveRoomClientChatMsgDelete | LiveRoomClientClientLeft | LiveRoomClientClientEntered | LiveRoomClientChatMsgEdit | LiveRoomClientSessionEnded | LiveRoomClientChatMsgView;
|
65
56
|
export interface LiveRoomClientMessage {
|
66
57
|
channel: LiveRoomClientMessages;
|
67
58
|
payload: LiveRoomClientMessageType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LiveRoomClientCloseReason, LiveRoomSessionTypes, LiveRoomServerMessages } from "@jealous-robot-dev/drophr-common";
|
1
|
+
import { LiveRoomClientCloseReason, LiveRoomSessionTypes, LiveRoomServerMessages, LiveRoomMediaType } from "@jealous-robot-dev/drophr-common";
|
2
2
|
export interface LiveRoomStandartParticipant {
|
3
3
|
UID: string;
|
4
4
|
ppu: string;
|
@@ -95,27 +95,16 @@ export interface LiveRoomServerSessionState extends LiveRoomServerMinimumPayload
|
|
95
95
|
export interface LiveRoomServerMediaPayload extends LiveRoomServerMinimumPayload {
|
96
96
|
UID: string;
|
97
97
|
attendee_id: string;
|
98
|
+
type: LiveRoomMediaType;
|
98
99
|
}
|
99
100
|
export interface LiveRoomServerTargetedMediaPayload extends LiveRoomServerMediaPayload {
|
100
101
|
target_attendee_id: string;
|
101
102
|
}
|
102
|
-
export interface
|
103
|
+
export interface LiveRoomServerMediaShareStarted extends LiveRoomServerMediaPayload {
|
103
104
|
}
|
104
|
-
export interface
|
105
|
+
export interface LiveRoomServerMediaShareStoped extends LiveRoomServerMediaPayload {
|
105
106
|
}
|
106
|
-
export interface
|
107
|
-
}
|
108
|
-
export interface LiveRoomServerVideoShareStarted extends LiveRoomServerMediaPayload {
|
109
|
-
}
|
110
|
-
export interface LiveRoomServerVideoShareStoped extends LiveRoomServerMediaPayload {
|
111
|
-
}
|
112
|
-
export interface LiveRoomServerVideoShareStop extends LiveRoomServerTargetedMediaPayload {
|
113
|
-
}
|
114
|
-
export interface LiveRoomServerAudioShareStarted extends LiveRoomServerMediaPayload {
|
115
|
-
}
|
116
|
-
export interface LiveRoomServerAudioShareStoped extends LiveRoomServerMediaPayload {
|
117
|
-
}
|
118
|
-
export interface LiveRoomServerAudioShareStop extends LiveRoomServerTargetedMediaPayload {
|
107
|
+
export interface LiveRoomServerMediaShareStop extends LiveRoomServerTargetedMediaPayload {
|
119
108
|
}
|
120
109
|
export interface LiveRoomServerMicrophoneDisconnected extends LiveRoomServerMediaPayload {
|
121
110
|
}
|
@@ -146,7 +135,7 @@ export interface LiveRoomServerChatMsgView extends LiveRoomServerMinimumPayload
|
|
146
135
|
thread_id: string;
|
147
136
|
messages: number[];
|
148
137
|
}
|
149
|
-
export declare type LiveRoomServerMessageType = LiveRoomServerMicrophoneConnected | LiveRoomServerMicrophoneDisconnected |
|
138
|
+
export declare type LiveRoomServerMessageType = LiveRoomServerMicrophoneConnected | LiveRoomServerMicrophoneDisconnected | LiveRoomServerChatMessageEdited | LiveRoomServerChatMessageNew | LiveRoomServerSessionState | LiveRoomServerClientEntered | LiveRoomServerChatMsgView | LiveRoomServerChatMessageDel | LiveRoomServerSessionEnded | LiveRoomServerClientPing | LiveRoomServerClientLeft | LiveRoomServerClientClose;
|
150
139
|
export interface LiveRoomServerMessage {
|
151
140
|
channel: LiveRoomServerMessages;
|
152
141
|
payload: LiveRoomServerMessageType;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.43.
|
3
|
+
"version": "1.43.5",
|
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.
|
27
|
+
"@jealous-robot-dev/drophr-common": "^1.10.0",
|
28
28
|
"@jealous-robot-dev/shared-phrases": "^1.8.2"
|
29
29
|
}
|
30
30
|
}
|