2023-08-28 15:12:15 +00:00
|
|
|
name: index
|
|
|
|
syntax:
|
|
|
|
Hashtag:
|
|
|
|
firstCharacters:
|
|
|
|
- "#"
|
|
|
|
regex: "#[^#\\d\\s\\[\\]]+\\w+"
|
|
|
|
className: sb-hashtag
|
|
|
|
NamedAnchor:
|
|
|
|
firstCharacters:
|
|
|
|
- "$"
|
|
|
|
regex: "\\$[a-zA-Z\\.\\-\\/]+[\\w\\.\\-\\/]*"
|
|
|
|
className: sb-named-anchor
|
2023-10-03 12:16:33 +00:00
|
|
|
assets:
|
|
|
|
- asset/*
|
2023-08-28 15:12:15 +00:00
|
|
|
functions:
|
2023-10-03 12:16:33 +00:00
|
|
|
loadBuiltinsIntoIndex:
|
|
|
|
path: builtins.ts:loadBuiltinsIntoIndex
|
|
|
|
env: server
|
|
|
|
events:
|
|
|
|
- system:ready
|
|
|
|
|
|
|
|
# Public API
|
|
|
|
batchSet:
|
|
|
|
path: api.ts:batchSet
|
|
|
|
env: server
|
2023-10-03 13:24:07 +00:00
|
|
|
query:
|
|
|
|
path: api.ts:query
|
|
|
|
env: server
|
2023-10-03 12:16:33 +00:00
|
|
|
indexObjects:
|
|
|
|
path: api.ts:indexObjects
|
|
|
|
env: server
|
|
|
|
queryObjects:
|
|
|
|
path: api.ts:queryObjects
|
|
|
|
env: server
|
|
|
|
getObjectByRef:
|
|
|
|
path: api.ts:getObjectByRef
|
|
|
|
env: server
|
|
|
|
|
|
|
|
objectSourceProvider:
|
|
|
|
path: api.ts:objectSourceProvider
|
|
|
|
events:
|
|
|
|
- query:*
|
|
|
|
discoverSources:
|
|
|
|
path: api.ts:discoverSources
|
|
|
|
events:
|
|
|
|
- query_
|
|
|
|
clearIndex:
|
|
|
|
path: api.ts:clearIndex
|
|
|
|
env: server
|
|
|
|
|
|
|
|
clearDSIndex:
|
|
|
|
path: api.ts:clearPageIndex
|
2023-08-28 15:12:15 +00:00
|
|
|
env: server
|
|
|
|
events:
|
|
|
|
- page:saved
|
|
|
|
- page:deleted
|
2023-10-03 12:16:33 +00:00
|
|
|
|
2023-08-28 15:12:15 +00:00
|
|
|
parseIndexTextRepublish:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: "./command.ts:parseIndexTextRepublish"
|
2023-08-28 15:12:15 +00:00
|
|
|
env: server
|
|
|
|
events:
|
|
|
|
- page:index_text
|
2023-10-03 12:16:33 +00:00
|
|
|
|
2023-08-28 15:12:15 +00:00
|
|
|
reindexSpaceCommand:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: "./command.ts:reindexCommand"
|
2023-08-28 15:12:15 +00:00
|
|
|
command:
|
|
|
|
name: "Space: Reindex"
|
|
|
|
processIndexQueue:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: ./command.ts:processIndexQueue
|
2023-08-28 15:12:15 +00:00
|
|
|
mqSubscriptions:
|
|
|
|
- queue: indexQueue
|
|
|
|
batchSize: 10
|
|
|
|
autoAck: true
|
|
|
|
reindexSpace:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: "./command.ts:reindexSpace"
|
|
|
|
env: server
|
2023-08-28 15:12:15 +00:00
|
|
|
|
|
|
|
# Attachments
|
|
|
|
attachmentQueryProvider:
|
|
|
|
path: ./attachment.ts:attachmentQueryProvider
|
|
|
|
events:
|
|
|
|
- query:attachment
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
indexPage:
|
|
|
|
path: page.ts:indexPage
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
|
2023-10-12 18:30:47 +00:00
|
|
|
indexParagraphs:
|
|
|
|
path: "./paragraph.ts:indexParagraphs"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
|
2023-08-28 15:12:15 +00:00
|
|
|
# Backlinks
|
|
|
|
indexLinks:
|
|
|
|
path: "./page_links.ts:indexLinks"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
|
|
|
|
attributeComplete:
|
|
|
|
path: "./attributes.ts:attributeComplete"
|
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
objectAttributeCompleter:
|
|
|
|
path: ./attributes.ts:objectAttributeCompleter
|
2023-08-28 15:12:15 +00:00
|
|
|
events:
|
|
|
|
- attribute:complete:*
|
|
|
|
|
|
|
|
# Item indexing
|
|
|
|
indexItem:
|
|
|
|
path: "./item.ts:indexItems"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
|
|
|
|
# Anchors
|
|
|
|
indexAnchors:
|
|
|
|
path: "./anchor.ts:indexAnchors"
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
anchorComplete:
|
|
|
|
path: "./anchor.ts:anchorComplete"
|
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
# Data
|
|
|
|
indexData:
|
|
|
|
path: data.ts:indexData
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
|
2023-08-28 15:12:15 +00:00
|
|
|
# Hashtags
|
|
|
|
indexTags:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: tags.ts:indexTags
|
2023-08-28 15:12:15 +00:00
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
tagComplete:
|
2023-10-03 12:16:33 +00:00
|
|
|
path: tags.ts:tagComplete
|
2023-08-28 15:12:15 +00:00
|
|
|
events:
|
|
|
|
- editor:complete
|
|
|
|
|
|
|
|
renamePageCommand:
|
|
|
|
path: "./refactor.ts:renamePageCommand"
|
|
|
|
command:
|
|
|
|
name: "Page: Rename"
|
|
|
|
mac: Cmd-Alt-r
|
|
|
|
key: Ctrl-Alt-r
|
|
|
|
page: ""
|
|
|
|
renamePrefixCommand:
|
|
|
|
path: "./refactor.ts:renamePrefixCommand"
|
|
|
|
command:
|
|
|
|
name: "Page: Batch Rename Prefix"
|
|
|
|
|
|
|
|
# Refactoring Commands
|
|
|
|
extractToPageCommand:
|
|
|
|
path: ./refactor.ts:extractToPageCommand
|
|
|
|
command:
|
|
|
|
name: "Page: Extract"
|
|
|
|
|
2023-10-03 12:16:33 +00:00
|
|
|
# Mentions panel (postscript)
|
|
|
|
toggleMentions:
|
|
|
|
path: "./mentions_ps.ts:toggleMentions"
|
|
|
|
command:
|
|
|
|
name: "Mentions: Toggle"
|
|
|
|
key: ctrl-alt-m
|
|
|
|
updateMentions:
|
|
|
|
path: "./mentions_ps.ts:updateMentions"
|
|
|
|
env: client
|
|
|
|
events:
|
|
|
|
- plug:load
|
|
|
|
- editor:pageLoaded
|
|
|
|
navigateToMention:
|
|
|
|
path: "./mentions_ps.ts:navigate"
|
2023-08-28 15:12:15 +00:00
|
|
|
|
2023-10-09 18:39:03 +00:00
|
|
|
renderMentions:
|
|
|
|
path: "./mentions_ps.ts:renderMentions"
|
2023-11-21 15:24:20 +00:00
|
|
|
|
2023-11-25 12:40:56 +00:00
|
|
|
# TOC
|
|
|
|
toggleTOC:
|
|
|
|
path: toc_preface.ts:toggleTOC
|
|
|
|
command:
|
|
|
|
name: "Table of Contents: Toggle"
|
|
|
|
key: ctrl-alt-t
|
|
|
|
|
|
|
|
renderTOC:
|
|
|
|
path: toc_preface.ts:renderTOC
|
|
|
|
env: client
|
|
|
|
events:
|
|
|
|
- plug:load
|
|
|
|
- editor:pageLoaded
|
|
|
|
|
2023-11-21 15:24:20 +00:00
|
|
|
lintYAML:
|
|
|
|
path: lint.ts:lintYAML
|
|
|
|
events:
|
|
|
|
- editor:lint
|