Type supervisor forms, manual registration and events pages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 11:10:01 +02:00
co-authored by Claude Opus 5.5
parent b560d0d340
commit 0a8788afff
4 changed files with 204 additions and 163 deletions
+10 -1
View File
@@ -93,6 +93,8 @@ export type EventForm = {
fields: EventFormField[];
};
export type EventAttachment = { id: string; eventId?: string; originalName: string; filename?: string; mimeType: string; size: number; url: string; createdAt?: string };
export type Event = {
id: string;
title: string;
@@ -128,9 +130,13 @@ export type Event = {
contactPhone?: string | null;
contactEmail?: string | null;
createdById?: string | null;
// Supervisor views of an event include who created it and who gets its notifications.
createdBy?: UserSummary | null;
notifyRecipients?: UserSummary[];
redirectUrl?: string | null;
options?: EventOption[];
eventOptions?: EventOption[];
attachments?: EventAttachment[];
form?: EventForm | null;
createdAt?: string;
updatedAt?: string;
@@ -274,7 +280,10 @@ export type Attendee = {
};
export type FormAnswer = { id: string; responseId?: string; fieldId: string; value: string; field?: { label: string } | null };
export type FormResponse = { id: string; registrationId?: string; attendeeId?: string | null; createdAt: string; answers?: FormAnswer[] };
export type FormResponse = {
id: string; registrationId?: string; attendeeId?: string | null; createdAt: string; answers?: FormAnswer[];
registration?: Registration;
};
export type Registration = {
id: string;