Merged in feat/sw-2874-move-select-rate (pull request #2750)

Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-09-03 08:30:05 +00:00
parent 8c3f8c74db
commit f7ef58eafa
158 changed files with 708 additions and 735 deletions

View File

@@ -503,6 +503,8 @@ export const breakfastPackagesSchema = z
.transform(({ data }) =>
data.attributes.packages.filter((pkg) => pkg.code?.match(/^(BRF\d+)$/gm))
)
export interface BreakfastPackages
extends z.output<typeof breakfastPackagesSchema> {}
export const ancillaryPackagesSchema = z
.object({

View File

@@ -61,6 +61,8 @@ export const breakfastPackageSchema = z.object({
PackageTypeEnum.BreakfastChildren,
]),
})
export interface BreakfastPackage
extends z.output<typeof breakfastPackageSchema> {}
export const ancillaryPackageSchema = z.object({
categoryName: z.string(),