Add builder for adding custom sources

This commit is contained in:
mrjvs
2023-12-25 01:00:19 +01:00
parent b70d9aaaf7
commit 4a557b8140
46 changed files with 251 additions and 97 deletions

View 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();
}