diff --git a/db/rentIndex.sqlite b/db/rentIndex.sqlite index 4b83aad..12a4fd8 100644 Binary files a/db/rentIndex.sqlite and b/db/rentIndex.sqlite differ diff --git a/src/index.ts b/src/index.ts index d02db5d..f07e08c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,6 +26,7 @@ try { 2017: fetchDistinctStreets(db, "2017"), 2019: fetchDistinctStreets(db, "2019"), 2023: fetchDistinctStreets(db, "2023"), + 2024: fetchDistinctStreets(db, "2024"), }; } catch (err) { console.error("Error opening database", err); diff --git a/src/utils/validate.ts b/src/utils/validate.ts index d7b8a95..f6337da 100644 --- a/src/utils/validate.ts +++ b/src/utils/validate.ts @@ -21,7 +21,7 @@ const objZipCodeSchema = z }); export const rentIndexYearSchema = z.object({ - rentIndexYear: z.enum(["2017", "2019", "2021", "2023"]), + rentIndexYear: z.enum(["2017", "2019", "2021", "2023", "2024"]), }); export const residentialStatusSchema = z.object({