git ssb

2+

mixmix / ticktack



Tree: 67583b0e9605f9e2c2a95ff125a23e8a1cca8953

Files: 67583b0e9605f9e2c2a95ff125a23e8a1cca8953 / app / sync / initialize / suggests.js

547 bytesRaw
1const nest = require('depnest')
2
3exports.gives = nest('app.sync.initialize')
4
5exports.needs = nest({
6 'about.async.suggest': 'first',
7 'channel.async.suggest': 'first'
8 // 'channel.obs.recent': 'first'
9})
10
11exports.create = (api) => {
12 var nav = null
13
14 return nest({
15 'app.sync.initialize': function initializeSuggests () {
16 console.log('> initialise: suggest-mentions')
17 api.about.async.suggest()
18 api.channel.async.suggest()
19 // api.channel.obs.recent()() TODO - figure out how to initialise this store
20 }
21 })
22}
23

Built with git-ssb-web