libremdb/src/interfaces/shared/title.ts
zyachel 9891204f5a feat: major rewrite
the application is now rewritten in next.js. this commit also adds the ability to see trailers, did you know, more like this, etc. on title page.

BREAKING CHANGE: the whole application is rewritten from scratch.
2022-09-24 09:31:09 -04:00

26 lines
629 B
TypeScript

import cleanTitle from '../../utils/cleaners/title';
import title from '../../utils/fetchers/title';
export type AxiosTitleRes = Awaited<ReturnType<typeof title>>;
// for full title
type Title = ReturnType<typeof cleanTitle>;
export type { Title as default };
export type Basic = Title['basic'];
export type Media = Title['media'];
export type Cast = Title['cast'];
export type DidYouKnow = Title['didYouKnow'];
export type Info = Pick<
Title,
'meta' | 'accolades' | 'keywords' | 'details' | 'boxOffice' | 'technicalSpecs'
>;
export type Reviews = Title['reviews'];
export type MoreLikeThis = Title['moreLikeThis'];