mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
* fix: 优化类型提示 * fix: 添加 enums 接口类型声明 * feat: 配置插件api提示 Co-authored-by: wanchun <445436867@qq.com>
22 lines
567 B
TypeScript
22 lines
567 B
TypeScript
// @ts-ignore
|
|
import '@@/configType';
|
|
|
|
export * from '@fesjs/runtime';
|
|
|
|
export interface RouteMeta {
|
|
name?: string;
|
|
title?: string;
|
|
layout?: boolean | { sidebar?: boolean; header?: boolean; logo?: boolean };
|
|
}
|
|
|
|
export interface PluginRuntimeConfig {}
|
|
|
|
export interface PluginBuildConfig {}
|
|
|
|
export declare function defineRouteMeta(routeMeta: RouteMeta): RouteMeta;
|
|
|
|
export declare function defineBuildConfig(config: PluginBuildConfig ): PluginBuildConfig;
|
|
|
|
export declare function defineRuntimeConfig(config: PluginRuntimeConfig): PluginRuntimeConfig;
|
|
|