Feat/SW-1546 list ancillaries my stay * feat(SW-1546): foundation for listing ancillaries * feat(SW-1546): foundation for listing ancillaries * feat(SW-1546): refactor type * feat(SW-1546): fix date format * feat(SW-1546): refactor usestate * feat(SW-1546): refactor typing * feat(SW-1546): refactor types * feat(SW-1546): responsive width on modal * feat(SW-1546): update design * feat(SW-1546): rebase master * feat(SW-1546): show points only if logged in * feat(SW-1546): always show points * feat(SW-1546): small fix * feat(SW-1546): remove spread object * feat(SW-1546): fix import order Approved-by: Simon.Emanuelsson
20 lines
579 B
TypeScript
20 lines
579 B
TypeScript
import type { z } from "zod"
|
|
|
|
import type {
|
|
ancillaryPackageInputSchema,
|
|
breakfastPackageInputSchema,
|
|
roomPackagesInputSchema,
|
|
} from "@/server/routers/hotels/input"
|
|
import type { packagesSchema } from "@/server/routers/hotels/output"
|
|
|
|
export interface BreackfastPackagesInput
|
|
extends z.input<typeof breakfastPackageInputSchema> {}
|
|
|
|
export interface AncillaryPackagesInput
|
|
extends z.input<typeof ancillaryPackageInputSchema> {}
|
|
|
|
export interface PackagesInput
|
|
extends z.input<typeof roomPackagesInputSchema> {}
|
|
|
|
export type Packages = z.output<typeof packagesSchema>
|