1
This commit is contained in:
parent
fcd493cccd
commit
c4ab74ed0a
@ -259,10 +259,15 @@ export interface FundRecord {
|
|||||||
updated_at: string;
|
updated_at: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface FundCategoryAmount {
|
||||||
|
category: string;
|
||||||
|
amount: number;
|
||||||
|
}
|
||||||
|
|
||||||
export interface FundStatistics {
|
export interface FundStatistics {
|
||||||
total_income: number;
|
total_income: number;
|
||||||
total_expense: number;
|
total_expense: number;
|
||||||
balance: number;
|
balance: number;
|
||||||
income_by_category: Record<string, number>;
|
income_by_category: FundCategoryAmount[];
|
||||||
expense_by_category: Record<string, number>;
|
expense_by_category: FundCategoryAmount[];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user