refactor: add 'clicked' field to ad response schema and update dashboard display

This commit is contained in:
Ardeman
2025-03-18 17:11:30 +08:00
parent d32eb2e7ed
commit 22918b8bdb
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ const adResponseSchema = z.object({
url: z.string(),
start_date: z.string(),
end_date: z.string(),
clicked: z.number(),
})
const adsResponseSchema = z.object({
data: z.array(adResponseSchema),