type ApiResp<T> = { code: number; msg: string; data?: T | null; }; type LoginResp = { auth: { token: string; token_type: string }; data: LoginedUser; }; type LoginedUser = { id: string; username: string };