init
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled

This commit is contained in:
2025-10-24 09:40:46 +08:00
commit b1781d9aef
313 changed files with 33845 additions and 0 deletions

18
types/route.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
declare namespace API {
type RoutersMenuItem = {
alwaysShow?: boolean;
children?: RoutersMenuItem[];
component?: string;
hidden?: boolean;
meta: MenuItemMeta;
name: string;
path: string;
redirect?: string;
[key: string]: any;
};
interface GetRoutersResult {
code: number;
msg: string;
data: RoutersMenuItem[];
}
}