refactor(utils): add barrel exports

This commit is contained in:
2026-06-18 11:58:50 +08:00
parent 428402d4b1
commit 0d0dabaace
34 changed files with 48 additions and 51 deletions
+1 -1
View File
@@ -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 刷新的路径