diff --git a/types/schema.d.ts b/types/schema.d.ts index 03fbd72..5077207 100644 --- a/types/schema.d.ts +++ b/types/schema.d.ts @@ -1,13 +1,16 @@ import type { UUID } from 'crypto'; -export type Season = 'SPRING' | 'SUMMER' | 'FALL' | 'WINTER'; +export type SeasonEnum = 'SPRING' | 'SUMMER' | 'FALL' | 'WINTER'; + +export type DifficultyLevelEnum = 'EASY' | 'MODERATE' | 'HARD'; export interface Plant { id: UUID; plant_name: string; state: string; - harvest_season: Season; - water_num_times_per_week: number; + harvest_season: SeasonEnum; + water_frequency: string; + weed_frequency: string; plant_seed_indoors_start: string; plant_seed_indoors_end: string; plant_seed_outdoors_start: string; @@ -16,10 +19,10 @@ export interface Plant { plant_transplant_end: string; harvest_start: string; harvest_end: string; - water_inches_per_week: number; - harvest_days_after_plant: number; - sunlight_required: string; beginner_friendly: boolean; plant_tips: string; img: string; + difficulty_level: DifficultyLevelEnum; + sunlight_min_hours: int; + sunlight_max_hours: int; }