@jealous-robot-dev/shared-types-responses 1.55.14 → 1.55.15
Sign up to get free protection for your applications and to get access to all the features.
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/services/events/seance-join.d.ts +2 -2
- package/build/services/live-studio/fallback.d.ts +52 -0
- package/build/services/live-studio/fallback.js +2 -0
- package/package.json +1 -1
- package/build/services/live-room/fallback.d.ts +0 -65
- package/build/services/live-room/fallback.js +0 -13
- /package/build/services/{live-room → live-studio}/index.d.ts +0 -0
- /package/build/services/{live-room → live-studio}/index.js +0 -0
package/build/index.d.ts
CHANGED
@@ -3,7 +3,7 @@ export * from './services/errors';
|
|
3
3
|
export * from './services/common';
|
4
4
|
export * from './services/static-components';
|
5
5
|
export * from './services/user-settings';
|
6
|
-
export * from './services/live-
|
6
|
+
export * from './services/live-studio';
|
7
7
|
export * from './services/messenger';
|
8
8
|
export * from './services/payments';
|
9
9
|
export * from './services/events';
|
package/build/index.js
CHANGED
@@ -15,7 +15,7 @@ __exportStar(require("./services/errors"), exports);
|
|
15
15
|
__exportStar(require("./services/common"), exports);
|
16
16
|
__exportStar(require("./services/static-components"), exports);
|
17
17
|
__exportStar(require("./services/user-settings"), exports);
|
18
|
-
__exportStar(require("./services/live-
|
18
|
+
__exportStar(require("./services/live-studio"), exports);
|
19
19
|
__exportStar(require("./services/messenger"), exports);
|
20
20
|
__exportStar(require("./services/payments"), exports);
|
21
21
|
__exportStar(require("./services/events"), exports);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { LiveStudioParticipRole } from '@jealous-robot-dev/drophr-common';
|
2
2
|
export declare enum MeetingAPIResponses {
|
3
3
|
FAILED = "FAILED",
|
4
4
|
SUCCESS = "SUCCESS",
|
@@ -26,5 +26,5 @@ export interface SessionJoinPayload {
|
|
26
26
|
capacity: number;
|
27
27
|
starts_at: number;
|
28
28
|
can_join?: boolean;
|
29
|
-
role:
|
29
|
+
role: LiveStudioParticipRole;
|
30
30
|
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { EventTypes, LiveStudioParticipRole } from "@jealous-robot-dev/drophr-common";
|
2
|
+
export interface LiveStudioMessage {
|
3
|
+
ts: number;
|
4
|
+
key: string;
|
5
|
+
text: string;
|
6
|
+
member: string;
|
7
|
+
}
|
8
|
+
export interface LiveStudioConversation {
|
9
|
+
id: string;
|
10
|
+
index: number;
|
11
|
+
messages: LiveStudioMessage[];
|
12
|
+
}
|
13
|
+
export interface LiveStudioParticipant {
|
14
|
+
UID: string;
|
15
|
+
ppu: string;
|
16
|
+
username: string;
|
17
|
+
lastname: string;
|
18
|
+
firstname: string;
|
19
|
+
role: LiveStudioParticipRole;
|
20
|
+
}
|
21
|
+
export interface LiveStudioClientData {
|
22
|
+
listing: {
|
23
|
+
id: string;
|
24
|
+
pic: string;
|
25
|
+
name: string;
|
26
|
+
host: string;
|
27
|
+
langs: string[];
|
28
|
+
type: EventTypes;
|
29
|
+
session: {
|
30
|
+
sid: string;
|
31
|
+
end: number;
|
32
|
+
start: number;
|
33
|
+
duration: number;
|
34
|
+
particips: LiveStudioParticipant[];
|
35
|
+
};
|
36
|
+
};
|
37
|
+
sdk: {
|
38
|
+
signature: string;
|
39
|
+
};
|
40
|
+
client: {
|
41
|
+
UID: string;
|
42
|
+
ppu: string;
|
43
|
+
is_new: boolean;
|
44
|
+
username: string;
|
45
|
+
lastname: string;
|
46
|
+
firstname: string;
|
47
|
+
role: LiveStudioParticipRole;
|
48
|
+
};
|
49
|
+
messenger: {
|
50
|
+
conversations: LiveStudioConversation[];
|
51
|
+
};
|
52
|
+
}
|
package/package.json
CHANGED
@@ -1,65 +0,0 @@
|
|
1
|
-
import { UITHEME, LiveRoomParticipRole, LiveRoomUIParams, EventTypes, UserCategory } from "@jealous-robot-dev/drophr-common";
|
2
|
-
export interface LiveRoomStandartSessionResponse {
|
3
|
-
listing: {
|
4
|
-
id: string;
|
5
|
-
pic: string;
|
6
|
-
name: string;
|
7
|
-
host: string;
|
8
|
-
langs: string[];
|
9
|
-
type: EventTypes;
|
10
|
-
session: {
|
11
|
-
sid: string;
|
12
|
-
end: number;
|
13
|
-
start: number;
|
14
|
-
duration: number;
|
15
|
-
max_particips: number;
|
16
|
-
};
|
17
|
-
};
|
18
|
-
connection: {
|
19
|
-
signature: string;
|
20
|
-
tracking_frequency?: number;
|
21
|
-
};
|
22
|
-
client: {
|
23
|
-
UID: string;
|
24
|
-
ppu: string;
|
25
|
-
is_new: boolean;
|
26
|
-
username: string;
|
27
|
-
lastname: string;
|
28
|
-
firstname: string;
|
29
|
-
role: LiveRoomParticipRole;
|
30
|
-
};
|
31
|
-
prefs: {
|
32
|
-
theme: UITHEME;
|
33
|
-
sdk_locale: string;
|
34
|
-
user_locale: string;
|
35
|
-
ui: {
|
36
|
-
[LiveRoomUIParams.FULL_SCREEN_X]: boolean;
|
37
|
-
[LiveRoomUIParams.HIDE_PREVIEW]: boolean;
|
38
|
-
[LiveRoomUIParams.HIDE_SPEAKER]: boolean;
|
39
|
-
[LiveRoomUIParams.GRID_LAYOUT]: boolean;
|
40
|
-
[LiveRoomUIParams.HIDE_ARROWS]: boolean;
|
41
|
-
[LiveRoomUIParams.HIDE_SHARE]: boolean;
|
42
|
-
[LiveRoomUIParams.HIDE_MAP]: boolean;
|
43
|
-
};
|
44
|
-
};
|
45
|
-
}
|
46
|
-
export interface LiveChannelTrackingMessagePayload {
|
47
|
-
ts: string;
|
48
|
-
video_enabled: boolean;
|
49
|
-
audio_enabled: boolean;
|
50
|
-
sound_enabled: boolean;
|
51
|
-
screen_enabled: boolean;
|
52
|
-
latest_interaction: number;
|
53
|
-
}
|
54
|
-
export declare enum LiveChannelTrackingResponseTypes {
|
55
|
-
OK = "OK",
|
56
|
-
ABOUT_TO_END = "ABOUT_TO_END",
|
57
|
-
CHECK_PRESENCE = "CHECK_PRESENCE",
|
58
|
-
HOST_CONN_TROUBLES = "HOST_CONN_TROUBLES",
|
59
|
-
HOST_LEFT_PREMATURELY = "HOST_LEFT_PREMATURELY",
|
60
|
-
CUSTOMER_CONN_TROUBLES = "CUSTOMER_CONN_TROUBLES"
|
61
|
-
}
|
62
|
-
export interface LiveChannelTrackingResponse {
|
63
|
-
result: LiveChannelTrackingResponseTypes;
|
64
|
-
role: UserCategory;
|
65
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LiveChannelTrackingResponseTypes = void 0;
|
4
|
-
var drophr_common_1 = require("@jealous-robot-dev/drophr-common");
|
5
|
-
var LiveChannelTrackingResponseTypes;
|
6
|
-
(function (LiveChannelTrackingResponseTypes) {
|
7
|
-
LiveChannelTrackingResponseTypes["OK"] = "OK";
|
8
|
-
LiveChannelTrackingResponseTypes["ABOUT_TO_END"] = "ABOUT_TO_END";
|
9
|
-
LiveChannelTrackingResponseTypes["CHECK_PRESENCE"] = "CHECK_PRESENCE";
|
10
|
-
LiveChannelTrackingResponseTypes["HOST_CONN_TROUBLES"] = "HOST_CONN_TROUBLES";
|
11
|
-
LiveChannelTrackingResponseTypes["HOST_LEFT_PREMATURELY"] = "HOST_LEFT_PREMATURELY";
|
12
|
-
LiveChannelTrackingResponseTypes["CUSTOMER_CONN_TROUBLES"] = "CUSTOMER_CONN_TROUBLES";
|
13
|
-
})(LiveChannelTrackingResponseTypes = exports.LiveChannelTrackingResponseTypes || (exports.LiveChannelTrackingResponseTypes = {}));
|
File without changes
|
File without changes
|