gatsby-source-trakt-tmdb
Version:
Gatsby source plugin for using data from Trakt.TV combined with TMDB on your website
20 lines (19 loc) • 499 B
TypeScript
export interface PluginOptions {
username: string;
traktApiKey: string;
tmdbApiKey?: string;
language?: string;
limit?: number | Limits;
}
export interface Limits {
watchedMovies: number;
watchedShows: number;
watchlistMovies: number;
watchlistShows: number;
}
export declare const sourceNodes: ({ actions, createNodeId, store, cache }: {
actions: any;
createNodeId: any;
store: any;
cache: any;
}, pluginOptions: PluginOptions) => Promise<void>;