refactor api

This commit is contained in:
Timi
2026-08-27 16:08:56 +08:00
parent 6fa75b3045
commit eef7a78fe9
62 changed files with 835 additions and 2057 deletions
-6
View File
@@ -1,15 +1,9 @@
/** 编辑器公共能力出口。平台组件只依赖这里的无界面逻辑和类型。 */
export * from "./article";
export * from "./code";
export * from "./notify";
export * from "./search";
export * from "./tiptap/shared";
export * from "./tiptap/extensions";
export * from "./tiptap/useTiptapEditor";
export * from "./tiptap/useTiptapView";
export type { Article, ArticleContentType } from "../types/Article";
export type { Attachment } from "../types/Attachment";
export type { NotifyDetail } from "../types/Notify";
export { default as AttachmentAPI } from "../api/AttachmentAPI";
export { default as PrismCodeBlock } from "./tiptap/PrismCodeBlock";
export { enhancePrismCodeBlock } from "./tiptap/PrismCodeBlockView";