mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
migrate account store to composition API and typescript
This commit is contained in:
@@ -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>;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user