mirror of https://github.com/halo-dev/halo
39 lines
726 B
TypeScript
39 lines
726 B
TypeScript
![]() |
/// <reference types="vite/client" />
|
||
![]() |
|
||
![]() |
export {};
|
||
|
|
||
|
import type { CoreMenuGroupId } from "@halo-dev/console-shared";
|
||
|
|
||
|
import "vue-router";
|
||
|
|
||
![]() |
import "axios";
|
||
|
|
||
![]() |
declare module "*.vue" {
|
||
|
import type { DefineComponent } from "vue";
|
||
|
// eslint-disable-next-line
|
||
|
const component: DefineComponent<{}, {}, any>;
|
||
|
export default component;
|
||
|
}
|
||
![]() |
|
||
|
declare module "vue-router" {
|
||
|
interface RouteMeta {
|
||
|
title?: string;
|
||
|
searchable?: boolean;
|
||
|
permissions?: string[];
|
||
|
core?: boolean;
|
||
|
menu?: {
|
||
|
name: string;
|
||
|
group?: CoreMenuGroupId;
|
||
|
icon?: Component;
|
||
|
priority: number;
|
||
|
mobile?: boolean;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
![]() |
|
||
|
declare module "axios" {
|
||
|
export interface AxiosRequestConfig {
|
||
|
mute?: boolean;
|
||
|
}
|
||
|
}
|