Added ticket and participant creation. Revised Gate kiosk.

This commit is contained in:
Pen Anderson 2026-03-04 14:19:51 -06:00
parent d30ee18e77
commit 3906b73c61
5 changed files with 231 additions and 117 deletions

View file

@ -66,6 +66,7 @@ export const api = {
},
tickets: {
list: () => apiJSON('/api/tickets'),
create: (data) => apiJSON('/api/tickets', { method: 'POST', body: JSON.stringify(data) }),
checkIn: (id) => apiJSON(`/api/tickets/${id}/checkin`, { method: 'POST' }),
generateCodes: () => apiJSON('/api/tickets/generate-codes', { method: 'POST' }),
emailCode: (id) => apiJSON(`/api/tickets/${id}/email-code`, { method: 'POST' }),