migrate user data management page to composition API and typescript

This commit is contained in:
MaysWind
2025-01-13 23:19:06 +08:00
parent 041dbcb5c7
commit 4e8eddd868
4 changed files with 301 additions and 306 deletions
+17 -7
View File
@@ -3,11 +3,21 @@ export interface ClearDataRequest {
}
export interface DataStatisticsResponse {
readonly totalAccountCount: number;
readonly totalTransactionCategoryCount: number;
readonly totalTransactionTagCount: number;
readonly totalTransactionCount: number;
readonly totalTransactionPictureCount: number;
readonly totalTransactionTemplateCount: number;
readonly totalScheduledTransactionCount: number;
readonly totalAccountCount: string;
readonly totalTransactionCategoryCount: string;
readonly totalTransactionTagCount: string;
readonly totalTransactionCount: string;
readonly totalTransactionPictureCount: string;
readonly totalTransactionTemplateCount: string;
readonly totalScheduledTransactionCount: string;
}
export interface DisplayDataStatistics {
readonly totalAccountCount: string;
readonly totalTransactionCategoryCount: string;
readonly totalTransactionTagCount: string;
readonly totalTransactionCount: string;
readonly totalTransactionPictureCount: string;
readonly totalTransactionTemplateCount: string;
readonly totalScheduledTransactionCount: string;
}