@hysc/meeting 10.4.9 → 10.5.1
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/dist/index.d.mts +36 -34
- package/dist/index.d.ts +36 -34
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -7,39 +7,6 @@ import { BoomError } from '@hysc/utils';
|
|
|
7
7
|
export { Logger } from '@hysc/utils';
|
|
8
8
|
import { StreamCustomInfo, BloudStream } from '@hysc/bloud';
|
|
9
9
|
|
|
10
|
-
interface IMessageInfo {
|
|
11
|
-
userId?: string;
|
|
12
|
-
message: string;
|
|
13
|
-
role?: string;
|
|
14
|
-
isLocal?: boolean;
|
|
15
|
-
avatar?: string;
|
|
16
|
-
nickName?: string;
|
|
17
|
-
sendTime?: number;
|
|
18
|
-
isMeetingNotice?: boolean;
|
|
19
|
-
to?: string | undefined;
|
|
20
|
-
isDanger?: boolean;
|
|
21
|
-
seq?: number;
|
|
22
|
-
failed?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare class BMMessageInfo {
|
|
25
|
-
userId?: any;
|
|
26
|
-
message: string;
|
|
27
|
-
time: string;
|
|
28
|
-
timeStamp: number;
|
|
29
|
-
role?: string;
|
|
30
|
-
isLocal?: boolean;
|
|
31
|
-
avatar?: any;
|
|
32
|
-
nickName?: any;
|
|
33
|
-
isMeetingNotice: boolean;
|
|
34
|
-
to: string | undefined;
|
|
35
|
-
isDanger: boolean | undefined;
|
|
36
|
-
seq: number | undefined;
|
|
37
|
-
failed: boolean | undefined;
|
|
38
|
-
/** 是否是表情 */
|
|
39
|
-
isEmoji: boolean;
|
|
40
|
-
constructor(props: IMessageInfo);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
10
|
/**
|
|
44
11
|
* @name: stream
|
|
45
12
|
* @author: yangliye
|
|
@@ -121,6 +88,39 @@ declare function getMediaStreamInfo(mediaStream: MediaStream, videoInfo: {
|
|
|
121
88
|
height: number;
|
|
122
89
|
} | null;
|
|
123
90
|
|
|
91
|
+
interface IMessageInfo {
|
|
92
|
+
userId?: string;
|
|
93
|
+
message: string;
|
|
94
|
+
role?: string;
|
|
95
|
+
isLocal?: boolean;
|
|
96
|
+
avatar?: string;
|
|
97
|
+
nickName?: string;
|
|
98
|
+
sendTime?: number;
|
|
99
|
+
isMeetingNotice?: boolean;
|
|
100
|
+
to?: string | undefined;
|
|
101
|
+
isDanger?: boolean;
|
|
102
|
+
seq?: number;
|
|
103
|
+
failed?: boolean;
|
|
104
|
+
}
|
|
105
|
+
declare class BMMessageInfo {
|
|
106
|
+
userId?: any;
|
|
107
|
+
message: string;
|
|
108
|
+
time: string;
|
|
109
|
+
timeStamp: number;
|
|
110
|
+
role?: string;
|
|
111
|
+
isLocal?: boolean;
|
|
112
|
+
avatar?: any;
|
|
113
|
+
nickName?: any;
|
|
114
|
+
isMeetingNotice: boolean;
|
|
115
|
+
to: string | undefined;
|
|
116
|
+
isDanger: boolean | undefined;
|
|
117
|
+
seq: number | undefined;
|
|
118
|
+
failed: boolean | undefined;
|
|
119
|
+
/** 是否是表情 */
|
|
120
|
+
isEmoji: boolean;
|
|
121
|
+
constructor(props: IMessageInfo);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
124
|
declare class BMChatVM {
|
|
125
125
|
messageList: Array<BMMessageInfo>;
|
|
126
126
|
boomCore: BCClient;
|
|
@@ -1215,6 +1215,8 @@ declare class BMRoomInfo {
|
|
|
1215
1215
|
totalWaitRoomUserWatcher: BehaviorSubject<number>;
|
|
1216
1216
|
isOpenWaitRoom: Subject<boolean>;
|
|
1217
1217
|
originJoinRoomParams: any;
|
|
1218
|
+
/** 原始的joinRoom 响应信息 */
|
|
1219
|
+
originRespInfo: any;
|
|
1218
1220
|
constructor(room: BMRoom);
|
|
1219
1221
|
get roomName(): string;
|
|
1220
1222
|
/**
|
|
@@ -2407,4 +2409,4 @@ declare class BMRoom {
|
|
|
2407
2409
|
getVersion(): string;
|
|
2408
2410
|
}
|
|
2409
2411
|
|
|
2410
|
-
export { BMStreamModel, BMUser, BMRoom as default };
|
|
2412
|
+
export { BMChatVM, BMMessageInfo, BMRoomInfo, BMRoomVM, BMStreamModel, BMStreamModelVM, BMUser, BMUserVM, BMRoom as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,39 +7,6 @@ import { BoomError } from '@hysc/utils';
|
|
|
7
7
|
export { Logger } from '@hysc/utils';
|
|
8
8
|
import { StreamCustomInfo, BloudStream } from '@hysc/bloud';
|
|
9
9
|
|
|
10
|
-
interface IMessageInfo {
|
|
11
|
-
userId?: string;
|
|
12
|
-
message: string;
|
|
13
|
-
role?: string;
|
|
14
|
-
isLocal?: boolean;
|
|
15
|
-
avatar?: string;
|
|
16
|
-
nickName?: string;
|
|
17
|
-
sendTime?: number;
|
|
18
|
-
isMeetingNotice?: boolean;
|
|
19
|
-
to?: string | undefined;
|
|
20
|
-
isDanger?: boolean;
|
|
21
|
-
seq?: number;
|
|
22
|
-
failed?: boolean;
|
|
23
|
-
}
|
|
24
|
-
declare class BMMessageInfo {
|
|
25
|
-
userId?: any;
|
|
26
|
-
message: string;
|
|
27
|
-
time: string;
|
|
28
|
-
timeStamp: number;
|
|
29
|
-
role?: string;
|
|
30
|
-
isLocal?: boolean;
|
|
31
|
-
avatar?: any;
|
|
32
|
-
nickName?: any;
|
|
33
|
-
isMeetingNotice: boolean;
|
|
34
|
-
to: string | undefined;
|
|
35
|
-
isDanger: boolean | undefined;
|
|
36
|
-
seq: number | undefined;
|
|
37
|
-
failed: boolean | undefined;
|
|
38
|
-
/** 是否是表情 */
|
|
39
|
-
isEmoji: boolean;
|
|
40
|
-
constructor(props: IMessageInfo);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
10
|
/**
|
|
44
11
|
* @name: stream
|
|
45
12
|
* @author: yangliye
|
|
@@ -121,6 +88,39 @@ declare function getMediaStreamInfo(mediaStream: MediaStream, videoInfo: {
|
|
|
121
88
|
height: number;
|
|
122
89
|
} | null;
|
|
123
90
|
|
|
91
|
+
interface IMessageInfo {
|
|
92
|
+
userId?: string;
|
|
93
|
+
message: string;
|
|
94
|
+
role?: string;
|
|
95
|
+
isLocal?: boolean;
|
|
96
|
+
avatar?: string;
|
|
97
|
+
nickName?: string;
|
|
98
|
+
sendTime?: number;
|
|
99
|
+
isMeetingNotice?: boolean;
|
|
100
|
+
to?: string | undefined;
|
|
101
|
+
isDanger?: boolean;
|
|
102
|
+
seq?: number;
|
|
103
|
+
failed?: boolean;
|
|
104
|
+
}
|
|
105
|
+
declare class BMMessageInfo {
|
|
106
|
+
userId?: any;
|
|
107
|
+
message: string;
|
|
108
|
+
time: string;
|
|
109
|
+
timeStamp: number;
|
|
110
|
+
role?: string;
|
|
111
|
+
isLocal?: boolean;
|
|
112
|
+
avatar?: any;
|
|
113
|
+
nickName?: any;
|
|
114
|
+
isMeetingNotice: boolean;
|
|
115
|
+
to: string | undefined;
|
|
116
|
+
isDanger: boolean | undefined;
|
|
117
|
+
seq: number | undefined;
|
|
118
|
+
failed: boolean | undefined;
|
|
119
|
+
/** 是否是表情 */
|
|
120
|
+
isEmoji: boolean;
|
|
121
|
+
constructor(props: IMessageInfo);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
124
|
declare class BMChatVM {
|
|
125
125
|
messageList: Array<BMMessageInfo>;
|
|
126
126
|
boomCore: BCClient;
|
|
@@ -1215,6 +1215,8 @@ declare class BMRoomInfo {
|
|
|
1215
1215
|
totalWaitRoomUserWatcher: BehaviorSubject<number>;
|
|
1216
1216
|
isOpenWaitRoom: Subject<boolean>;
|
|
1217
1217
|
originJoinRoomParams: any;
|
|
1218
|
+
/** 原始的joinRoom 响应信息 */
|
|
1219
|
+
originRespInfo: any;
|
|
1218
1220
|
constructor(room: BMRoom);
|
|
1219
1221
|
get roomName(): string;
|
|
1220
1222
|
/**
|
|
@@ -2407,4 +2409,4 @@ declare class BMRoom {
|
|
|
2407
2409
|
getVersion(): string;
|
|
2408
2410
|
}
|
|
2409
2411
|
|
|
2410
|
-
export { BMStreamModel, BMUser, BMRoom as default };
|
|
2412
|
+
export { BMChatVM, BMMessageInfo, BMRoomInfo, BMRoomVM, BMStreamModel, BMStreamModelVM, BMUser, BMUserVM, BMRoom as default };
|