For example, the plugin API for Rename Page is here: https://github com/logseq/logseq/blob/7aa40af68/libs/src/LSPlugin.ts#L619
Or deletePage directly above it deletePage: (pageName: BlockPageName) => Promise<void>
that takes a page name. And the logseq.Git.execCommand
. I dont see these functions in the rest of the Typescript. Where does it go to execute them? Are they buried in the libraries? Thanks
EDIT:
I started a new post thread to explore how to make changes to Logseq: How do the plugin APIs call functions in the app?
I also found the codebase overview which describes the design, along with the refactoring post at the bottom: logseq/CODEBASE_OVERVIEW.md at master · logseq/logseq · GitHub
I was able to build the electron app from source (logseq/develop-logseq.md at master · logseq/logseq · GitHub), but digging into the clojure its a bit hard to follow where the functions are located. I started looking at src/main/frontend/publishing.cljs, and it looks like this is where the plugin API would tie into.