feat(SW-176): add enum

This commit is contained in:
Fredrik Thorsson
2024-08-30 13:53:12 +02:00
parent 493ceb5d72
commit e26a2aec85
8 changed files with 18 additions and 8 deletions

View File

@@ -500,7 +500,7 @@ const bestPricePerNightSchema = z.object({
const linksSchema = z.object({
links: z.array(
z.object({
url: z.string(),
url: z.string().url(),
type: z.string(),
})
),