Ctrl K
ComunidadGuías…
frontend/src/types/api.tstypescript · @kibot
20/9/2026, 17:19:47
export interface Movie {
  id: string
  title: string
  path: string
  poster_path?: string
  description?: string
  release_date?: string
  duration?: number
}

export interface StreamResponse {
  path: string
  headers: {
    'Content-Type': string
    'Accept-Ranges': string
    'Cache-Control': string
  }
}

export interface MovieDetailsResponse {
  id: string
  title: string
  description?: string
  poster_path?: string
  release_date?: string
  duration?: number
  path: string
}

export interface StreamMovieResponse {
  path: string
  headers: {
    'Content-Type': string
    'Accept-Ranges': string
    'Cache-Control': string
  }
}

export interface ApiError {
  detail?: string
  status_code?: number
}

Comentarios de código