enhance(apis): add types

This commit is contained in:
charlie
2025-01-06 15:54:21 +08:00
parent f28d344ef3
commit 87e01f116b

View File

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