diff --git a/src/homepage/routes.ts b/src/homepage/routes.ts index 9b726f9..97e7185 100644 --- a/src/homepage/routes.ts +++ b/src/homepage/routes.ts @@ -1,4 +1,8 @@ -import type { API_HA_DeskPosition, TidalGetCurrent } from "@dpu/shared"; +import type { + API_HA_DeskPosition, + GristRecord_PersonalGoals, + TidalGetCurrent, +} from "@dpu/shared"; import type { FastifyInstance } from "fastify"; import { z } from "zod"; import type { HomepageService } from "./service.js"; @@ -22,6 +26,9 @@ export async function homepageRoutes( ha_desk_position: z.custom().nullable(), ha_temp: z.string().nullable(), tidal_current: z.custom().nullable(), + grist_personal_goals: z + .custom() + .nullable(), }), 418: z.object({ error: z.string(),