better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
16 lines (11 loc) • 369 B
text/typescript
import { TraktApiContent } from '../traktTypes';
export type RecommendedPeriod = 'daily' | 'weekly' | 'monthly' | 'yearly' | 'all';
export interface RecommendedBase {
user_count: number;
}
export interface RecommendedMovie extends RecommendedBase {
movie: TraktApiContent;
}
export interface RecommendedShow extends RecommendedBase {
show: TraktApiContent;
}