migrate userstat.js to ts

This commit is contained in:
MaysWind
2025-01-05 14:04:44 +08:00
parent a13f5bfb10
commit 41d34af4c7
12 changed files with 134 additions and 51 deletions
+23
View File
@@ -0,0 +1,23 @@
export interface UserBasicInfo {
readonly username: string;
readonly email: string;
readonly nickname: string;
readonly avatar: string;
readonly avatarProvider?: string;
readonly defaultAccountId: string;
readonly transactionEditScope: number;
readonly language: string;
readonly defaultCurrency: string;
readonly firstDayOfWeek: number;
readonly longDateFormat: number;
readonly shortDateFormat: number;
readonly longTimeFormat: number;
readonly shortTimeFormat: number;
readonly decimalSeparator: number;
readonly digitGroupingSymbol: number;
readonly digitGrouping: number;
readonly currencyDisplayType: number;
readonly expenseAmountColor: number;
readonly incomeAmountColor: number;
readonly emailVerified: boolean;
}