add smashystream

This commit is contained in:
Jorrin
2023-12-17 16:22:42 +01:00
parent 0dc7baeca7
commit 9cdc9b1fad
12 changed files with 234 additions and 32 deletions

View File

@@ -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;
};