2022-10-28 14:17:40 +00:00
|
|
|
name: directive
|
2023-05-23 18:53:53 +00:00
|
|
|
requiredPermissions:
|
|
|
|
- fetch
|
2022-10-28 14:17:40 +00:00
|
|
|
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"
|
2023-08-10 17:00:28 +00:00
|
|
|
processUpdateQueue:
|
|
|
|
path: ./command.ts:processUpdateQueue
|
|
|
|
mqSubscriptions:
|
|
|
|
- queue: directiveUpdateQueue
|
|
|
|
batchSize: 3
|
2022-10-28 14:17:40 +00:00
|
|
|
indexData:
|
|
|
|
path: ./data.ts:indexData
|
|
|
|
events:
|
|
|
|
- page:index
|
|
|
|
dataQueryProvider:
|
|
|
|
path: ./data.ts:queryProvider
|
|
|
|
events:
|
|
|
|
- query:data
|
|
|
|
queryComplete:
|
|
|
|
path: ./complete.ts:queryComplete
|
|
|
|
events:
|
2022-12-21 13:55:24 +00:00
|
|
|
- editor:complete
|
2023-07-02 09:25:32 +00:00
|
|
|
handlebarHelperComplete:
|
2023-08-02 06:35:24 +00:00
|
|
|
path: ./complete.ts:templateVariableComplete
|
2023-07-02 09:25:32 +00:00
|
|
|
events:
|
|
|
|
- editor:complete
|
2022-10-28 14:17:40 +00:00
|
|
|
|
|
|
|
# Templates
|
|
|
|
insertQuery:
|
2023-08-28 15:12:15 +00:00
|
|
|
redirect: template.insertTemplateText
|
2022-10-28 14:17:40 +00:00
|
|
|
slashCommand:
|
|
|
|
name: query
|
|
|
|
description: Insert a query
|
|
|
|
value: |
|
|
|
|
<!-- #query |^| -->
|
|
|
|
|
|
|
|
<!-- /query -->
|
|
|
|
insertInclude:
|
2023-08-28 15:12:15 +00:00
|
|
|
redirect: template.insertTemplateText
|
2022-10-28 14:17:40 +00:00
|
|
|
slashCommand:
|
|
|
|
name: include
|
|
|
|
description: Include another page
|
|
|
|
value: |
|
|
|
|
<!-- #include [[|^|]] -->
|
|
|
|
|
|
|
|
<!-- /include -->
|
|
|
|
insertUseTemplate:
|
2023-08-28 15:12:15 +00:00
|
|
|
redirect: template.insertTemplateText
|
2022-10-28 14:17:40 +00:00
|
|
|
slashCommand:
|
|
|
|
name: use
|
|
|
|
description: Use a template
|
|
|
|
value: |
|
|
|
|
<!-- #use [[|^|]] {} -->
|
|
|
|
|
|
|
|
<!-- /use -->
|
|
|
|
insertUseVerboseTemplate:
|
2023-08-28 15:12:15 +00:00
|
|
|
redirect: template.insertTemplateText
|
2022-10-28 14:17:40 +00:00
|
|
|
slashCommand:
|
|
|
|
name: use-verbose
|
|
|
|
description: Use a template (verbose mode)
|
|
|
|
value: |
|
|
|
|
<!-- #use-verbose [[|^|]] {} -->
|
|
|
|
|
|
|
|
<!-- /use-verbose -->
|
|
|
|
insertEvalTemplate:
|
2023-08-28 15:12:15 +00:00
|
|
|
redirect: template.insertTemplateText
|
2022-10-28 14:17:40 +00:00
|
|
|
slashCommand:
|
|
|
|
name: eval
|
|
|
|
description: Evaluate a JavaScript expression
|
|
|
|
value: |
|
|
|
|
<!-- #eval |^| -->
|
|
|
|
|
|
|
|
<!-- /eval -->
|