silverbullet/packages/plugs/query/query.plug.yaml

29 lines
716 B
YAML
Raw Normal View History

2022-04-27 01:04:36 +08:00
name: query
2022-05-13 20:36:26 +08:00
# dependencies:
# yaml: "yaml@2"
# "@lezer/lr": "@lezer/lr@0.15.4"
2022-04-12 02:34:09 +08:00
functions:
updateMaterializedQueriesOnPage:
path: ./materialized_queries.ts:updateMaterializedQueriesOnPage
updateMaterializedQueriesCommand:
path: ./materialized_queries.ts:updateMaterializedQueriesCommand
command:
name: "Materialized Queries: Update"
key: "Alt-q"
2022-06-18 02:17:22 +08:00
shortcut:
label: "Update queries"
events:
- editor:pageLoaded
indexData:
path: ./data.ts:indexData
events:
- page:index
dataQueryProvider:
path: ./data.ts:queryProvider
events:
- query:data
insertQueryCommand:
path: ./command.ts:insertQuery
slashCommand:
name: query