fix: search service plugin API typo

pull/8103/head^2
Junyi Du 2022-12-21 19:09:02 +08:00
parent 304b33d6bb
commit 05ff96ebf9
1 changed files with 1 additions and 1 deletions

View File

@ -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>
}