Merged in chore/move-enter-details (pull request #2778)

Chore/move enter details

Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-09-11 07:16:24 +00:00
parent 15711cb3a4
commit 7dee6d5083
238 changed files with 1656 additions and 1602 deletions

View File

@@ -51,6 +51,7 @@ export const packageSchema = z.object({
requestedPrice: packagePriceSchema,
})
export type BreakfastPackage = z.output<typeof breakfastPackageSchema>
export const breakfastPackageSchema = z.object({
code: z.string(),
description: z.string(),
@@ -61,8 +62,6 @@ export const breakfastPackageSchema = z.object({
PackageTypeEnum.BreakfastChildren,
]),
})
export interface BreakfastPackage
extends z.output<typeof breakfastPackageSchema> {}
export const ancillaryPackageSchema = z.object({
categoryName: z.string(),

View File

@@ -61,6 +61,7 @@ export const productTypePriceSchema = z
})
.merge(partialPriceSchema)
export type ProductTypePointsSchema = z.output<typeof productTypePriceSchema>
export const productTypePointsSchema = z
.object({
localPrice: redemptionSchema,