0313565610
Complete redo of data store Introduces live queries and live templates
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: directive
|
|
requiredPermissions:
|
|
- fetch
|
|
functions:
|
|
updateDirectivesOnPageCommand:
|
|
path: ./command.ts:updateDirectivesOnPageCommand
|
|
command:
|
|
name: "Directives: Update"
|
|
key: "Alt-q"
|
|
events:
|
|
- editor:pageLoaded
|
|
updateDirectivesInSpace:
|
|
path: ./command.ts:updateDirectivesInSpace
|
|
updateDirectivesInSpaceCommand:
|
|
path: ./command.ts:updateDirectivesInSpaceCommand
|
|
command:
|
|
name: "Directives: Update Entire Space"
|
|
processUpdateQueue:
|
|
path: ./command.ts:processUpdateQueue
|
|
mqSubscriptions:
|
|
- queue: directiveUpdateQueue
|
|
batchSize: 3
|
|
queryComplete:
|
|
path: ./complete.ts:queryComplete
|
|
events:
|
|
- editor:complete
|
|
handlebarHelperComplete:
|
|
path: ./complete.ts:templateVariableComplete
|
|
events:
|
|
- editor:complete
|
|
|
|
# Conversion
|
|
convertToLiveQuery:
|
|
path: command.ts:convertToLiveQuery
|
|
command:
|
|
name: "Directive: Convert Query to Live Query"
|
|
|
|
# Templates
|
|
insertEvalTemplate:
|
|
redirect: template.insertTemplateText
|
|
slashCommand:
|
|
name: eval
|
|
description: Evaluate a JavaScript expression
|
|
value: |
|
|
<!-- #eval |^| -->
|
|
|
|
<!-- /eval --> |