You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right. These syscalls don’t appear on that page because they’re not available on the server, just on the client. Therefore they can only be used for some use cases like commands (which run in the client), but not custom functions used in templates (rendered on the server). The reason they don’t appear on that list is that that list is rendered by a template, which queries for all available syscalls… on the server.
This query should list all syscalls:
Yet
editor.*
are not present in this list.I know they should be present because they are being used in a script https://github.com/gorootde/silverbullet-collection/blob/main/scripts/InsertDate.md:
here is my list:
event
event.dispatch
event.list
space
space.listPages
space.readPage
space.getPageMeta
space.listPlugs
space.listAttachments
space.readAttachment
space.getAttachmentMeta
space.listFiles
space.getFileMeta
space.readFile
space.writePage
space.deletePage
space.writeAttachment
space.deleteAttachment
space.writeFile
space.deleteFile
asset
asset.readAsset
yaml
yaml.parse
yaml.stringify
system
system.invokeFunction
system.invokeCommand
system.listCommands
system.listSyscalls
system.reloadPlugs
system.loadSpaceScripts
system.loadSpaceStyles
system.invokeSpaceFunction
system.applyAttributeExtractors
system.getEnv
system.getMode
system.getVersion
mq
mq.send
mq.batchSend
mq.ack
mq.batchAck
mq.getQueueStats
language
language.parseLanguage
language.listLanguages
template
template.renderTemplate
template.parseTemplate
datastore
datastore.batchGet
datastore.get
datastore.query
datastore.listFunctions
datastore.delete
datastore.set
datastore.batchSet
datastore.batchDelete
datastore.queryDelete
codeWidget
codeWidget.render
markdown
markdown.parseMarkdown
sandboxFetch
sandboxFetch.fetch
shell
shell.run
The text was updated successfully, but these errors were encountered: