feat: prisma schema, groups API, deploy workflow

This commit is contained in:
2026-04-23 21:41:11 +05:00
parent 4c50036172
commit 65cf8ca01f
285 changed files with 24602 additions and 25890 deletions
+8
View File
@@ -0,0 +1,8 @@
import { requireAuth } from '~/server/utils/auth'
import { groups } from '~/server/utils/db'
export default defineEventHandler(async (event) => {
requireAuth(event)
const allGroups = Array.from(groups.values()).filter(g => g.isPublic)
return { groups: allGroups }
})