feat:移植工程
This commit is contained in:
25
src/types/index.ts
Normal file
25
src/types/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* 展示数据形式
|
||||
*/
|
||||
export enum ShowDataEnum {
|
||||
DATA = 'DATA',
|
||||
CHART = 'CHART',
|
||||
}
|
||||
|
||||
export enum ImagePathEnum {
|
||||
BLOG= 'blog',
|
||||
BILL = 'bill',
|
||||
FOOD = 'food',
|
||||
TRAVEL = 'travel',
|
||||
PRODUCT = 'product',
|
||||
JOURNAL = 'JOURNAL',
|
||||
LEDGER = 'ledger',
|
||||
USER = 'user'
|
||||
}
|
||||
|
||||
export type IDateType = 'month' | 'year'
|
||||
|
||||
export interface ICategory {
|
||||
label: string;
|
||||
value: string;
|
||||
}
|
||||
Reference in New Issue
Block a user