26 lines
414 B
TypeScript
26 lines
414 B
TypeScript
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;
|
|
}
|