mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
migrate services.js to ts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { UserBasicInfo } from './user.ts';
|
||||
|
||||
export interface AuthResponse {
|
||||
token: string;
|
||||
need2FA: boolean;
|
||||
user?: UserBasicInfo;
|
||||
notificationContent?: string;
|
||||
}
|
||||
|
||||
export interface RegisterResponse extends AuthResponse {
|
||||
needVerifyEmail: boolean;
|
||||
presetCategoriesSaved: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user