Files
plainleaf/plugs/sync/sync.plug.yaml
T

26 lines
570 B
YAML

name: sync
functions:
# Commands
syncSpaceCommand:
path: "./sync.ts:syncSpaceCommand"
command:
name: "Sync: Space"
syncFileCommand:
path: "./sync.ts:syncFileCommand"
command:
name: "Sync: File"
spaceSyncComplete:
path: "./sync.ts:spaceSyncComplete"
events:
- "service-worker:space-sync-complete"
updateSyncStatus:
path: "./sync.ts:updateSyncStatus"
events:
- "service-worker:sync-status"
reportSyncConflict:
path: "./sync.ts:reportSyncConflict"
events:
- "service-worker:sync-conflict"