UNPKG

identify-media

Version:

Analyse file path and content to make search criteria for media APIs

43 lines 947 B
export interface OmdbSearchQuery { s: string; y?: string; type?: string; } export declare const isOmdbSearchQuery: (possible: unknown) => possible is OmdbSearchQuery; export interface OmdbEntry { Title: string; Year: string; Released: string; Rated: string; Runtime: string; imdbID: string; Type: string; Poster: string; Genre: string; Director: string; Writer: string; Actors: string; Plot: string; Language: string; Country: string; Awards: string; Metascore: string; imdbRating: string; imdbVotes: string; totalSeasons: string; Response: string; DVD: string; BoxOffice: string; Production: string; Website: string; Ratings: { Source: string; Value: string; }[]; } export interface OmdbSearchResponse { Error?: string; Response?: string; Search?: OmdbEntry[]; } //# sourceMappingURL=types.d.ts.map