summaryrefslogtreecommitdiff
path: root/client/src/models.ts
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-08-31 13:33:19 -0700
committerMichael Hunteman <michael@huntm.net>2024-08-31 13:33:19 -0700
commitbecddd40c7f205a9d5643701da95b7a411c827b4 (patch)
treefb50bdc8b9e38db2b76d8097a22cbdf5ae26da52 /client/src/models.ts
parent05ef638bc032473a8b4bfa9be2de2e994c7a1e7c (diff)
Cast party members to guests for expandable row
Diffstat (limited to 'client/src/models.ts')
-rw-r--r--client/src/models.ts17
1 files changed, 6 insertions, 11 deletions
diff --git a/client/src/models.ts b/client/src/models.ts
index 97dce1f..2580d90 100644
--- a/client/src/models.ts
+++ b/client/src/models.ts
@@ -1,17 +1,12 @@
export interface Guest {
- id: number;
- firstName: string;
- lastName: string;
- attendance: string;
- email: string;
- message: string;
- partySize: number;
- partyList: Array<PartyGuest>;
-}
-
-export interface PartyGuest {
+ id?: number;
firstName: string;
lastName: string;
+ attendance?: string;
+ email?: string;
+ message?: string;
+ partySize?: number;
+ partyList?: Array<Guest>;
}
export interface GuestLoginRequest {