Files
EpicNext-Cms/src/features/housekeeping/route-handlers.ts
T

17 lines
557 B
TypeScript

import type { ReactNode } from "react";
import type { HousekeepingCapabilityContext } from "./foundation/contracts";
import type { HousekeepingRouteMatch } from "./foundation/routing/match-route";
export interface HousekeepingPageInput {
readonly context: HousekeepingCapabilityContext;
readonly match: HousekeepingRouteMatch;
}
export interface HousekeepingRouteHandler {
routeId: string;
render(input: HousekeepingPageInput): Promise<ReactNode>;
}
export const HOUSEKEEPING_ROUTE_HANDLERS: readonly HousekeepingRouteHandler[] =
Object.freeze([]);