From 0dc097faadab96b7f857c435b05515ce4e607e71 Mon Sep 17 00:00:00 2001 From: JKong05 Date: Sun, 3 Nov 2024 14:25:22 -0600 Subject: [PATCH] attempting to fix relationship details --- src/interfaces/passenger.interface.ts | 2 +- src/util/test-data.util.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interfaces/passenger.interface.ts b/src/interfaces/passenger.interface.ts index 05a8551..3dec9f9 100644 --- a/src/interfaces/passenger.interface.ts +++ b/src/interfaces/passenger.interface.ts @@ -26,5 +26,5 @@ export interface PassengerData { Age: number; "Latest Trip": string; Notes?: string; - "Relationship": string; + "Relationship": string[]; } diff --git a/src/util/test-data.util.ts b/src/util/test-data.util.ts index 1fdd79d..d3d723e 100644 --- a/src/util/test-data.util.ts +++ b/src/util/test-data.util.ts @@ -118,6 +118,7 @@ export const createTestPassengerData = ( max: 80, }), "Latest Trip": faker.date.recent().toISOString(), + Relationship: faker.helpers.arrayElements(["Mother", "Father", "Step-mother", "Step-father", "Legal Guardian", "Spouse", "Family Member", "Other Caregiver"]), ...manualData, }; };