Browse Source

enhance(apis): add types

charlie 9 months ago
parent
commit
87e01f116b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      libs/src/LSPlugin.ts

+ 4 - 0
libs/src/LSPlugin.ts

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