export interface Session {
  id: string;
  appId: string;
  userId: string | null;
  guestId: string | null;
  mode: "stream" | "local";
  status: "starting" | "started" | "ending" | "ended";
  tier: "demo" | "prod" | null;
  serverId: string | null;
  appPid: number | null;
  cirrusPid: number | null;
  streamerPort: number | null;
  playerPort: number | null;
  sfuPort: number | null;
  startAt: string;
  endAt: string | null;
  createdAt: string;
  updatedAt: string;
  app?: {
    id: string;
    name: string;
    title: string;
    gpuLimitMb: number | null;
    psVersion: number | null;
  };
  server?: {
    id: string;
    localIp: string;
    hostname: string;
    type: "stream" | "local";
    tier: "demo" | "prod" | null;
    location: "ru1" | "uae1" | null;
  } | null;
  user?: {
    id: string;
    email: string;
    role: string;
    displayName: string;
  } | null;
}
