feat(booking): move event and ticket configuration to database

Replace hardcoded event details and ticket types with dynamic DB records
Add booking-config API endpoint to serve active event settings
This commit is contained in:
2026-05-04 10:09:08 +08:00
parent 06165f80db
commit 3f7025c8e4
13 changed files with 970 additions and 342 deletions

View File

@@ -0,0 +1,5 @@
import { getPublicBookingConfig } from '../../utils/booking-repository'
export default defineEventHandler(async () => {
return await getPublicBookingConfig()
})