@zegocloud/zego-uikit-prebuilt 2.7.0 → 2.8.0
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/index.d.ts +13 -0
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare type ZegoExpressEngine = {};
|
|
|
3
3
|
declare interface ZegoUser {
|
|
4
4
|
userID: string;
|
|
5
5
|
userName?: string;
|
|
6
|
+
avatar?: string;
|
|
6
7
|
setUserAvatar?: (avatar: string) => void;
|
|
7
8
|
}
|
|
8
9
|
declare enum LiveRole {
|
|
@@ -182,6 +183,18 @@ declare interface ZegoCloudRoomConfig {
|
|
|
182
183
|
titleText?: string, // custom leave room confrim dialog title
|
|
183
184
|
descriptionText?: string, // // custom leave room confrim dialog desctiption
|
|
184
185
|
}
|
|
186
|
+
// 2.7.0
|
|
187
|
+
showMoreButton?: boolean; // Whether to enable the more button, true by default.
|
|
188
|
+
showUserName?: boolean; // Whether to display the user name on chat. true by default
|
|
189
|
+
hideUsersById?: string[]; // Hide the screen corresponding to the user id
|
|
190
|
+
videoViewConfig?: {
|
|
191
|
+
userID?: string; // user ID
|
|
192
|
+
showAvatarWhenCameraOff?: boolean; // Whether to display the user profile picture when the camera is off. The default value is true
|
|
193
|
+
}[];
|
|
194
|
+
backgroundUrl?: string; // background
|
|
195
|
+
// 2.8.0
|
|
196
|
+
liveNotStartedTextForAudience?: string; // Custom text displayed for the audience before the live broadcast starts.
|
|
197
|
+
startLiveButtonText?: string; // Custom Start Live button Text.
|
|
185
198
|
}
|
|
186
199
|
|
|
187
200
|
export enum RightPanelExpandedType {
|