fix: clean up hotel and its typings
This commit is contained in:
10
server/routers/hotels/schemas/relationships.ts
Normal file
10
server/routers/hotels/schemas/relationships.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { z } from "zod"
|
||||
|
||||
export const relationshipsSchema = z.object({
|
||||
links: z.array(
|
||||
z.object({
|
||||
type: z.string(),
|
||||
url: z.string().url(),
|
||||
})
|
||||
),
|
||||
})
|
||||
Reference in New Issue
Block a user