feat(admin): scaffold admin module and add GET /permissions endpoint

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #91.
This commit is contained in:
2026-04-22 13:30:19 +02:00
parent b8d359a507
commit 9168ca53da
5 changed files with 72 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import {
getPartialsConfig,
makePartials,
} from "$root/defaults/makePartials.tsx";
import { FreshContext } from "$fresh/server.ts";
import { State } from "$root/routes/_middleware.ts";
export async function Index(request: Request, context: FreshContext<State>) {
return <h2>Welcome to Admin.</h2>;
}
export const config = getPartialsConfig();
export default makePartials(Index);