tdesign-vue-next-starter/src/interface.ts
PY baf43fb503 enhance/router (#23)
* style: ui edit。

* feat: ui edit complete

* style: ui edit

* chore: update style import path

* feat: update import path

* chore: lint fix

* feat: add package.lok

* chore: update node version

* chore: update actions

* chore: remove lock file

* fix: node version update

* fix: revert preview actiion

* fix: tdesign-wrapper classname fix

* feat: add router permission

* feat: enhance router

* feat: optimize header icon

Co-authored-by: pengYYY <pengyue970715@gmail.com>
2021-12-12 15:46:02 +08:00

36 lines
667 B
TypeScript

import STYLE_CONFIG from '@/config/style';
export interface ResDataType {
code: number;
data: any;
}
export interface MenuRoute {
path: string;
title?: string;
icon?: string;
redirect?: string;
children: MenuRoute[];
meta: any;
}
export type ModeType = 'dark' | 'light';
export type SettingType = typeof STYLE_CONFIG;
export type ClassName = { [className: string]: any } | ClassName[] | string;
export type CommonObjType = {
[key: string]: string | number;
};
export interface NotificationItem {
id: string;
content: string;
type: string;
status: boolean;
collected: boolean;
date: string;
quality: 'high' | 'low' | 'middle';
}