UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

47 lines (40 loc) 647 B
export interface InterceptRouteParams { /** * 请求路径 */ path: string; /** * 来源类型:'link-click', 'push-state', 'replace-state' */ source: 'link-click' | 'push-state' | 'replace-state'; /** * 完整URL */ url: string; } export interface InterceptRouteResponse { /** * 错误信息 (如果有) */ error?: string; /** * 是否已拦截 */ intercepted: boolean; /** * 原始路径 */ path: string; /** * 原始来源 */ source: string; /** * 子路径 (如果有) */ subPath?: string; /** * 目标窗口标识符 */ targetWindow?: string; }