2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* These actions are actions acting directly on all the available stores.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/** Define an action to invalidate all the stores, e.g. in case of logout. */
|
2016-08-03 15:52:47 +02:00
|
|
|
export const INVALIDATE_STORE = "INVALIDATE_STORE";
|
|
|
|
export function invalidateStore() {
|
|
|
|
return {
|
2016-08-10 23:50:23 +02:00
|
|
|
type: INVALIDATE_STORE,
|
2016-08-03 15:52:47 +02:00
|
|
|
};
|
|
|
|
}
|