refactor: infer types from zod validation

This commit is contained in:
Christel Westerberg
2024-04-29 09:53:54 +02:00
parent 00f30811cf
commit 49b7aa89f8
18 changed files with 418 additions and 217 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export type Image = {
height: number
width: number
}
metadata: JSON
metadata: JSON | null
system: {
uid: string
}