2023-01-28 22:09:27 +05:30
|
|
|
import cleanTitle from 'src/utils/cleaners/title';
|
|
|
|
import title from 'src/utils/fetchers/title';
|
2022-09-11 19:37:24 +05:30
|
|
|
|
|
|
|
// 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'];
|