This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// **** Framework ******* | |
function createAction(reducer) { | |
const subject$ = new Rx.Subject(); | |
return { | |
dispatch (payload) { | |
subject$.onNext(payload); | |
}, | |
stream$: subject$.map((payload) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
navigation: [ | |
{title: 'Account', href: '/guides/account'}, | |
... | |
], | |
resources: { | |
'account': { | |
title: 'Account', // x-sfdc-ia-resource | |
slug: 'account', // parameterized version of x-sfdc-ia-resource | |
endpoints: [ |