perf(bundle): replace broad storage and utils imports

This commit is contained in:
2026-07-14 18:13:55 +08:00
parent e270be9bd9
commit 0033625866
85 changed files with 136 additions and 97 deletions
@@ -3,7 +3,9 @@ import { createStorage } from "unstorage";
import memoryDriver from "unstorage/drivers/memory";
import { AuthStorage } from "@/data/storage/auth";
import { deviceIdentifier, Result, SpAsyncUtil } from "@/utils";
import { deviceIdentifier } from "@/utils/device_identifier";
import { Result } from "@/utils/result";
import { SpAsyncUtil } from "@/utils/storage";
import { ErrorCode } from "../api_result";
import { createHttpClient } from "../http_client";
+1 -1
View File
@@ -27,7 +27,7 @@ import {
} from "@/data/dto/auth";
import { User } from "@/data/dto/user";
import type { UserData } from "@/data/schemas/user/user";
import { Logger } from "@/utils";
import { Logger } from "@/utils/logger";
const log = new Logger("DataServicesApiAuthApi");