Files
DeepTutor/web/lib/mastery-path-navigation.ts
2026-08-12 16:11:35 +08:00

9 lines
306 B
TypeScript

/** Build a fresh chat URL associated with existing persistent mastery state. */
export function newMasteryPathChatUrl(masteryPathId: string): string {
const params = new URLSearchParams({
capability: "mastery_path",
mastery_path_id: masteryPathId,
});
return `/home?${params.toString()}`;
}