better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
21 lines (19 loc) • 334 B
text/typescript
/**
* Std id object with all ids that can be provided
*/
export interface TraktApiIds {
trakt: number;
slug: string;
imdb?: string;
tmdb?: number;
tvdb?: number;
tvrage?: number;
}
/**
* A generic media object used by trakt
*/
export interface TraktApiContent {
title: string;
year: number;
ids: TraktApiIds;
}