@tencentcloud/roomkit-electron-vue3 2.9.0 → 2.9.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.
@@ -69,7 +69,7 @@ declare class Conference implements IConference {
69
69
  tim?: ChatSDK;
70
70
  }): Promise<void>;
71
71
  logout(): Promise<void>;
72
- getRoomEngine(): any;
72
+ getRoomEngine(): TUIRoomEngine | null;
73
73
  on(eventType: RoomEvent, callback: (data?: LanguageOption | ThemeOption | any) => void): void;
74
74
  off(eventType: RoomEvent, callback: (data?: LanguageOption | ThemeOption | any) => void): void;
75
75
  start(roomId: string, params?: StartParams): Promise<void>;
@@ -1,3 +1,4 @@
1
+ import { TRTCVideoResolution } from '@tencentcloud/tuiroom-engine-electron';
1
2
  export declare enum SpeechMode {
2
3
  FREE_SPEECH = "FreeSpeech",
3
4
  APPLY_SPEECH = "ApplySpeech"
@@ -13,7 +14,7 @@ export declare enum MediaDeviceState {
13
14
  UNAVAILABLE = "UNAVAILABLE"
14
15
  }
15
16
  export declare const SMALL_VIDEO_ENC_PARAM: {
16
- videoResolution: any;
17
+ videoResolution: TRTCVideoResolution;
17
18
  videoFps: number;
18
19
  videoBitrate: number;
19
20
  };
@@ -1 +1,2 @@
1
- export default function useGetRoomEngine(): Record<string, any>;
1
+ import TUIRoomEngine from '@tencentcloud/tuiroom-engine-electron';
2
+ export default function useGetRoomEngine(): Record<string, TUIRoomEngine | null>;
@@ -1,4 +1,5 @@
1
1
  import { EventType, IRoomService, RoomInitData, RoomParam } from './types';
2
+ import TUIRoomEngine from '@tencentcloud/tuiroom-engine-electron';
2
3
  import { UserInfo } from '../stores/room';
3
4
  import { ComponentConfig, ComponentManager, ComponentName } from './manager/componentManager';
4
5
  import { ConfigManager, LanguageOption, Theme } from './manager/configManager';
@@ -17,10 +18,10 @@ import { ErrorHandler } from './function/errorHandler';
17
18
  import { ChatManager } from './manager/chatManager';
18
19
  import { WidgetsManager } from './manager/widgetsManager';
19
20
  import { AITask } from './function/aiTask';
20
- export declare const roomEngine: Record<string, any>;
21
+ export declare const roomEngine: Record<string, TUIRoomEngine | null>;
21
22
  export declare class RoomService implements IRoomService {
22
23
  static instance?: RoomService;
23
- roomEngine: Record<string, any>;
24
+ roomEngine: Record<string, TUIRoomEngine | null>;
24
25
  t: any;
25
26
  private emitter;
26
27
  componentManager: ComponentManager;
@@ -3,7 +3,7 @@ export declare function getNewStreamInfo(userId: string, streamType?: TUIVideoSt
3
3
  userId: string;
4
4
  hasAudioStream: boolean;
5
5
  hasVideoStream: boolean;
6
- streamType: any;
6
+ streamType: TUIVideoStreamType;
7
7
  isLoading: boolean;
8
8
  playDomMap: Map<any, any>;
9
9
  timestamp: number;
@@ -17,12 +17,12 @@ export declare function getNewUserInfo(userId: string): {
17
17
  hasVideoStream: boolean;
18
18
  hasScreenStream: boolean;
19
19
  isMessageDisabled: boolean;
20
- userRole: any;
20
+ userRole: TUIRole;
21
21
  onSeat: boolean;
22
22
  isUserApplyingToAnchor: boolean;
23
23
  isInvitingUserToAnchor: boolean;
24
24
  isInRoom: boolean;
25
- status: any;
25
+ status: TUIInvitationStatus;
26
26
  timestamp: number;
27
27
  };
28
28
  export type StreamInfo = {
@@ -69,7 +69,7 @@ declare class Conference implements IConference {
69
69
  tim?: ChatSDK;
70
70
  }): Promise<void>;
71
71
  logout(): Promise<void>;
72
- getRoomEngine(): any;
72
+ getRoomEngine(): TUIRoomEngine | null;
73
73
  on(eventType: RoomEvent, callback: (data?: LanguageOption | ThemeOption | any) => void): void;
74
74
  off(eventType: RoomEvent, callback: (data?: LanguageOption | ThemeOption | any) => void): void;
75
75
  start(roomId: string, params?: StartParams): Promise<void>;
@@ -1,3 +1,4 @@
1
+ import { TRTCVideoResolution } from '@tencentcloud/tuiroom-engine-electron';
1
2
  export declare enum SpeechMode {
2
3
  FREE_SPEECH = "FreeSpeech",
3
4
  APPLY_SPEECH = "ApplySpeech"
@@ -13,7 +14,7 @@ export declare enum MediaDeviceState {
13
14
  UNAVAILABLE = "UNAVAILABLE"
14
15
  }
15
16
  export declare const SMALL_VIDEO_ENC_PARAM: {
16
- videoResolution: any;
17
+ videoResolution: TRTCVideoResolution;
17
18
  videoFps: number;
18
19
  videoBitrate: number;
19
20
  };
@@ -1 +1,2 @@
1
- export default function useGetRoomEngine(): Record<string, any>;
1
+ import TUIRoomEngine from '@tencentcloud/tuiroom-engine-electron';
2
+ export default function useGetRoomEngine(): Record<string, TUIRoomEngine | null>;
@@ -1,4 +1,5 @@
1
1
  import { EventType, IRoomService, RoomInitData, RoomParam } from './types';
2
+ import TUIRoomEngine from '@tencentcloud/tuiroom-engine-electron';
2
3
  import { UserInfo } from '../stores/room';
3
4
  import { ComponentConfig, ComponentManager, ComponentName } from './manager/componentManager';
4
5
  import { ConfigManager, LanguageOption, Theme } from './manager/configManager';
@@ -17,10 +18,10 @@ import { ErrorHandler } from './function/errorHandler';
17
18
  import { ChatManager } from './manager/chatManager';
18
19
  import { WidgetsManager } from './manager/widgetsManager';
19
20
  import { AITask } from './function/aiTask';
20
- export declare const roomEngine: Record<string, any>;
21
+ export declare const roomEngine: Record<string, TUIRoomEngine | null>;
21
22
  export declare class RoomService implements IRoomService {
22
23
  static instance?: RoomService;
23
- roomEngine: Record<string, any>;
24
+ roomEngine: Record<string, TUIRoomEngine | null>;
24
25
  t: any;
25
26
  private emitter;
26
27
  componentManager: ComponentManager;
@@ -3,7 +3,7 @@ export declare function getNewStreamInfo(userId: string, streamType?: TUIVideoSt
3
3
  userId: string;
4
4
  hasAudioStream: boolean;
5
5
  hasVideoStream: boolean;
6
- streamType: any;
6
+ streamType: TUIVideoStreamType;
7
7
  isLoading: boolean;
8
8
  playDomMap: Map<any, any>;
9
9
  timestamp: number;
@@ -17,12 +17,12 @@ export declare function getNewUserInfo(userId: string): {
17
17
  hasVideoStream: boolean;
18
18
  hasScreenStream: boolean;
19
19
  isMessageDisabled: boolean;
20
- userRole: any;
20
+ userRole: TUIRole;
21
21
  onSeat: boolean;
22
22
  isUserApplyingToAnchor: boolean;
23
23
  isInvitingUserToAnchor: boolean;
24
24
  isInRoom: boolean;
25
- status: any;
25
+ status: TUIInvitationStatus;
26
26
  timestamp: number;
27
27
  };
28
28
  export type StreamInfo = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/roomkit-electron-vue3",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -20,11 +20,11 @@
20
20
  "dependencies": {
21
21
  "@tencentcloud/chat": "latest",
22
22
  "@tencentcloud/tui-core": "latest",
23
- "@tencentcloud/tuiroom-engine-electron": "^2.9.0",
23
+ "@tencentcloud/tuiroom-engine-electron": "2.9.1",
24
24
  "@tencentcloud/chat-uikit-engine": "2.3.3",
25
25
  "@tencentcloud/chat-uikit-vue": "2.3.3",
26
26
  "@tencentcloud/universal-api": "^2.0.9",
27
- "@tencentcloud/uikit-base-component-vue3": "^0.3.0",
27
+ "@tencentcloud/uikit-base-component-vue3": "^0.3.1",
28
28
  "@tiptap/core": "^2.6.6",
29
29
  "@tiptap/extension-document": "^2.6.6",
30
30
  "@tiptap/extension-image": "^2.6.6",