name: query
# dependencies:
#   yaml: "yaml@2"
#   "@lezer/lr": "@lezer/lr@0.15.4"
functions:
  updateMaterializedQueriesOnPage:
    path: ./materialized_queries.ts:updateMaterializedQueriesOnPage
  updateMaterializedQueriesCommand:
    path: ./materialized_queries.ts:updateMaterializedQueriesCommand
    command:
      name: "Materialized Queries: Update"
      key: "Alt-q"
      button:
        label: "🔄"
    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