fix(SW-2659): pass input to userTrackingInfo since lang needs to be passed from client

This commit is contained in:
Arvid Norlin
2025-05-08 12:02:59 +02:00
committed by Michael Zetterberg
parent 8cb63c4947
commit aaffcba94a
3 changed files with 66 additions and 54 deletions

View File

@@ -5,6 +5,9 @@ import { Lang } from "@/constants/languages"
import { signUpSchema } from "@/components/Forms/Signup/schema"
// Query
export const userTrackingInput = z.object({
lang: z.nativeEnum(Lang).optional(),
})
export const staysInput = z
.object({
cursor: z