@common-stack/client-core
Advanced tools
Comparing version 0.0.14-11 to 0.0.14-12
@@ -11,2 +11,3 @@ import { IFeature, FeatureParams } from '../interfaces'; | ||
route: any; | ||
routeConfig: any; | ||
navItem: any; | ||
@@ -21,5 +22,7 @@ navItemRight: any; | ||
languagesFuncs: any[]; | ||
data: any[]; | ||
constructor(feature?: FeatureParams, ...features: any[]); | ||
readonly router: any; | ||
readonly abstract routes: any; | ||
readonly abstract configuredRoutes: any; | ||
readonly abstract navItems: any; | ||
@@ -26,0 +29,0 @@ readonly abstract navItemsRight: any; |
@@ -150,2 +150,3 @@ module.exports = | ||
this.navItemRight = combine(arguments, arg => arg.navItemRight); | ||
this.routeConfig = combine(arguments, arg => arg.routeConfig); | ||
this.rootComponentFactory = combine(arguments, arg => arg.rootComponentFactory); | ||
@@ -156,3 +157,4 @@ this.dataRootComponent = combine(arguments, arg => arg.dataRootComponent); | ||
this.scriptsInsert = combine(arguments, arg => arg.scriptsInsert); | ||
combine(arguments, arg => arg.catalogInfo).forEach(info => Object.keys(info).forEach(key => (exports.featureCatalog[key] = info[key]))); | ||
this.data = combine([{}].concat(Array.from(arguments)), arg => arg.data) | ||
.reduce((acc, el) => [Object.assign({}, acc[0], el)], [{}]); | ||
} | ||
@@ -159,0 +161,0 @@ get router() { |
@@ -7,29 +7,49 @@ export interface ClientStateParams { | ||
export interface FeatureParams { | ||
link?: any; | ||
createFetch?: any; | ||
connectionParam?: any; | ||
reducer?: any; | ||
resolver?: any; | ||
routerFactory?: any; | ||
route?: any; | ||
navItem?: any; | ||
navItemRight?: any; | ||
rootComponentFactory?: any; | ||
dataRootComponent?: any; | ||
createFetchOptions?: any; | ||
stylesInsert?: any; | ||
scriptsInsert?: any; | ||
catalogInfo?: any; | ||
languagesFuncs?: any; | ||
readonly link?: any; | ||
readonly createFetch?: any; | ||
readonly connectionParam?: any; | ||
readonly reducer?: any; | ||
readonly resolver?: any; | ||
readonly routerFactory?: any; | ||
readonly route?: any; | ||
readonly routeConfig?: any; | ||
readonly navItem?: any; | ||
readonly navItemRight?: any; | ||
readonly rootComponentFactory?: any; | ||
readonly dataRootComponent?: any; | ||
readonly createFetchOptions?: any; | ||
readonly stylesInsert?: any; | ||
readonly scriptsInsert?: any; | ||
readonly catalogInfo?: any; | ||
readonly languagesFuncs?: any; | ||
} | ||
export interface IFeature { | ||
router: any; | ||
routes: any; | ||
navItems: any; | ||
navItemsRight: any; | ||
reducers: any; | ||
resolvers: any; | ||
connectionParams: any; | ||
stylesInserts: any; | ||
scriptsInserts: any; | ||
readonly link: any; | ||
readonly createFetch: any; | ||
readonly connectionParam: any; | ||
readonly reducer: any; | ||
readonly resolver: any; | ||
readonly routerFactory: any; | ||
readonly route: any; | ||
readonly routeConfig: any; | ||
readonly navItem: any; | ||
readonly navItemRight: any; | ||
readonly rootComponentFactory: any[]; | ||
readonly dataRootComponent: any[]; | ||
readonly createFetchOptions: any[]; | ||
readonly stylesInsert: any[]; | ||
readonly scriptsInsert: any[]; | ||
readonly catalogInfo: any[]; | ||
readonly languagesFuncs: any[]; | ||
readonly data: any[]; | ||
readonly router: any; | ||
readonly routes: any; | ||
readonly configuredRoutes: any; | ||
readonly navItems: any; | ||
readonly navItemsRight: any; | ||
readonly reducers: any; | ||
readonly resolvers: any; | ||
readonly connectionParams: any; | ||
readonly stylesInserts: any; | ||
readonly scriptsInserts: any; | ||
getWrappedRoot(root: any, req?: any): any; | ||
@@ -36,0 +56,0 @@ getDataRoot(root: any): any; |
{ | ||
"name": "@common-stack/client-core", | ||
"version": "0.0.14-11", | ||
"version": "0.0.14-12", | ||
"description": "Sample core for higher packages to depend on", | ||
@@ -56,4 +56,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@common-stack/core": "^0.0.14-11" | ||
"@common-stack/core": "^0.0.14-12" | ||
}, | ||
"peerDependencies": { | ||
"lodash": "*" | ||
}, | ||
"typings": "lib/index.d.ts", | ||
@@ -60,0 +63,0 @@ "typescript": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22196
265
2
+ Addedlodash@4.17.21(transitive)