@ovine/core
Version:
Build flexible admin system with json.
13 lines (12 loc) • 408 B
TypeScript
/**
* APP 权限配置表处理
* TODO: 添加 unit test
*/
import { RouteItem } from "../types";
export declare const clearRouteStore: () => void;
export declare const getAuthRoutes: () => RouteItem[];
export declare const getAsideMenus: () => RouteItem[];
export declare const getLimitMenus: (option?: {
refresh?: boolean | undefined;
useAllLimit?: boolean | undefined;
} | undefined) => any[];