first commit
This commit is contained in:
21
lib/components/all/route.js
Normal file
21
lib/components/all/route.js
Normal file
@@ -0,0 +1,21 @@
|
||||
'use strict'
|
||||
|
||||
const all = (store, params, cb) => {
|
||||
let state = store.getState()
|
||||
cb({
|
||||
todos: state.todos,
|
||||
//shopping_list: state.shopping_list.items,
|
||||
//timeline: state.timeline.items,
|
||||
//network: state.network.network,
|
||||
//devices: state.devices.devices.devices,
|
||||
//household: state.household.household,
|
||||
//notifications: state.notifications.notifications.notifications,
|
||||
//user_data: state.user_data.userData.authentication,
|
||||
//wakewords: state.wakewords.wakewords,
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
'/': all,
|
||||
'/all': all,
|
||||
}
|
||||
Reference in New Issue
Block a user