mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 17:03:26 +00:00
Add builder for adding custom sources
This commit is contained in:
10
src/entrypoint/providers.ts
Normal file
10
src/entrypoint/providers.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { gatherAllEmbeds, gatherAllSources } from '@/providers/all';
|
||||
import { Embed, Sourcerer } from '@/providers/base';
|
||||
|
||||
export function getBuiltinSources(): Sourcerer[] {
|
||||
return gatherAllSources();
|
||||
}
|
||||
|
||||
export function getBuiltinEmbeds(): Embed[] {
|
||||
return gatherAllEmbeds();
|
||||
}
|
Reference in New Issue
Block a user