diff --git a/.gitignore b/.gitignore index cb66f7e..d532143 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store /.idea/ node_modules +docs/pnpm-lock.yaml diff --git a/docs/components/Sidebar.json b/docs/components/Sidebar.json index a5d0103..8875bef 100644 --- a/docs/components/Sidebar.json +++ b/docs/components/Sidebar.json @@ -4,6 +4,10 @@ "baseInfo", "Property" ], + [ + "beforeunload", + "Property" + ], [ "caller", "Property" @@ -20,10 +24,6 @@ "settings", "Property" ], - [ - "beforeunload", - "Method" - ], [ "hideMainUI", "Method" @@ -91,338 +91,398 @@ ], "App": [ [ - "onBlockRendererSlotted", + "clearRightSidebarBlocks", "Property" ], [ - "onCurrentGraphChanged", + "execGitCommand", "Property" ], [ - "onMacroRendererSlotted", + "getCurrentGraph", "Property" ], [ - "onPageHeadActionsSlotted", + "getCurrentGraphConfigs", "Property" ], [ - "onRouteChanged", + "getCurrentGraphFavorites", "Property" ], [ - "onSidebarVisibleChanged", + "getCurrentGraphRecent", "Property" ], [ - "onThemeModeChanged", + "getExternalPlugin", "Property" ], - [ - "execGitCommand", - "Method" - ], - [ - "getCurrentGraph", - "Method" - ], [ "getInfo", - "Method" + "Property" ], [ "getStateFromStore", - "Method" + "Property" ], [ "getUserConfigs", - "Method" + "Property" ], [ "getUserInfo", - "Method" + "Property" ], [ "invokeExternalCommand", - "Method" + "Property" + ], + [ + "invokeExternalPlugin", + "Property" + ], + [ + "onBlockRendererSlotted", + "Property" + ], + [ + "onCurrentGraphChanged", + "Property" + ], + [ + "onGraphAfterIndexed", + "Property" + ], + [ + "onMacroRendererSlotted", + "Property" + ], + [ + "onPageHeadActionsSlotted", + "Property" + ], + [ + "onRouteChanged", + "Property" + ], + [ + "onSidebarVisibleChanged", + "Property" + ], + [ + "onThemeChanged", + "Property" + ], + [ + "onThemeModeChanged", + "Property" ], [ "openExternalLink", - "Method" + "Property" ], [ "pushState", - "Method" + "Property" ], [ "queryElementById", - "Method" + "Property" ], [ "queryElementRect", - "Method" + "Property" ], [ "quit", - "Method" + "Property" ], [ "registerCommand", - "Method" + "Property" ], [ "registerCommandPalette", - "Method" + "Property" ], [ "registerCommandShortcut", - "Method" + "Property" ], [ "registerPageMenuItem", - "Method" + "Property" ], [ "registerUIItem", - "Method" + "Property" ], [ "relaunch", - "Method" + "Property" ], [ "replaceState", - "Method" + "Property" ], [ "setFullScreen", - "Method" + "Property" ], [ "setLeftSidebarVisible", - "Method" + "Property" ], [ "setRightSidebarVisible", - "Method" + "Property" + ], + [ + "setStateFromStore", + "Property" ], [ "setZoomFactor", - "Method" + "Property" ], [ "showMsg", + "Property" + ], + [ + "registerSearchService", "Method" ] ], "Editor": [ - [ - "onInputSelectionEnd", - "Property" - ], [ "appendBlockInPage", - "Method" + "Property" ], [ "checkEditing", - "Method" + "Property" ], [ "createPage", - "Method" + "Property" ], [ "deletePage", - "Method" + "Property" ], [ "editBlock", - "Method" + "Property" ], [ "exitEditingMode", - "Method" + "Property" ], [ "getAllPages", - "Method" + "Property" ], [ "getBlock", - "Method" + "Property" ], [ "getBlockProperties", - "Method" + "Property" ], [ "getBlockProperty", - "Method" + "Property" ], [ "getCurrentBlock", - "Method" + "Property" ], [ "getCurrentPage", - "Method" + "Property" ], [ "getCurrentPageBlocksTree", - "Method" + "Property" ], [ "getEditingBlockContent", - "Method" + "Property" ], [ "getEditingCursorPosition", - "Method" + "Property" ], [ "getNextSiblingBlock", - "Method" + "Property" ], [ "getPage", - "Method" + "Property" ], [ "getPageBlocksTree", - "Method" + "Property" ], [ "getPageLinkedReferences", - "Method" + "Property" ], [ "getPagesFromNamespace", - "Method" + "Property" ], [ "getPagesTreeFromNamespace", - "Method" + "Property" ], [ "getPreviousSiblingBlock", - "Method" + "Property" ], [ "getSelectedBlocks", - "Method" + "Property" ], [ "insertAtEditingCursor", - "Method" + "Property" ], [ "insertBatchBlock", - "Method" + "Property" ], [ "insertBlock", - "Method" + "Property" ], [ "moveBlock", - "Method" + "Property" + ], + [ + "newBlockUUID", + "Property" + ], + [ + "onInputSelectionEnd", + "Property" ], [ "openInRightSidebar", - "Method" + "Property" ], [ "prependBlockInPage", - "Method" + "Property" ], [ "registerBlockContextMenuItem", - "Method" + "Property" + ], + [ + "registerHighlightContextMenuItem", + "Property" ], [ "registerSlashCommand", - "Method" + "Property" ], [ "removeBlock", - "Method" + "Property" ], [ "removeBlockProperty", - "Method" + "Property" ], [ "renamePage", - "Method" + "Property" ], [ "restoreEditingCursor", - "Method" + "Property" + ], + [ + "saveFocusedCodeEditorContent", + "Property" ], [ "scrollToBlockInPage", - "Method" + "Property" + ], + [ + "selectBlock", + "Property" ], [ "setBlockCollapsed", - "Method" + "Property" ], [ "updateBlock", - "Method" + "Property" ], [ "upsertBlockProperty", - "Method" + "Property" ] ], "DB": [ [ - "onChanged", + "datascriptQuery", "Property" ], [ - "datascriptQuery", - "Method" + "onChanged", + "Property" ], [ - "onBlockChanged", - "Method" + "q", + "Property" ], [ - "q", + "onBlockChanged", "Method" ] ], "Git": [ [ "execCommand", - "Method" + "Property" ], [ "loadIgnoreFile", - "Method" + "Property" ], [ "saveIgnoreFile", - "Method" + "Property" ] ], "UI": [ [ "closeMsg", - "Method" + "Property" ], [ "showMsg", - "Method" + "Property" ] ], "Assets": [ [ "listFilesOfCurrentGraph", "Method" + ], + [ + "makeSandboxStorage", + "Method" ] ], "FileStorage": [] diff --git a/docs/pages/logseq/App/clearRightSidebarBlocks.tsx b/docs/pages/logseq/App/clearRightSidebarBlocks.tsx new file mode 100644 index 0000000..50f8834 --- /dev/null +++ b/docs/pages/logseq/App/clearRightSidebarBlocks.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const clearRightSidebarBlocks: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default clearRightSidebarBlocks \ No newline at end of file diff --git a/docs/pages/logseq/App/getCurrentGraphConfigs.tsx b/docs/pages/logseq/App/getCurrentGraphConfigs.tsx new file mode 100644 index 0000000..e303187 --- /dev/null +++ b/docs/pages/logseq/App/getCurrentGraphConfigs.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const getCurrentGraphConfigs: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default getCurrentGraphConfigs \ No newline at end of file diff --git a/docs/pages/logseq/App/getCurrentGraphFavorites.tsx b/docs/pages/logseq/App/getCurrentGraphFavorites.tsx new file mode 100644 index 0000000..97bb404 --- /dev/null +++ b/docs/pages/logseq/App/getCurrentGraphFavorites.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const getCurrentGraphFavorites: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default getCurrentGraphFavorites \ No newline at end of file diff --git a/docs/pages/logseq/App/getCurrentGraphRecent.tsx b/docs/pages/logseq/App/getCurrentGraphRecent.tsx new file mode 100644 index 0000000..c12a924 --- /dev/null +++ b/docs/pages/logseq/App/getCurrentGraphRecent.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const getCurrentGraphRecent: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default getCurrentGraphRecent \ No newline at end of file diff --git a/docs/pages/logseq/App/getExternalPlugin.tsx b/docs/pages/logseq/App/getExternalPlugin.tsx new file mode 100644 index 0000000..f75ef69 --- /dev/null +++ b/docs/pages/logseq/App/getExternalPlugin.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const getExternalPlugin: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default getExternalPlugin \ No newline at end of file diff --git a/docs/pages/logseq/App/getStateFromStore.tsx b/docs/pages/logseq/App/getStateFromStore.tsx index 49fe542..40962c9 100644 --- a/docs/pages/logseq/App/getStateFromStore.tsx +++ b/docs/pages/logseq/App/getStateFromStore.tsx @@ -13,8 +13,7 @@ const getStateFromStore: NextPage = () => { { + return ( +
+ + + + + +
+ ) +} + +export default invokeExternalPlugin \ No newline at end of file diff --git a/docs/pages/logseq/App/onGraphAfterIndexed.tsx b/docs/pages/logseq/App/onGraphAfterIndexed.tsx new file mode 100644 index 0000000..bbd9c27 --- /dev/null +++ b/docs/pages/logseq/App/onGraphAfterIndexed.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const onGraphAfterIndexed: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default onGraphAfterIndexed \ No newline at end of file diff --git a/docs/pages/logseq/App/onMacroRendererSlotted.tsx b/docs/pages/logseq/App/onMacroRendererSlotted.tsx index f65fb04..b50263f 100644 --- a/docs/pages/logseq/App/onMacroRendererSlotted.tsx +++ b/docs/pages/logseq/App/onMacroRendererSlotted.tsx @@ -13,7 +13,7 @@ const onMacroRendererSlotted: NextPage = () => { { + return ( +
+ + + + + +
+ ) +} + +export default onThemeChanged \ No newline at end of file diff --git a/docs/pages/logseq/App/registerCommandShortcut.tsx b/docs/pages/logseq/App/registerCommandShortcut.tsx index dfb0b7a..2d2df11 100644 --- a/docs/pages/logseq/App/registerCommandShortcut.tsx +++ b/docs/pages/logseq/App/registerCommandShortcut.tsx @@ -13,8 +13,7 @@ const registerCommandShortcut: NextPage = () => { { + return ( +
+ + + + + +
+ ) +} + +export default registerSearchService \ No newline at end of file diff --git a/docs/pages/logseq/App/setStateFromStore.tsx b/docs/pages/logseq/App/setStateFromStore.tsx new file mode 100644 index 0000000..19edf46 --- /dev/null +++ b/docs/pages/logseq/App/setStateFromStore.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const setStateFromStore: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default setStateFromStore \ No newline at end of file diff --git a/docs/pages/logseq/Assets/makeSandboxStorage.tsx b/docs/pages/logseq/Assets/makeSandboxStorage.tsx new file mode 100644 index 0000000..a90606b --- /dev/null +++ b/docs/pages/logseq/Assets/makeSandboxStorage.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const makeSandboxStorage: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default makeSandboxStorage \ No newline at end of file diff --git a/docs/pages/logseq/DB/datascriptQuery.tsx b/docs/pages/logseq/DB/datascriptQuery.tsx index 4d88777..adbe77c 100644 --- a/docs/pages/logseq/DB/datascriptQuery.tsx +++ b/docs/pages/logseq/DB/datascriptQuery.tsx @@ -13,8 +13,7 @@ const datascriptQuery: NextPage = () => { { { { { { { { { { + return ( +
+ + + + + +
+ ) +} + +export default newBlockUUID \ No newline at end of file diff --git a/docs/pages/logseq/Editor/registerBlockContextMenuItem.tsx b/docs/pages/logseq/Editor/registerBlockContextMenuItem.tsx index 3266e0b..c7953d5 100644 --- a/docs/pages/logseq/Editor/registerBlockContextMenuItem.tsx +++ b/docs/pages/logseq/Editor/registerBlockContextMenuItem.tsx @@ -13,8 +13,7 @@ const registerBlockContextMenuItem: NextPage = () => { { + return ( +
+ + + + + +
+ ) +} + +export default registerHighlightContextMenuItem \ No newline at end of file diff --git a/docs/pages/logseq/Editor/registerSlashCommand.tsx b/docs/pages/logseq/Editor/registerSlashCommand.tsx index c501fa6..190e79d 100644 --- a/docs/pages/logseq/Editor/registerSlashCommand.tsx +++ b/docs/pages/logseq/Editor/registerSlashCommand.tsx @@ -13,8 +13,7 @@ const registerSlashCommand: NextPage = () => { { + return ( +
+ + + + + +
+ ) +} + +export default saveFocusedCodeEditorContent \ No newline at end of file diff --git a/docs/pages/logseq/Editor/selectBlock.tsx b/docs/pages/logseq/Editor/selectBlock.tsx new file mode 100644 index 0000000..ce8b8a5 --- /dev/null +++ b/docs/pages/logseq/Editor/selectBlock.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const selectBlock: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default selectBlock \ No newline at end of file diff --git a/docs/pages/logseq/Request.tsx b/docs/pages/logseq/Request.tsx new file mode 100644 index 0000000..b4348cc --- /dev/null +++ b/docs/pages/logseq/Request.tsx @@ -0,0 +1,27 @@ +import { NextPage } from 'next' +import { Description, DescriptionHeader } from '@/components/Description' +import { Discuss } from '@/components/Discuss' + +const Request: NextPage = () => { + return ( +
+ + + + + +
+ ) +} + +export default Request \ No newline at end of file diff --git a/docs/pages/logseq/baseInfo.tsx b/docs/pages/logseq/baseInfo.tsx index ffca0ba..bd71947 100644 --- a/docs/pages/logseq/baseInfo.tsx +++ b/docs/pages/logseq/baseInfo.tsx @@ -13,7 +13,7 @@ const baseInfo: NextPage = () => { { { { { { { { { { { { {