add new apis to js sdk

This commit is contained in:
Tienson Qin
2025-10-20 18:33:01 +08:00
parent 75e49b22db
commit 8efd79ece9

View File

@@ -776,6 +776,9 @@ export interface IEditorProxy extends Record<string, any> {
renamePage: (oldName: string, newName: string) => Promise<void>
getAllPages: (repo?: string) => Promise<PageEntity[] | null>
getAllTags: () => Promise<PageEntity[] | null>
getAllProperties: () => Promise<PageEntity[] | null>
getTagObjects: (PageIdentity) => Promise<BlockEntity[] | null>
prependBlockInPage: (
page: PageIdentity,