ai-chatbot/apps/editor/lib/navigation.ts
2026-02-16 13:43:19 +09:00

16 lines
302 B
TypeScript

/**
* Navigation helpers for property-based routing
*/
export function getEditorUrl(propertyId: string): string {
return `/editor/${propertyId}`
}
export function getViewerUrl(propertyId: string): string {
return `/viewer/${propertyId}`
}
export function getHomeUrl(): string {
return '/'
}