瀏覽代碼

fix: search service plugin API typo

Junyi Du 2 年之前
父節點
當前提交
05ff96ebf9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libs/src/LSPlugin.ts

+ 1 - 1
libs/src/LSPlugin.ts

@@ -317,7 +317,7 @@ export interface IPluginSearchServiceHooks {
 
   onIndiceInit: (graph: string) => Promise<SearchIndiceInitStatus>
   onIndiceReset: (graph: string) => Promise<void>
-  onBlocksChanged: (graph: string, changes: { added: Array<SearchBlockItem>, removed: Array<BlockEntity> }) => Promise<void>
+  onBlocksChanged: (graph: string, changes: { added: Array<SearchBlockItem>, removed: Array<EntityID> }) => Promise<void>
   onGraphRemoved: (graph: string, opts?: {}) => Promise<any>
 }