forked from halo-dev/console
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.d.ts
More file actions
38 lines (31 loc) · 726 Bytes
/
Copy pathenv.d.ts
File metadata and controls
38 lines (31 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// <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;
}
}