Skip to content

Commit

Permalink
fix: DashboardAiSummaryResponseSchema 구조 변경 및 필드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seoko97 committed Dec 4, 2024
1 parent 29a68ef commit f0930e9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/types/src/dashboard/getDashboardList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ export const DashboardApplicantsResponseSchema = z.array(

export type DashboardApplicantsResponse = z.infer<typeof DashboardApplicantsResponseSchema>;

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<typeof DashboardAiSummaryResponseSchema>;

0 comments on commit f0930e9

Please sign in to comment.