code refactor

This commit is contained in:
MaysWind
2025-01-14 00:14:07 +08:00
parent 593e123610
commit f4ea9a85f0
11 changed files with 73 additions and 73 deletions
+6 -6
View File
@@ -1,13 +1,13 @@
import type { UserBasicInfo } from './user.ts';
export interface AuthResponse {
token: string;
need2FA: boolean;
user?: UserBasicInfo;
notificationContent?: string;
readonly token: string;
readonly need2FA: boolean;
readonly user?: UserBasicInfo;
readonly notificationContent?: string;
}
export interface RegisterResponse extends AuthResponse {
needVerifyEmail: boolean;
presetCategoriesSaved: boolean;
readonly needVerifyEmail: boolean;
readonly presetCategoriesSaved: boolean;
}