fix(housekeeping): connect hotel asset ownership
This commit is contained in:
1 parent
abc707cfb2
commit
020c06f172
3 files changed
+13
-2
No files matched your search
@@ -4,6 +4,7 @@ import {
|
||||
type CanonicalHousekeepingHref,
|
||||
type HousekeepingRouteDefinition,
|
||||
} from "../../foundation/contracts";
|
||||
import { HOTEL_ASSET_QUERY_OWNERSHIP } from "./queries/assets";
|
||||
|
||||
export const HOTEL_ROUTE_GROUPS = ["rooms", "navigation", "radio"] as const;
|
||||
export type HotelRouteGroup = (typeof HOTEL_ROUTE_GROUPS)[number];
|
||||
@@ -88,12 +89,12 @@ export function hotelRouteGroup(id: HotelPrimaryRouteId): HotelRouteGroup {
|
||||
export const HOTEL_ASSET_CANONICAL_ROUTES = Object.freeze([
|
||||
Object.freeze({
|
||||
legacyPath: "/admin/badges",
|
||||
routeId: "economy.rewards.badges",
|
||||
routeId: HOTEL_ASSET_QUERY_OWNERSHIP.badges,
|
||||
href: "/ase/economy/rewards/badges",
|
||||
}),
|
||||
Object.freeze({
|
||||
legacyPath: "/admin/sounds",
|
||||
routeId: "economy.rewards.sounds",
|
||||
routeId: HOTEL_ASSET_QUERY_OWNERSHIP.sounds,
|
||||
href: "/ase/economy/rewards/sounds",
|
||||
}),
|
||||
] as const);
|
||||
Reference in new issue
Block a user