Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// @flow
import AppStore from 'stores/app-store';
import {RouterStore} from 'mobx-router';
const store = {
app: new AppStore(),
router: new RouterStore()
};
export default store;
// @flow
import AppStore from 'stores/app-store';
import {RouterStore} from 'mobx-router';
const store = {
app: new AppStore(),
router: new RouterStore()
};
export default store;
constructor(views) {
super()
this.router = new RouterStore()
this.views = views
this.router.cv = {}
this.listconfs = {}
this.editconfs = {}
PostsInfoInit(this, this.editconfs, this.listconfs)
TagsInfoInit(this, this.editconfs, this.listconfs)
}
submitting: false,
disabled: false
}
},
user: {
name: undefined,
authentication: {
key: undefined,
passPhrase: undefined,
signInType: undefined
}
}
}),
api: new Neoblog(host, contract, account),
ipfsEndpoint: "https://ipfs.io/ipfs/",
router: new RouterStore()
};
export default store;