MCPcopy Index your code

hub / github.com/Szerelem0617/siyuan-plugins-index / functions

Functions339 in github.com/Szerelem0617/siyuan-plugins-index

↓ 131 callersFunctionpost
(url: string, data: any)
src/shared/api-client/request.ts:1
↓ 100 callersMethodpush
(item: IndexQueueNode)
src/shared/utils/index-queue.ts:22
↓ 74 callersMethodget
(key: any, config = CONFIG)
src/core/settings/index.ts:103
↓ 48 callersMethodfind
(node: any)
src/features/data/attribute-view/events.ts:94
↓ 30 callersMethodset
(key: any, value: any, config = CONFIG)
src/core/settings/index.ts:99
↓ 22 callersFunctiongetSqliteEngine
()
src/features/sqlite/sqlite-manager.ts:89
↓ 21 callersFunctioninstantiateAV
(avID: string, force: boolean = false)
src/features/sqlite/sqlite-manager.ts:266
↓ 17 callersFunctionsleep
(time: number)
src/shared/utils/index.ts:12
↓ 11 callersFunctionaddCol
(name: string, type: string, icon: string, prevKey: string)
src/features/command/construct-dir.ts:39
↓ 10 callersMethodoff
(event: any, listener: any)
src/shared/eventbus.ts:19
↓ 10 callersMethodon
(event: any, listener: any)
src/shared/eventbus.ts:11
↓ 10 callersFunctionresolveTableAvId
(tableName: string)
src/features/sqlite/sqlite-manager.ts:26
↓ 10 callersFunctionrunQuery
(sql: string, params?: any[], options?: DDLOptions)
src/features/sqlite/sqlite-manager.ts:470
↓ 9 callersMethoddestroy
()
src/features/data/av-setting/supertag.ts:65
↓ 9 callersFunctiongetColIDMap
(avID: string)
src/shared/utils/av-utils.ts:6
↓ 8 callersFunctioncolIdx
(name: string)
src/features/command/global-registration/top-bar.ts:67
↓ 8 callersFunctionpost
(url: string, data: any)
src/features/builder/processor.ts:15
↓ 7 callersFunctionensureKey
(name: string, type: string, icon: string)
src/features/data/list/create-db.ts:269
↓ 7 callersFunctionformatDate
(d: Date)
src/shared/utils/index.ts:100
↓ 7 callersMethodget
(type: string)
src/shared/render/strategy.ts:102
↓ 7 callersFunctiongetAttrFromIAL
(ial: string, attrName: string)
src/shared/utils/index.ts:78
↓ 7 callersFunctionrefreshSupertagRegistry
()
src/features/command/registration.ts:157
↓ 7 callersFunctionupdateCellValue
(protyleInstance: any, avID: string, rowID: string, colID: string, newValue: string)
src/features/data/attribute-view/special/special-handlers.ts:103
↓ 6 callersFunctiongetCellText
(colName: string)
src/features/command/registration.ts:345
↓ 6 callersFunctiongetCommandAvId
()
src/features/command/registration.ts:48
↓ 6 callersMethodpop
()
src/shared/utils/index-queue.ts:26
↓ 6 callersMethodprocessRecursive
(blockId: string, type: string, actionType: string, ctx: any = null)
src/features/builder/builder.ts:27
↓ 6 callersFunctionsaveDatabaseToDisk
()
src/features/sqlite/sqlite-manager.ts:207
↓ 5 callersFunctionavIdToTableName
(avId: string)
src/features/sqlite/sqlite-manager.ts:129
↓ 5 callersFunctionbatchUpdateCellValue
(protyleInstance: any, avID: string, colID: string, newValue: string, colType: string, avBlockID: string)
src/features/data/attribute-view/special/batch-update.ts:8
↓ 5 callersMethodemojiToHex
(icon: string)
src/features/builder/processor.ts:404
↓ 5 callersMethodfindByNameOrId
* 折中查找:先按 ID 精确匹配,找不到则按 name 模糊匹配(忽略大小写)。 * 用于解析 siyuan-btn 链接中可能是 ID 也可能是中文名的标识符。
src/features/command/registry/command-registry.ts:284
↓ 5 callersFunctiongetProcessedDocIcon
(icon: string, hasChild: boolean)
src/shared/utils/icon-utils.ts:21
↓ 5 callersFunctiongetTargetTablesInfo
()
src/features/command/registration.ts:57
↓ 5 callersFunctionisValueEmpty
(val: any)
src/shared/utils/av-utils.ts:78
↓ 5 callersMethodload
(config = CONFIG)
src/core/settings/index.ts:107
↓ 5 callersFunctionp
(n: number)
src/shared/utils/index.ts:101
↓ 5 callersFunctionpad
(n: number)
src/features/sqlite/run-query/ddl.ts:42
↓ 5 callersFunctionregisterFriendlyTableName
(friendlyName: string, avId: string)
src/features/sqlite/sqlite-manager.ts:19
↓ 5 callersFunctionsyncAttribute
(avID: string, rowID: string, colID: string, mode: "level" | "siblings" | "descendants" | "filtered", avBlockI
src/features/data/attribute-view/sync/attribute-sync.ts:9
↓ 5 callersFunctiontableNameToAvId
(tableName: string)
src/features/sqlite/sqlite-manager.ts:137
↓ 4 callersFunctionclosePalette
()
src/features/command/global-registration/command-palette.ts:190
↓ 4 callersFunctioncollectOutlineIds
(outlineData: any[], ids: string[] = [])
src/shared/api-client/query.ts:12
↓ 4 callersFunctiondispatchCommand
( commandId: string, rawParam: string | null | undefined, context: CommandContext )
src/features/command/command-dispatcher.ts:51
↓ 4 callersFunctionencodeBtnHref
(payload: BtnPayload)
src/features/command/global-registration/inline-button.ts:28
↓ 4 callersFunctiongetAVSchema
(avID: string)
src/features/sqlite/sqlite-manager.ts:552
↓ 4 callersFunctiongetBlockAttribute
(element: HTMLElement, attrName: string)
src/shared/utils/dom-utils.ts:29
↓ 4 callersFunctiongetBlocksData
(ids: string[])
src/shared/api-client/query.ts:21
↓ 4 callersFunctiongetBool
(name: string)
src/features/command/global-registration/top-bar.ts:191
↓ 4 callersFunctiongetCellText
(colName: string)
src/features/command/global-registration/top-bar.ts:178
↓ 4 callersMethodgetCommand
按 ID 查询命令定义。找不到时返回 undefined。
src/features/command/registry/command-registry.ts:256
↓ 4 callersFunctiongetTypeAvId
()
src/features/command/registration.ts:49
↓ 4 callersMethodinit
()
src/index.ts:170
↓ 4 callersFunctioninitSystemTables
()
src/features/command/indexos/command-sqlite.ts:12
↓ 4 callersFunctioninsertAction
(targetBlockId?: string)
src/features/insert-toc/index/action.ts:7
↓ 4 callersMethodinsertOrUpdate
* 通用插入/更新数据逻辑,支持属性绑定和自动修复大纲结构 * @param rootId 文档 ID * @param data Markdown 数据 * @param attrName 识别用的属性名 (e.g. "custom-outline-create")
src/shared/api-client/index.ts:16
↓ 4 callersFunctionloadDbConfig
(blockId: string)
src/features/data/av-setting/db-config.ts:124
↓ 4 callersFunctionparsePrimitiveValue
(valStr: string)
src/features/sqlite/run-query/dml.ts:342
↓ 4 callersFunctionprocessMenu
(raw: any, location: "BlockIconMenu" | "PageMenu")
src/features/command/registration.ts:289
↓ 4 callersMethodrender
(item: RenderItem, context: RenderContext, indent: string)
src/shared/render/strategy.ts:23
↓ 4 callersFunctionrenderList
(keyword = "")
src/features/data/attribute-view/special/special-handlers.ts:227
↓ 4 callersFunctionrequestGetDocOutline
(blockId: string)
src/shared/api-client/query.ts:3
↓ 4 callersFunctiontriggerAvBlockRender
(avID: string)
src/features/sqlite/run-query/ddl.ts:15
↓ 3 callersFunctioncheckTableExists
(tableName: string)
src/features/sqlite/sqlite-manager.ts:679
↓ 3 callersFunctionconfirmDialog
(title: string, text: string, confirmCallback: () => void, cancelCallback?: () => void, confirmText?: string,
src/shared/utils/index.ts:28
↓ 3 callersMethodconstructListItemMarkdown
(_containerAttrs: any, headingId: string, syncText: string, docId?: string, docIcon?: string)
src/features/builder/processor.ts:411
↓ 3 callersFunctiondecodeBtnHref
(href: string)
src/features/command/global-registration/inline-button.ts:37
↓ 3 callersMethoddestroy
()
src/features/data/attribute-view/events.ts:28
↓ 3 callersFunctionescapeHtml
(str: string)
src/features/command/global-registration/command-palette.ts:321
↓ 3 callersFunctionescapeHtml
(unsafe: string)
src/shared/utils/index.ts:56
↓ 3 callersFunctionfindProtyle
(layout: any)
src/features/sqlite/run-query/ddl.ts:106
↓ 3 callersFunctionfocusDatabaseView
(blockId: string, protyle: any, mode: "level" | "siblings" | "descendants" = "level")
src/features/data/list/focus-db.ts:10
↓ 3 callersFunctiongenerateIndex
(notebookId: any, ppath: any, pitem: IndexQueue, tab = 0, config?: IndexConfig)
src/features/insert-toc/index/generator.ts:19
↓ 3 callersFunctiongenerateOutlineMarkdown
( outlineData: any[], tab: number, stab: number, extraData?: Record<string, { ial: string, mar
src/features/insert-toc/outline/generator.ts:26
↓ 3 callersFunctiongetDocid
()
src/shared/utils/index.ts:71
↓ 3 callersMethodgetLinkedAVData
(listItemId: string, itemAttrs: any, avId?: string)
src/features/builder/processor.ts:34
↓ 3 callersMethodgetMergedConfig
(localData: any)
src/core/settings/index.ts:115
↓ 3 callersMethodgetMergedConfigForOutline
(localData: any)
src/core/settings/index.ts:144
↓ 3 callersFunctioninsertOutlineAction
(targetBlockId?: string)
src/features/insert-toc/outline/action.ts:9
↓ 3 callersMethodisEmpty
()
src/shared/utils/index-queue.ts:41
↓ 3 callersFunctionqueuePopAll
(queue: IndexQueue, data: string, config?: IndexConfig)
src/features/insert-toc/index/generator.ts:157
↓ 3 callersFunctionrefreshTopBarCommands
()
src/features/command/global-registration/top-bar.ts:26
↓ 3 callersMethodsave
(config = CONFIG)
src/core/settings/index.ts:111
↓ 3 callersFunctiontraverse
(element: Element, level: number, parentId: string | null)
src/features/data/list/create-db.ts:175
↓ 2 callersFunction_computeDataHash
* Compute a lightweight content hash for change detection. * Uses serialized cell value contents of all rows to detect modifications.
src/features/sqlite/sqlite-manager.ts:219
↓ 2 callersFunction_csvEscape
(val: string)
src/features/sqlite/sqlite-manager.ts:672
↓ 2 callersFunctionaddMenu
(rect?: DOMRect)
src/ui/topbar.ts:123
↓ 2 callersFunctionaddSlash
()
src/core/slash.ts:29
↓ 2 callersFunctionapplyTopBarUpdates
(newTopBars: TopBarCommand[], newInlineBtns: InlineButtonCmd[], newPaletteCmds: PaletteCommand[])
src/features/command/global-registration/top-bar.ts:110
↓ 2 callersFunctionbindTreeAttributes
(rootListId: string, attrName: "custom-index-subdoc-id" | "custom-index-heading-id")
src/shared/utils/transformation-utils.ts:18
↓ 2 callersFunctionbuildAvHierarchy
(keyValues: any[], itemToBlock: Map<string, string>)
src/shared/utils/av-utils.ts:118
↓ 2 callersMethodcallback
(...args: any[])
src/shared/eventbus.ts:41
↓ 2 callersFunctioncleanValue
(val: any)
src/shared/utils/av-utils.ts:65
↓ 2 callersFunctionconfirmTransformation
(type: 'builder' | 'database')
src/shared/utils/transformation-utils.ts:4
↓ 2 callersFunctioncreateDatabaseWithBlocks
(sourceBlockIds: string[], silent: boolean = false, skipTemplateCols: boolean = false)
src/features/data/list/create-db.ts:91
↓ 2 callersFunctioncreateDialog
()
src/ui/topbar.ts:105
↓ 2 callersMethodemit
(event: any, ...args: any[])
src/shared/eventbus.ts:30
↓ 2 callersFunctionexecAutoUpdate
(parentId: string, notebookId: string, path: string)
src/events/protyle-event.ts:9
↓ 2 callersFunctionexecuteCommand
(cmdId: string | null)
src/features/command/global-registration/command-palette.ts:274
↓ 2 callersFunctionextractBoundBlockIdFromDOM
(pChild: Element | null)
src/features/data/list/create-db.ts:15
next →1–100 of 339, ranked by callers