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

37 lines
823 B
YAML

name: collab
functions:
detectCollabPage:
path: "./collab.ts:detectPage"
events:
- editor:pageLoaded
- plugs:loaded
joinCommand:
path: "./collab.ts:joinCommand"
command:
name: "Share: Join Collab"
shareCommand:
path: "./collab.ts:shareCommand"
command:
name: "Share: Collab"
shareNoop:
path: "./collab.ts:shareNoop"
events:
- share:collab
# Space extension
readPageCollab:
path: ./collab.ts:readFileCollab
pageNamespace:
pattern: "collab:.+"
operation: readFile
writePageCollab:
path: ./collab.ts:writeFileCollab
pageNamespace:
pattern: "collab:.+"
operation: writeFile
getPageMetaCollab:
path: ./collab.ts:getFileMetaCollab
pageNamespace:
pattern: "collab:.+"
operation: getFileMeta