refactor(*): 稳定期治理 - 收敛核心架构、错误语义并修复跨项目数据竞态

This commit is contained in:
ddCat
2026-09-09 22:02:10 +08:00
parent bacd502f5c
commit b5f3413ded
298 changed files with 12681 additions and 26428 deletions

View File

@@ -13,7 +13,7 @@ type EditorStoreHook = UseBoundStore<StoreApi<EditorStore>>;
export type EditorHostContextValue = {
projectId: string;
/** 项目资产列表(M3.4 asset-ingest 消费;由宿主在进入编辑器时获取)。 */
/** 当前用户、当前项目的资产快照;由编辑器宿主获取,素材导入插件只消费和触发刷新。 */
assets: ProjectAsset[];
/** 重新拉取项目资产(导入媒体后刷新列表)。 */
refreshAssets: () => Promise<ProjectAsset[] | null>;