ai-voicebot/client/src/GlobalContext.tsx
2025-09-03 17:04:31 -07:00

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
};