2023-01-13 14:41:29 +00:00
|
|
|
name: sync
|
|
|
|
functions:
|
|
|
|
configureCommand:
|
|
|
|
path: sync.ts:configureCommand
|
|
|
|
command:
|
|
|
|
name: "Sync: Configure"
|
|
|
|
|
2023-01-26 14:54:28 +00:00
|
|
|
disableCommand:
|
|
|
|
path: sync.ts:disableCommand
|
|
|
|
command:
|
|
|
|
name: "Sync: Disable"
|
|
|
|
|
2023-01-13 14:41:29 +00:00
|
|
|
syncCommand:
|
|
|
|
path: sync.ts:syncCommand
|
|
|
|
command:
|
|
|
|
name: "Sync: Sync"
|
2023-01-16 17:55:35 +00:00
|
|
|
key: "Shift-Alt-s"
|
2023-01-13 14:41:29 +00:00
|
|
|
|
2023-01-16 17:34:15 +00:00
|
|
|
wipeAndSyncCommand:
|
|
|
|
path: sync.ts:localWipeAndSyncCommand
|
|
|
|
command:
|
|
|
|
name: "Sync: Wipe Local Space and Sync"
|
|
|
|
|
2023-01-26 14:54:28 +00:00
|
|
|
syncOpenedPage:
|
|
|
|
path: sync.ts:syncOpenedPage
|
|
|
|
events:
|
|
|
|
- editor:pageLoaded
|
|
|
|
|
2023-01-13 14:41:29 +00:00
|
|
|
check:
|
|
|
|
env: server
|
|
|
|
path: sync.ts:check
|
|
|
|
|
|
|
|
performSync:
|
|
|
|
env: server
|
|
|
|
path: sync.ts:performSync
|
2023-01-26 14:54:28 +00:00
|
|
|
# Sync every minute
|
2023-01-20 15:08:01 +00:00
|
|
|
cron: "* * * * *"
|
|
|
|
|
2023-01-26 14:54:28 +00:00
|
|
|
# Automatically sync the current page upon change
|
2023-01-20 15:08:01 +00:00
|
|
|
syncPage:
|
|
|
|
path: sync.ts:syncPage
|
|
|
|
env: server
|
|
|
|
events:
|
|
|
|
- page:saved
|