소스 검색

enhance(apis): add types

charlie 9 달 전
부모
커밋
87e01f116b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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>