fix: clean up hotel and its typings
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user