From f0930e98fecf4ae6de08c606db3864bc93058088 Mon Sep 17 00:00:00 2001 From: seoko97 Date: Wed, 4 Dec 2024 19:19:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20DashboardAiSummaryResponseSchema=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/types/src/dashboard/getDashboardList.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/types/src/dashboard/getDashboardList.ts b/packages/types/src/dashboard/getDashboardList.ts index 23363e3c..0c1349db 100644 --- a/packages/types/src/dashboard/getDashboardList.ts +++ b/packages/types/src/dashboard/getDashboardList.ts @@ -62,8 +62,13 @@ export const DashboardApplicantsResponseSchema = z.array( export type DashboardApplicantsResponse = z.infer; -export const DashboardAiSummaryResponseSchema = z.object({ - summary: z.array(z.string()), -}); +export const DashboardAiSummaryResponseSchema = z + .object({ + id: z.number(), + summaryText: z.string().nullable(), + audioUrl: z.string(), + createdAt: z.string().datetime(), + }) + .nullable(); export type DashboardAiSummaryResponse = z.infer;