1
0
silverbullet/plugs/core/core.plug.yaml
2022-03-29 17:02:28 +02:00

64 lines
1.5 KiB
YAML

functions:
clearPageIndex:
path: "./page.ts:clearPageIndex"
env: server
events:
- page:saved
- page:deleted
indexLinks:
path: "./page.ts:indexLinks"
events:
- page:index
indexItems:
path: "./item.ts:indexItems"
events:
- page:index
deletePage:
path: "./page.ts:deletePage"
command:
name: "Page: Delete"
reindexSpaceCommand:
path: "./page.ts:reindexCommand"
command:
name: "Space: Reindex"
reindexSpace:
path: "./page.ts:reindexSpace"
env: server
showBackLinks:
path: "./page.ts:showBackLinks"
command:
name: "Page: Back Links"
renamePage:
path: "./page.ts:renamePage"
command:
name: "Page: Rename"
pageComplete:
path: "./page.ts:pageComplete"
isCompleter: true
linkNavigate:
path: "./navigate.ts:linkNavigate"
command:
name: Navigate To page
key: Ctrl-Enter
mac: Cmd-Enter
clickNavigate:
path: "./navigate.ts:clickNavigate"
events:
- page:click
insertToday:
path: "./dates.ts:insertToday"
slashCommand:
name: today
welcome:
path: "./server.ts:welcome"
events:
- plug:load
env: server
updateMaterializedQueriesOnPage:
path: ./materialized_queries.ts:updateMaterializedQueriesOnPage
env: server
updateMaterializedQueriesCommand:
path: ./materialized_queries.ts:updateMaterializedQueriesCommand
command:
name: "Materialized Queries: Update"