mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:43:25 +00:00
11 lines
336 B
TypeScript
11 lines
336 B
TypeScript
import { gatherAllEmbeds, gatherAllSources } from '@/providers/all';
|
|
import { Embed, Sourcerer } from '@/providers/base';
|
|
|
|
export function getBuiltinSources(): Sourcerer[] {
|
|
return gatherAllSources().filter((v) => !v.disabled);
|
|
}
|
|
|
|
export function getBuiltinEmbeds(): Embed[] {
|
|
return gatherAllEmbeds().filter((v) => !v.disabled);
|
|
}
|