refactored Keywords to use Keyword interface
This commit is contained in:
@@ -124,14 +124,4 @@ export interface Video {
|
||||
export interface Videos {
|
||||
id: number;
|
||||
results: Video[];
|
||||
}
|
||||
|
||||
export interface Keywords {
|
||||
id: number;
|
||||
keywords: Array<{
|
||||
id: number;
|
||||
name: string;
|
||||
}>
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -16,4 +16,9 @@ export interface BelongingMovies{
|
||||
export interface Keyword{
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Keywords {
|
||||
id: number;
|
||||
keywords: Keyword[];
|
||||
}
|
||||
Reference in New Issue
Block a user