mirror of
https://github.com/p-stream/providers.git
synced 2026-05-09 18:41:06 +00:00
10 lines
336 B
TypeScript
10 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);
|
|
}
|