add categories admin page

This commit is contained in:
NeilClack
2026-05-04 09:40:34 -05:00
parent 1615f07974
commit 218a3a3cb0
13 changed files with 59 additions and 1020 deletions
@@ -1,11 +0,0 @@
import type { PageServerLoad } from './$types';
import { getAllModelConfigs } from '$lib/svelte-admin/registry';
export const load: PageServerLoad = async () => {
const models = getAllModelConfigs().map((m) => ({
slug: m.slug,
displayName: m.displayName
}));
return { models };
};