- 新增文档模板和导航结构 - 实现服务器基础API路由和控制器 - 添加扩展插件配置和前端框架 - 引入多租户和权限管理模块 - 集成日志和数据库配置 - 添加核心业务模型和类型定义
17 lines
625 B
TypeScript
17 lines
625 B
TypeScript
// @ts-nocheck
|
|
// This file is generated by Umi automatically
|
|
// DO NOT CHANGE IT MANUALLY!
|
|
interface IDefaultRuntimeConfig {
|
|
onRouteChange?: (props: { routes: any, clientRoutes: any, location: any, action: any, isFirst: boolean }) => void;
|
|
patchRoutes?: (props: { routes: any }) => void;
|
|
patchClientRoutes?: (props: { routes: any }) => void;
|
|
render?: (oldRender: () => void) => void;
|
|
rootContainer?: (lastRootContainer: JSX.Element, args?: any) => void;
|
|
[key: string]: any;
|
|
}
|
|
export type RuntimeConfig = IDefaultRuntimeConfig
|
|
|
|
export function defineApp(config: RuntimeConfig): RuntimeConfig {
|
|
return config;
|
|
}
|