Skip to content

Commit

Permalink
[fix] syntax errors and Date object
Browse files Browse the repository at this point in the history
  • Loading branch information
celinechoiii authored Oct 7, 2024
1 parent a627997 commit 90aec34
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export type TypeOfAct =

// used for volunteers_preference and facilities table
export type TypeOfFacility =
| 'Assisted Living '
| 'Children s Day Care'
| 'Assisted Living'
| "Children's Day Care"
| 'Detention Center'
| 'Developmentally Disabled'
| 'Food Bank'
Expand All @@ -37,6 +37,7 @@ export type Instruments = 'Guitar' | 'Violin' | 'Flute' | 'Trumpet' | 'Bass';

// used for volunteers_preferences table
export type Audience = 'Youth' | 'Adults' | 'Senior ';

// used for events and volunteer_preference tables
export type Genre =
| 'A Cappella'
Expand Down Expand Up @@ -71,7 +72,7 @@ export type Day =
export interface Availabilities {
availability_id: UUID;
facility_id: UUID;
date: string; // date
date: Date; // date
day_of_week: Day;
start_time: string; // timestamptz
end_time: string; // timestamptz
Expand Down Expand Up @@ -127,7 +128,7 @@ export interface Volunteers {
export interface VolunteersPreferences {
volunteer_id: UUID;
city?: string;
genre: Genre;
genre?: Genre;
instruments?: Instruments;
type_of_act?: TypeOfAct;
audience?: Audience;
Expand Down

0 comments on commit 90aec34

Please sign in to comment.