Files
edr-platform/apps/edr-freight-web/backoffice/src/shared/routes/routeConfig.ts
natib21 e6e44e773b fix ui
2026-07-10 11:25:59 +00:00

24 lines
570 B
TypeScript

import { t } from "i18next";
export type ModuleKey = "objective" | "performance";
export const ROUTE_CONFIG: Record<
ModuleKey,
{
basePath: string;
planYearsPath: string;
navLabelKey: string;
}
> = {
performance: {
basePath: "/performance-management",
planYearsPath: "/performance-management/plan-years",
navLabelKey: "nav.performanceManagement",
},
objective: {
basePath: "/objective-management",
planYearsPath: "/objective-management/plan-years",
navLabelKey: "nav.objectiveManagement",
},
};