feat: Implement initial with admin and mobile clients, authentication, data models, and lead generation scripts.

This commit is contained in:
2026-02-19 16:18:34 +01:00
parent c53a71a5f9
commit 5e2d5fb3ae
32 changed files with 2283 additions and 420 deletions

View File

@@ -12,13 +12,16 @@ export type {
Stelle,
Termin,
TerminAnmeldung,
Plan,
MemberStatus,
OrgRole,
NewsKategorie,
TerminTyp,
} from '@prisma/client'
// SQLite has no native enum support — define string union types manually.
// These mirror the valid values stored in the DB (enforced via Zod at the API layer).
export type Plan = 'pilot' | 'standard' | 'pro' | 'verband'
export type MemberStatus = 'aktiv' | 'ruhend' | 'ausgetreten'
export type OrgRole = 'admin' | 'member'
export type NewsKategorie = 'Wichtig' | 'Pruefung' | 'Foerderung' | 'Veranstaltung' | 'Allgemein'
export type TerminTyp = 'Pruefung' | 'Versammlung' | 'Kurs' | 'Event' | 'Sonstiges'
// =============================================
// UI Display Helpers
// =============================================