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 ImagePathEnum {
|
||||
BLOG= 'blog',
|
||||
BILL = 'bill',
|
||||
FOOD = 'food',
|
||||
TRAVEL = 'travel',
|
||||
PRODUCT = 'product',
|
||||
JOURNAL = 'journal',
|
||||
LEDGER = 'ledger',
|
||||
USER = 'user'
|
||||
}
|
||||
|
||||
export interface IPageRecord<T> {
|
||||
current: number;
|
||||
size: number;
|
||||
total: number;
|
||||
pages: number;
|
||||
records: T[];
|
||||
}
|
||||
|
||||
export type IDateType = 'month' | 'year'
|
||||
|
||||
export interface ICategory {
|
||||
label: string;
|
||||
value: string;
|
||||
}
|
||||
Reference in New Issue
Block a user