This PR adds support for optional attendees by updating the Prisma schema, TypeScript types, and the ICS generation logic for immediate stability.
https://github.com/user-attachments/assets/076091ff-cf6c-4be4-af76-e03b728e3068
https://github.com/user-attachments/assets/04bdc798-efbd-4c84-84e4-66276577734b
Environment Variables: None required beyond the standard .env setup.
Minimal Test Data: An event type with at least one team member.
Happy Path (Expected): * Input: Create a booking where a team member has isOptional: true in the database/payload.
Output: Download the .ics file from the confirmation email. Open it in a text editor (like Notepad). You should see ROLE=OPT-PARTICIPANT attached to that specific attendee’s email.
Verification: Confirm that the isOptional field in packages/types/Calendar.d.ts allows the project to build without TypeScript errors (as shown in my terminal screenshot).
tykerestes-ux
@tykerestes-ux
Cal.com, Inc.
@cal