perf(bundle): replace broad storage and utils imports
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
import type { Result } from "@/utils";
|
||||
import type { Result } from "@/utils/result";
|
||||
import type {
|
||||
GuestLoginResponse,
|
||||
LoginStatus,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* 聚合聊天远程操作、身份隔离的本地历史,以及媒体缓存能力。
|
||||
*/
|
||||
|
||||
import type { Result } from "@/utils";
|
||||
import type { Result } from "@/utils/result";
|
||||
import type {
|
||||
ChatHistoryResponse,
|
||||
ChatMediaKind,
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
import type { Result } from "@/utils";
|
||||
import type { Result } from "@/utils/result";
|
||||
|
||||
export interface IMetricsRepository {
|
||||
/** 上报 PWA 事件。自动注入当前秒级时间戳。 */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* IUserRepository 接口
|
||||
*/
|
||||
|
||||
import type { Result } from "@/utils";
|
||||
import type { Result } from "@/utils/result";
|
||||
import type {
|
||||
User,
|
||||
UserEntitlements,
|
||||
|
||||
Reference in New Issue
Block a user