krishnenduroy52 / Dejavu-API

A API to watch movies, anime, web series, and TV shows.
https://dejavumov.vercel.app/
MIT License
6 stars 5 forks source link

add type for Lastest Movies Response #10

Closed Anuragkumarsah closed 1 year ago

Anuragkumarsah commented 1 year ago

Added Type for Latesr Movies Response.

Response format from API: { "currentPage": 1, "hasNextPage": false, "results": [{...}....], "total": 24, "buy me a coffee": "https://www.buymeacoffee.com/krishnendu }

type declaration:

export type ILatestMoviesResponse = { currentPage: number; hasNextPage: boolean; results: ILatestMovie[]; total: number; "buy me a coffee": string; }

export type ILatestMovie = { id: string; title: string; img: string; detail: { rating: string; quality: string; year: string; } }

vercel[bot] commented 1 year ago

Someone is attempting to deploy a commit to a Personal Account owned by @krishnenduroy52 on Vercel.

@krishnenduroy52 first needs to authorize it.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dejavumov ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 7:17am