chore: migrate timi-web imports to @timi/web
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* 负责统一内容类型、附件标识和存储前的富文本格式,平台层不参与这些规则。
|
||||
*/
|
||||
import type { ArticleContentType, Attachment } from "../types";
|
||||
import { ATTACHMENT_ID_ATTR, isLocalMediaId, normalizeContent, TEMP_FILE_ID_ATTR } from "timi-web/editor";
|
||||
import { ATTACHMENT_ID_ATTR, isLocalMediaId, normalizeContent, TEMP_FILE_ID_ATTR } from "@timi/web/editor";
|
||||
|
||||
/** 文章内容中附件和临时文件的标识前缀。 */
|
||||
export const ATTACHMENT_ID_PREFIX = "attachment-id:";
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/** 业务编辑器数据适配和通用编辑器能力出口。 */
|
||||
export * from "timi-web/editor";
|
||||
export * from "@timi/web/editor";
|
||||
export * from "./article";
|
||||
export * from "./notify";
|
||||
export type { Article, ArticleContentType } from "../types/Article";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {defineStore} from "pinia";
|
||||
import {computed, reactive, readonly, ref} from "vue";
|
||||
import type {CaptchaData, LoginRequest, LoginResponse, LoginUser} from "../types";
|
||||
import {Cooker, Storage} from "timi-web";
|
||||
import {Cooker, Storage} from "@timi/web";
|
||||
import {UserAPI} from "../api";
|
||||
|
||||
/** 用户 Store 配置项 */
|
||||
|
||||
Reference in New Issue
Block a user