silverbullet/plugs/query/query.plug.yaml

53 lines
976 B
YAML
Raw Normal View History

name: query
functions:
# API
queryParsed:
path: api.ts:queryParsed
query:
path: api.ts:query
renderQuery:
path: api.ts:renderQuery
queryWidget:
path: widget.ts:widget
codeWidget: query
renderMode: markdown
# Query widget buttons
editButton:
path: widget.ts:editButton
2024-02-24 22:51:55 +08:00
bakeButton:
path: widget.ts:bakeButton
2023-11-21 23:56:21 +08:00
lintQuery:
path: lint.ts:lintQuery
2023-11-21 23:56:21 +08:00
events:
2024-02-24 22:51:55 +08:00
- editor:lint
2023-11-21 23:56:21 +08:00
queryComplete:
path: complete.ts:queryComplete
events:
2024-02-24 22:51:55 +08:00
- editor:complete
2024-02-04 23:36:59 +08:00
queryAttributeComplete:
path: complete.ts:queryAttributeComplete
events:
2024-02-24 22:51:55 +08:00
- editor:complete
2024-02-04 23:36:59 +08:00
2023-10-04 23:14:24 +08:00
languageComplete:
path: complete.ts:languageComplete
events:
2024-02-24 22:51:55 +08:00
- editor:complete
2023-10-04 23:14:24 +08:00
2023-11-15 17:08:21 +08:00
refreshAllWidgets:
path: widget.ts:refreshAllWidgets
2023-11-15 17:08:21 +08:00
command:
name: "Live Queries and Templates: Refresh All"
key: "Alt-q"
2024-02-24 22:51:55 +08:00
bakeAllWidgets:
path: widget.ts:bakeAllWidgets
command:
name: "Page: Bake live blocks"