1
0
silverbullet/plugs/directive/directive.plug.yaml

37 lines
953 B
YAML
Raw Normal View History

name: directive
requiredPermissions:
- fetch
functions:
updateDirectivesOnPageCommand:
path: ./command.ts:updateDirectivesOnPageCommand
command:
name: "Directives: Update"
key: "Alt-q"
events:
- editor:pageLoaded
2023-08-04 16:56:55 +00:00
updateDirectivesInSpace:
path: ./command.ts:updateDirectivesInSpace
2023-08-04 19:25:14 +00:00
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"