mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-02 03:54:14 +08:00
26 lines
541 B
Go
26 lines
541 B
Go
![]() |
// * Menu
|
||
|
declare namespace Menu {
|
||
|
interface MenuOptions {
|
||
|
path: string;
|
||
|
title: string;
|
||
|
icon?: string;
|
||
|
isLink?: string;
|
||
|
close?: boolean;
|
||
|
children?: MenuOptions[];
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// * Vite
|
||
|
declare type Recordable<T = any> = Record<string, T>;
|
||
|
|
||
|
declare interface ViteEnv {
|
||
|
VITE_API_URL: string;
|
||
|
VITE_PORT: number;
|
||
|
VITE_OPEN: boolean;
|
||
|
VITE_GLOB_APP_TITLE: string;
|
||
|
VITE_DROP_CONSOLE: boolean;
|
||
|
VITE_PROXY_URL: string;
|
||
|
VITE_BUILD_GZIP: boolean;
|
||
|
VITE_REPORT: boolean;
|
||
|
}
|