refactor(utils): add barrel exports
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* 通过环境变量配置后端服务地址与超时时间。
|
||||
* 原始 Dart: lib/core/net/service_manager.dart
|
||||
*/
|
||||
import { AppEnvUtil, type AppEnv } from "@/utils/app-env";
|
||||
import { AppEnvUtil, type AppEnv } from "@/utils";
|
||||
|
||||
export type { AppEnv };
|
||||
|
||||
|
||||
@@ -8,8 +8,7 @@ import type { FetchHook } from "ofetch";
|
||||
import { ApiPath } from "../../../data/services/api/api_path";
|
||||
import { ApiError, ErrorCode } from "../../../data/services/api/api_result";
|
||||
import { AuthStorage } from "@/data/storage/auth/auth_storage";
|
||||
import { deviceIdentifier } from "@/utils/device_identifier";
|
||||
import { Result } from "@/utils/result";
|
||||
import { deviceIdentifier, Result } from "@/utils";
|
||||
|
||||
/**
|
||||
* 不需要 auth token 刷新的路径
|
||||
|
||||
Reference in New Issue
Block a user