mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
improve(api): event hook of after graph indexed
This commit is contained in:
@@ -412,6 +412,7 @@ export interface IAppProxy {
|
||||
|
||||
// hook events
|
||||
onCurrentGraphChanged: IUserHook
|
||||
onGraphAfterIndexed: IUserHook<{repo: string}>
|
||||
onThemeModeChanged: IUserHook<{ mode: 'dark' | 'light' }>
|
||||
onThemeChanged: IUserHook<Partial<{name: string, mode: string, pid: string, url: string}>>
|
||||
onBlockRendererSlotted: IUserSlotHook<{ uuid: BlockUUID }>
|
||||
|
||||
Reference in New Issue
Block a user