2
0

(analytics) Improve analytics graph accuracy

This commit is contained in:
Baptiste Arnaud
2023-06-30 12:13:17 +02:00
parent 55ff944ebb
commit b0f25f301b
28 changed files with 512 additions and 157 deletions

View File

@@ -0,0 +1,9 @@
import { z } from 'zod'
export const totalAnswersInBlock = z.object({
blockId: z.string(),
itemId: z.string().optional(),
total: z.number(),
})
export type TotalAnswersInBlock = z.infer<typeof totalAnswersInBlock>