36 lines
828 B
YAML
36 lines
828 B
YAML
|
name: collab
|
||
|
imports:
|
||
|
- https://get.silverbullet.md/global.plug.json
|
||
|
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"
|
||
|
readPageCollab:
|
||
|
path: ./collab.ts:readFileCollab
|
||
|
env: client
|
||
|
pageNamespace:
|
||
|
pattern: "collab:.+"
|
||
|
operation: readFile
|
||
|
writePageCollab:
|
||
|
path: ./collab.ts:writeFileCollab
|
||
|
env: client
|
||
|
pageNamespace:
|
||
|
pattern: "collab:.+"
|
||
|
operation: writeFile
|
||
|
getPageMetaCollab:
|
||
|
path: ./collab.ts:getFileMetaCollab
|
||
|
env: client
|
||
|
pageNamespace:
|
||
|
pattern: "collab:.+"
|
||
|
operation: getFileMeta
|