Connection / Socket to our couch
AccountRemote is using CouchDB's _changes feed to
listen to changes and _bulk_docs to push local changes
When hoodie.remote is continuously syncing (default), it will continuously synchronize with local store, otherwise sync, pull or push can be called manually
set name to user's DB name
we're always connected to our own db
do not prefix files for my own remote
preset known objects with localstore.
connect by default
do not start to connect immediately, but authenticate beforehand
to determine wether to trigger an add or update
event, the known objects from the user get loaded
from local store initially.
we store the last since number from the current user's store in his config
if no objects passed to be pushed, we default to changed objects in user's local store
namespaced alias for hoodie.on
namespaced alias for hoodie.trigger
AccountRemote