feat: Implement initial with admin and mobile clients, authentication, data models, and lead generation scripts.
This commit is contained in:
@@ -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
|
||||
// =============================================
|
||||
|
||||
Reference in New Issue
Block a user