fix: rename BedTypeEnums

This commit is contained in:
Christel Westerberg
2024-11-06 13:08:15 +01:00
parent 6d051629d3
commit f4f771ec70
12 changed files with 68 additions and 72 deletions

View File

@@ -1,4 +1,4 @@
export enum BedTypeEnum {
export enum ChildBedMapEnum {
IN_ADULTS_BED = 0,
IN_CRIB = 1,
IN_EXTRA_BED = 2,

View File

@@ -1,9 +1,9 @@
import { Product, RoomConfiguration } from "@/server/routers/hotels/output"
import { BedTypeEnum } from "../../bookingWidget/enums"
import { ChildBedMapEnum } from "../../bookingWidget/enums"
export interface Child {
bed: BedTypeEnum
bed: ChildBedMapEnum
age: number
}