@qvibi-toolbox/qapp
Advanced tools
Comparing version 0.1.5 to 0.1.7
@@ -5,4 +5,5 @@ export * from './lib/effects'; | ||
export * from './lib/reducer'; | ||
export * from './lib/routing'; | ||
export * from './lib/saga'; | ||
export * from './lib/selector'; | ||
export * from './lib/store'; |
{ | ||
"name": "@qvibi-toolbox/qapp", | ||
"version": "0.1.5", | ||
"version": "0.1.7", | ||
"main": "./qapp-qapp-core.umd.js", | ||
@@ -10,3 +10,4 @@ "module": "./qapp-qapp-core.esm.js", | ||
"redux": "4.0.5", | ||
"@qvibi-toolbox/core": "0.1.6", | ||
"@qvibi-toolbox/core": "0.1.7", | ||
"react-router": "5.2.0", | ||
"reselect": "4.0.0" | ||
@@ -13,0 +14,0 @@ }, |
import { take as take$1, takeEvery as takeEvery$1, takeLatest as takeLatest$1, takeLeading as takeLeading$1, put as put$1, select as select$1 } from 'redux-saga/effects'; | ||
export { all, call, cancel, cancelled, delay, fork, race } from 'redux-saga/effects'; | ||
import { combineReducers as combineReducers$1, compose, createStore, applyMiddleware } from 'redux'; | ||
import { generatePath as generatePath$1 } from 'react-router'; | ||
export { createSelector } from 'reselect'; | ||
@@ -187,2 +188,11 @@ import createSagaMiddleware, { END } from 'redux-saga'; | ||
function defineRoute(options) { | ||
return { | ||
path: options.path | ||
}; | ||
} | ||
function generatePath(routeDef, params) { | ||
return generatePath$1(routeDef.path, params); | ||
} | ||
function createMsgSaga(_msgDef, worker) { | ||
@@ -346,2 +356,2 @@ return worker; | ||
export { combineReducers, createModule, createModuleReducer, createModuleSaga, createModuleSelector, createMsgSaga, createQApp, defineModule, defineMsgs, on, put, select, take, takeEvery, takeLatest, takeLeading, withPayload, withState }; | ||
export { combineReducers, createModule, createModuleReducer, createModuleSaga, createModuleSelector, createMsgSaga, createQApp, defineModule, defineMsgs, defineRoute, generatePath, on, put, select, take, takeEvery, takeLatest, takeLeading, withPayload, withState }; |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('redux-saga/effects'), require('redux'), require('reselect'), require('redux-saga')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'redux-saga/effects', 'redux', 'reselect', 'redux-saga'], factory) : | ||
(global = global || self, factory(global.QappQappCore = {}, global.effects, global.redux, global.reselect, global.createSagaMiddleware)); | ||
}(this, (function (exports, effects, redux, reselect, createSagaMiddleware) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('redux-saga/effects'), require('redux'), require('react-router'), require('reselect'), require('redux-saga')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'redux-saga/effects', 'redux', 'react-router', 'reselect', 'redux-saga'], factory) : | ||
(global = global || self, factory(global.QappQappCore = {}, global.effects, global.redux, global.reactRouter, global.reselect, global.createSagaMiddleware)); | ||
}(this, (function (exports, effects, redux, reactRouter, reselect, createSagaMiddleware) { 'use strict'; | ||
@@ -189,2 +189,11 @@ var createSagaMiddleware__default = 'default' in createSagaMiddleware ? createSagaMiddleware['default'] : createSagaMiddleware; | ||
function defineRoute(options) { | ||
return { | ||
path: options.path | ||
}; | ||
} | ||
function generatePath(routeDef, params) { | ||
return reactRouter.generatePath(routeDef.path, params); | ||
} | ||
function createMsgSaga(_msgDef, worker) { | ||
@@ -405,2 +414,4 @@ return worker; | ||
exports.defineMsgs = defineMsgs; | ||
exports.defineRoute = defineRoute; | ||
exports.generatePath = generatePath; | ||
exports.on = on; | ||
@@ -407,0 +418,0 @@ exports.put = put; |
37535
14
805
5
+ Addedreact-router@5.2.0
+ Added@qvibi-toolbox/core@0.1.7(transitive)
+ Addedhistory@4.10.1(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedmini-create-react-context@0.4.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedpath-to-regexp@1.9.0(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@17.0.218.3.1(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedreact-router@5.2.0(transitive)
+ Addedresolve-pathname@3.0.0(transitive)
+ Addedtiny-invariant@1.3.3(transitive)
+ Addedtiny-warning@1.0.3(transitive)
+ Addedvalue-equal@1.0.1(transitive)
- Removed@qvibi-toolbox/core@0.1.6(transitive)
Updated@qvibi-toolbox/core@0.1.7