Feat/BOOK-240 hero video

Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Christel Westerberg
This commit is contained in:
Erik Tiekstra
2025-12-11 08:35:27 +00:00
parent cd8b30f2ec
commit f06e466827
33 changed files with 727 additions and 122 deletions

View File

@@ -0,0 +1,11 @@
import { z } from "zod"
export const focalPointSchema = z
.object({
x: z.number().nullish(),
y: z.number().nullish(),
})
.transform(({ x, y }) => ({
x: x ?? 50,
y: y ?? 50,
}))