added Collection endpoint and types, buildable option interfaces
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export * from './options';
|
||||
export * from './certification';
|
||||
export * from './credits';
|
||||
export * from './configuration';
|
||||
@@ -12,6 +13,7 @@ export * from './review';
|
||||
export * from './trending';
|
||||
export * from './find';
|
||||
export * from './keywords';
|
||||
export * from './collections';
|
||||
|
||||
export interface AuthorDetails {
|
||||
name: string;
|
||||
@@ -49,13 +51,6 @@ export interface Person {
|
||||
popularity: number;
|
||||
}
|
||||
|
||||
export interface Collection {
|
||||
id:number;
|
||||
backdrop_path: string;
|
||||
name: string;
|
||||
poster_path: string;
|
||||
}
|
||||
|
||||
export interface Movie {
|
||||
id: number;
|
||||
logo_path: string;
|
||||
|
||||
Reference in New Issue
Block a user