migrate account store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-18 00:37:44 +08:00
parent 3567ac170a
commit f22666e756
24 changed files with 1048 additions and 1001 deletions
+11
View File
@@ -288,6 +288,11 @@ export interface AccountBalance {
readonly currency: string;
}
export interface AccountDisplayBalance {
readonly balance: string;
readonly currency: string;
}
export interface CategorizedAccount {
readonly category: number;
readonly name: string;
@@ -306,3 +311,9 @@ export interface AccountCategoriesWithVisibleCount {
readonly allVisibleSubAccountCounts: Record<string, number>;
readonly allFirstVisibleSubAccountIndexes: Record<string, number>;
}
export interface AccountShowingIds {
readonly accounts: Record<number, string>;
readonly subAccounts: Record<string, string>;
}