21 lines
557 B
JavaScript
21 lines
557 B
JavaScript
'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,
|
|
} |