mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
code refactor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user