Add optional RSVP field to guest schema
This commit introduces an optional `rsvp` field to the guest-related types and schemas. The field is nullable and references the `RSVPSchema`, allowing better handling of RSVP data in the application.
This commit is contained in:
@@ -2427,6 +2427,16 @@ export const GuestReadSchema = {
|
||||
type: "string",
|
||||
title: "Invitation Code",
|
||||
},
|
||||
rsvp: {
|
||||
anyOf: [
|
||||
{
|
||||
$ref: "#/components/schemas/RSVPSchema",
|
||||
},
|
||||
{
|
||||
type: "null",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
type: "object",
|
||||
required: [
|
||||
|
||||
@@ -370,6 +370,7 @@ export type GuestRead = {
|
||||
actual_additional_guests: number;
|
||||
is_blocked: boolean;
|
||||
invitation_code: string;
|
||||
rsvp?: RsvpSchema | null;
|
||||
};
|
||||
|
||||
export type GuestStatus =
|
||||
|
||||
Reference in New Issue
Block a user