detail page port

This commit is contained in:
nicwands
2026-05-29 11:22:56 -04:00
parent b85d28c142
commit e22d75c50a
65 changed files with 7006 additions and 4044 deletions

10
libs/resolveEventType.ts Normal file
View File

@@ -0,0 +1,10 @@
enum EVENT_TYPE {
'Ticket Purchase' = 'product',
'Free RSVP' = 'rsvp',
}
export const resolveEventType = (
label: 'Ticket Purchase' | 'Free RSVP',
): EVENT_TYPE => {
return EVENT_TYPE[label]
}