working connection between frontend and backend

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-10-02 12:20:27 +02:00
parent f591abe341
commit 1c19ca4ee2
4 changed files with 17 additions and 16 deletions

View file

@ -1,15 +1,15 @@
export type movieObject = {
Poster: string
Title: string
Type: string
Year: string
poster: string
title: string
type: string
year: string
imdbID: string
}
export type modalMovieType = movieObject | null
export type movieResponse = {
Response: string
response: string
totalResults: string
Search: movieObject[]
search: movieObject[]
}