Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -0,0 +1,44 @@
// R-P6 (P6 CRM core, Variante A) — pure route-path builders for the typed CRM
// URLs. Loaders build these and pass them into the View-Models / route data so
// the VMs and components stay routing-agnostic. Client-safe (no server imports)
// so a route `handle` export can reference CRM_MODULE_KEY without dragging the
// server-only access guard into the client bundle.
// Tenant connector module key (the seeded entitlement key — see crmAccess.server).
export const CRM_MODULE_KEY = "crm-basic";
export function contactsPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts`;
}
export function contactNewPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/new`;
}
export function contactDetailPath(tenantSlug: string, kontaktId: string): string {
return `/${tenantSlug}/contacts/${kontaktId}`;
}
export function companiesPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/companies`;
}
export function companyDetailPath(tenantSlug: string, kontaktId: string): string {
return `/${tenantSlug}/contacts/companies/${kontaktId}`;
}
export function contactsExportPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/export`;
}
export function customFieldsAdminPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/admin/custom-fields`;
}
export function tagsAdminPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/admin/tags`;
}
export function duplicatesAdminPath(tenantSlug: string): string {
return `/${tenantSlug}/contacts/admin/duplicates`;
}