Archived
Type supervisor forms, manual registration and events pages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user