fix: clean up hotel and its typings

This commit is contained in:
Simon Emanuelsson
2024-12-17 16:17:25 +01:00
parent ec74af8814
commit 13a164242f
110 changed files with 1931 additions and 1559 deletions

View File

@@ -1,15 +1,15 @@
import { z } from "zod"
import type { z } from "zod"
import {
getBreakfastPackageInputSchema,
getRoomPackagesInputSchema,
import type {
breakfastPackageInputSchema,
roomPackagesInputSchema,
} from "@/server/routers/hotels/input"
import { getRoomPackagesSchema } from "@/server/routers/hotels/output"
import type { packagesSchema } from "@/server/routers/hotels/output"
export interface BreackfastPackagesInput
extends z.input<typeof getBreakfastPackageInputSchema> {}
extends z.input<typeof breakfastPackageInputSchema> {}
export interface PackagesInput
extends z.input<typeof getRoomPackagesInputSchema> {}
extends z.input<typeof roomPackagesInputSchema> {}
export interface Packages extends z.output<typeof getRoomPackagesSchema> {}
export type Packages = z.output<typeof packagesSchema>