update schema
This commit is contained in:
@@ -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<API_HA_DeskPosition>().nullable(),
|
||||
ha_temp: z.string().nullable(),
|
||||
tidal_current: z.custom<TidalGetCurrent>().nullable(),
|
||||
grist_personal_goals: z
|
||||
.custom<GristRecord_PersonalGoals>()
|
||||
.nullable(),
|
||||
}),
|
||||
418: z.object({
|
||||
error: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user