silverbullet/plugs/federation/federation.plug.yaml

41 lines
898 B
YAML

name: federation
requiredPermissions:
- fetch
functions:
listFiles:
path: ./federation.ts:listFiles
env: server
pageNamespace:
pattern: "!.+"
operation: listFiles
readFile:
path: ./federation.ts:readFile
pageNamespace:
pattern: "!.+"
operation: readFile
writeFile:
path: ./federation.ts:writeFile
pageNamespace:
pattern: "!.+"
operation: writeFile
deleteFile:
path: ./federation.ts:deleteFile
pageNamespace:
pattern: "!.+"
operation: deleteFile
getFileMeta:
path: ./federation.ts:getFileMeta
pageNamespace:
pattern: "!.+"
operation: getFileMeta
# Library management commands
updateLibrariesCommand:
path: library.ts:updateLibrariesCommand
command:
name: "Libraries: Update"
requireMode: rw
updateLibraries:
path: library.ts:updateLibraries
env: server