added Collection endpoint and types, buildable option interfaces
This commit is contained in:
16
src/types/collections.ts
Normal file
16
src/types/collections.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Movie } from ".";
|
||||
|
||||
export interface Collection {
|
||||
id: number;
|
||||
backdrop_path: string;
|
||||
name: string;
|
||||
poster_path: string;
|
||||
adult: boolean;
|
||||
original_language: string;
|
||||
original_name: string;
|
||||
overview: string;
|
||||
}
|
||||
|
||||
export interface DetailedCollection extends Collection {
|
||||
parts: Movie[]
|
||||
}
|
||||
Reference in New Issue
Block a user