feat(housekeeping): deliver hotel operations

This commit is contained in:
Simo committed 2026-08-30 14:34:26 +02:00
1 parent bfc5bd78a1
commit abc707cfb2
43 files changed
+3749 -615

No files matched your search

@@ -0,0 +1,27 @@
import type { HousekeepingPageInput } from "../../../route-handlers";
import { hotelQuery } from "../queries/rooms";
import { HotelPageFrame, type HotelPageProps } from "./hotel-page-frame";
export function HotelNavigationPage(props: HotelPageProps) {
return (
<HotelPageFrame
title="Hotel navigation"
description="Inspect navigator categories and public rooms."
result={props.result}
/>
);
}
export async function renderHotelNavigationPage(input: HousekeepingPageInput) {
const result = await hotelQuery.run(input.context, {
routeId: "hotel.navigation",
params: input.match.params,
});
return (
<HotelNavigationPage
context={input.context}
result={result}
routeId="hotel.navigation"
/>
);
}