-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhelp.js
53 lines (52 loc) · 1.4 KB
/
help.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
description: 'legacy replication & stub api for replication',
commands: {
request: {
type: 'sync',
description: 'request a specific feed to be replicated or not',
args: {
id: {
type: 'FeedId',
description: 'FeedId to enable or disable replication'
},
replicate: {
type: 'boolean',
description: 'wether to replicate this feed, defaults to true'
}
}
},
block: {
type: 'sync',
description: 'block or unblock replication of a feed',
args: {
from: {
type: 'FeedId',
description: 'feed id which created the block'
},
to: {
type: 'FeedId',
description: 'feed id which was blocked'
},
blocking: {
type: 'boolean',
description: 'wether this is a block or unblock, defaults to unblock (false)'
}
}
},
upto: {
type: 'source',
description: 'stream {id, sequence} tuples of the sequence you are up to for every feed',
args: {
live: {
type: 'boolean',
description: 'include real time changes to replication state, such as new feeds followed'
}
}
},
changes: {
type: 'source',
description: 'stream of replication change events, recommend polling sbot.progress instead',
args: {}
}
}
}