Fix "User Added Question" Label in Email and Calendar Invite (#7559)
* Show label in email and calendar invite and send label as well as name in webhook * Make common code reusable --------- Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
6f8ea490d0
commit
ce8e1d52da
6 files changed
+75
-22
No files matched your search
Vendored
+14
-2
@@ -165,10 +165,22 @@ export interface CalendarEvent {
|
||||
seatsPerTimeSlot?: number | null;
|
||||
|
||||
// It has responses to all the fields(system + user)
|
||||
responses?: Prisma.JsonObject | null;
|
||||
responses?: Record<
|
||||
string,
|
||||
{
|
||||
value: string | string[];
|
||||
label: string;
|
||||
}
|
||||
> | null;
|
||||
|
||||
// It just has responses to only the user fields. It allows to easily iterate over to show only user fields
|
||||
userFieldsResponses?: Prisma.JsonObject | null;
|
||||
userFieldsResponses?: Record<
|
||||
string,
|
||||
{
|
||||
value: string | string[];
|
||||
label: string;
|
||||
}
|
||||
> | null;
|
||||
}
|
||||
|
||||
export interface EntryPoint {
|
||||
|
||||
Reference in new issue
Block a user