This commit is contained in:
nmcnew
2024-09-14 14:35:02 -06:00
parent 693b204471
commit 7a1700ca71
25 changed files with 1751 additions and 338 deletions

View File

@@ -0,0 +1,9 @@
import prisma from '$lib/prisma';
import type { PageServerLoad } from './$types';
export const load = (async () => {
const response = await prisma.event.count();
return { eventCount: response };
}) satisfies PageServerLoad;