silverbullet/plugs/federation/federation.plug.yaml

35 lines
775 B
YAML
Raw Normal View History

name: federation
requiredPermissions:
- fetch
functions:
readFile:
path: ./federation.ts:readFile
pageNamespace:
2024-07-18 02:18:53 +08:00
pattern: "^!.+"
operation: readFile
writeFile:
path: ./federation.ts:writeFile
pageNamespace:
2024-07-18 02:18:53 +08:00
pattern: "^!.+"
operation: writeFile
deleteFile:
path: ./federation.ts:deleteFile
pageNamespace:
2024-07-18 02:18:53 +08:00
pattern: "^!.+"
operation: deleteFile
getFileMeta:
path: ./federation.ts:getFileMeta
pageNamespace:
2024-07-18 02:18:53 +08:00
pattern: "^!.+"
2023-08-02 03:35:19 +08:00
operation: getFileMeta
# Library management commands
updateLibrariesCommand:
path: library.ts:updateLibrariesCommand
command:
name: "Libraries: Update"
requireMode: rw
updateLibraries:
path: library.ts:updateLibraries
env: server