Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -1,13 +1,6 @@
// P17 HR-Hub core (AK-P17a) — pure route-path builders for HR URLs. Loaders build
// these and pass them into the View-Models so the VMs stay routing-agnostic.
//
// NOTE on the admin password-safe path: the designer brief writes it as
// "/admin/hr/password-safe". The platform `admin/` area is for cross-tenant
// SuperAdmin/operator screens; the HR vault admin view is TENANT-scoped (gated by
// the tenant permission hr.passwordsafe.admin), so it correctly lives under the
// tenant app at `/<tenant>/hr/password-safe/admin`. (Confirm with David in the
// D-HR delta.)
// Tenant connector module key. It lives in this client-safe module (not in
// hrAccess.server) so a route `handle` export can reference it without dragging
// the server-only access guard into the client bundle (RR code-splitting only
@@ -30,52 +23,20 @@ export function hrLocationsPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/locations`;
}
export function hrLocationDetailPath(tenantSlug: string, locationId: string): string {
return `/${tenantSlug}/hr/locations/${locationId}`;
}
export function hrMyDocumentsPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/my-documents`;
}
export function hrPasswordSafePath(tenantSlug: string): string {
return `/${tenantSlug}/hr/password-safe`;
}
export function hrVaultDetailPath(tenantSlug: string, vaultId: string): string {
return `/${tenantSlug}/hr/password-safe/${vaultId}`;
}
export function hrVaultRevealPath(tenantSlug: string, vaultId: string): string {
return `/${tenantSlug}/hr/password-safe/${vaultId}/reveal`;
}
export function hrVaultExportPath(tenantSlug: string, vaultId: string): string {
return `/${tenantSlug}/hr/password-safe/${vaultId}/export`;
}
export function hrAdminPasswordSafePath(tenantSlug: string): string {
return `/${tenantSlug}/hr/admin/password-safe`;
}
// --- AK-P17b workflow paths ------------------------------------------------
export function hrLeavePath(tenantSlug: string): string {
return `/${tenantSlug}/hr/leave`;
}
export function hrLeaveDetailPath(tenantSlug: string, requestId: string): string {
return `/${tenantSlug}/hr/leave/${requestId}`;
}
export function hrSickPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/sick`;
}
export function hrSickCertificatePath(tenantSlug: string, reportId: string): string {
return `/${tenantSlug}/hr/sick/${reportId}/certificate`;
}
export function hrAnnouncementsPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/announcements`;
}
@@ -96,18 +57,10 @@ export function hrAdminPayslipsPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/admin/payslips`;
}
export function hrPayslipOpenPath(tenantSlug: string, payslipId: string): string {
return `/${tenantSlug}/hr/payslips/${payslipId}/open`;
}
export function hrRequestsPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/requests`;
}
export function hrRequestDetailPath(tenantSlug: string, requestId: string): string {
return `/${tenantSlug}/hr/requests/${requestId}`;
}
export function hrAdminRequestTemplatesPath(tenantSlug: string): string {
return `/${tenantSlug}/hr/admin/request-templates`;
}