diff --git a/client/src/types.tsx b/client/src/types.tsx index db04168..19432f4 100644 --- a/client/src/types.tsx +++ b/client/src/types.tsx @@ -1,56 +1,57 @@ export interface Gift { - ID : number - Name: string; - Price: number; - Link: string; - Description: string; - Demographic: string; - GiftCollections: GiftCollection[]; + ID: number; + Name: string; + Price: number; + Link: string; + Description: string; + Demographic: string; + GiftCollections: GiftCollection[]; + Category: string[]; } export interface GiftRequest { - ID : number - CustomerId: number; - GiftResponseId: number | null; - RecipientName: string; - RecipientAge: number; - Occasion: string[]; - RecipientInterests: string[]; - BudgetMax: number; - BudgetMin: number; - GiftResponse: GiftResponse | null; - DateNeeded: string; + ID: number; + CustomerId: number; + GiftResponseId: number | null; + RecipientName: string; + RecipientAge: number; + Occasion: string[]; + RecipientInterests: string[]; + BudgetMax: number; + BudgetMin: number; + GiftResponse: GiftResponse | null; + DateNeeded: string; } export interface GiftCollection { - ID : number - CustomerId: number | null; - Customer: Customer; - CollectionName: string; - Gifts: Gift[]; + ID: number; + CustomerId: number | null; + Customer: Customer; + CollectionName: string; + Gifts: Gift[]; } export interface GiftResponse { - ID : number - GiftCollection: GiftCollection; - GiftCollectionId: number; - CustomMessage: string; + ID: number; + GiftCollection: GiftCollection; + GiftCollectionId: number; + CustomMessage: string; } export interface User { - ID : number - Email: string; - FirstName: string; - LastName: string; - Password: string; + ID: number; + Email: string; + FirstName: string; + LastName: string; + Password: string; } export interface Customer { - ID : number - UserId: number; + ID: number; + UserId: number; } export interface Admin { - ID : number - UserId: number; -} \ No newline at end of file + ID: number; + UserId: number; +}