mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 15:03:26 +00:00
add smashystream
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { UseableFetcher } from '@/fetchers/types';
|
||||
import { MovieMedia, ShowMedia } from '@/main/media';
|
||||
|
||||
export type ScrapeContext = {
|
||||
proxiedFetcher: <T>(...params: Parameters<UseableFetcher<T>>) => ReturnType<UseableFetcher<T>>;
|
||||
@@ -11,3 +12,11 @@ export type EmbedInput = {
|
||||
};
|
||||
|
||||
export type EmbedScrapeContext = EmbedInput & ScrapeContext;
|
||||
|
||||
export type MovieScrapeContext = ScrapeContext & {
|
||||
media: MovieMedia;
|
||||
};
|
||||
|
||||
export type ShowScrapeContext = ScrapeContext & {
|
||||
media: ShowMedia;
|
||||
};
|
||||
|
Reference in New Issue
Block a user