11 lines
400 B
TypeScript
11 lines
400 B
TypeScript
import { LobbyModel, SessionResponse } from "./api-client";
|
|
|
|
// Re-export types from api-client for backwards compatibility
|
|
export type Lobby = LobbyModel;
|
|
|
|
// Extended Session type that allows name to be null initially (before user sets it)
|
|
export type Session = Omit<SessionResponse, "name"> & {
|
|
name: string | null;
|
|
has_media?: boolean; // Whether this session provides audio/video streams
|
|
};
|