@naviedu/room-platform-react 0.0.46 → 0.0.47

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 CHANGED
@@ -232,7 +232,7 @@ declare type RoomPlatformChatIntegration = {
232
232
 
233
233
  declare interface RoomPlatformChatRoom {
234
234
  roomId: string;
235
- roomType: 'group';
235
+ roomType: 'group' | 'direct';
236
236
  label?: string;
237
237
  permissions: string[];
238
238
  }
@@ -539,12 +539,13 @@ export declare type RoomPlatformPrivateRoomRuntimeState = {
539
539
  setIsAcceptingPrivateRoom: (value: boolean) => void;
540
540
  };
541
541
 
542
- export declare function RoomPlatformPrivateRoomStage({ callerExternalActorId, studentExternalActorId, activeScreenShareExternalActorId, controlBar, whiteboard, }: RoomPlatformPrivateRoomStageProps): JSX.Element;
542
+ export declare function RoomPlatformPrivateRoomStage({ callerExternalActorId, studentExternalActorId, activeScreenShareExternalActorId, chat, controlBar, whiteboard, }: RoomPlatformPrivateRoomStageProps): JSX.Element;
543
543
 
544
544
  export declare type RoomPlatformPrivateRoomStageProps = {
545
545
  callerExternalActorId: string;
546
546
  studentExternalActorId: string;
547
547
  activeScreenShareExternalActorId?: string;
548
+ chat?: ReactNode;
548
549
  controlBar?: ReactNode;
549
550
  whiteboard?: ReactNode;
550
551
  };
@@ -678,6 +679,7 @@ declare interface RoomPrivateRoomConnection {
678
679
  tokenExpiresAt: string;
679
680
  publishEnabled: boolean;
680
681
  permissions: RoomPrivateRoomPermission[];
682
+ chat?: RoomPlatformChatIntegration;
681
683
  }
682
684
 
683
685
  declare type RoomPrivateRoomPermission = 'media:publish' | 'media:subscribe' | 'media:share_screen';