mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
17 lines
498 B
TypeScript
17 lines
498 B
TypeScript
import type { ApplicationCloudSetting } from '@/core/setting.ts';
|
|
|
|
import type { UserBasicInfo } from './user.ts';
|
|
|
|
export interface AuthResponse {
|
|
readonly token: string;
|
|
readonly need2FA: boolean;
|
|
readonly user?: UserBasicInfo;
|
|
readonly applicationCloudSettings?: ApplicationCloudSetting[];
|
|
readonly notificationContent?: string;
|
|
}
|
|
|
|
export interface RegisterResponse extends AuthResponse {
|
|
readonly needVerifyEmail: boolean;
|
|
readonly presetCategoriesSaved: boolean;
|
|
}
|