mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhance(apis): add types
This commit is contained in:
@@ -761,6 +761,10 @@ export interface IEditorProxy extends Record<string, any> {
|
||||
}>
|
||||
) => Promise<PageEntity | null>
|
||||
|
||||
createJournalPage: (
|
||||
date: string | Date
|
||||
) => Promise<PageEntity | null>
|
||||
|
||||
deletePage: (pageName: BlockPageName) => Promise<void>
|
||||
|
||||
renamePage: (oldName: string, newName: string) => Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user