@common-stack/server-core
Advanced tools
Comparing version 0.0.147 to 0.0.148
@@ -31,3 +31,2 @@ import { IResolverOptions, IDirectiveOptions } from '../interfaces'; | ||
overwritePreference: Function[]; | ||
dataIdFromObject: Function[]; | ||
constructor(feature?: FeatureParams, ...features: Feature[]); | ||
@@ -45,4 +44,3 @@ readonly schemas: string[]; | ||
getPreferences(): any[]; | ||
getDataIdFromObject(result: any): any; | ||
} | ||
export { Feature }; |
@@ -118,3 +118,2 @@ module.exports = | ||
this.overwritePreference = combine(arguments, arg => arg.overwritePreference); | ||
this.dataIdFromObject = combine(arguments, arg => arg.dataIdFromObject); | ||
} | ||
@@ -165,6 +164,2 @@ get schemas() { | ||
} | ||
getDataIdFromObject(result) { | ||
const dataIdFromObject = lodash_1.merge(...this.dataIdFromObject); | ||
return dataIdFromObject[result.type](result); | ||
} | ||
} | ||
@@ -171,0 +166,0 @@ exports.Feature = Feature; |
{ | ||
"name": "@common-stack/server-core", | ||
"version": "0.0.147", | ||
"version": "0.0.148", | ||
"description": "xterm server services for Node", | ||
@@ -51,3 +51,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@common-stack/utils": "^0.0.147", | ||
"@common-stack/utils": "^0.0.148", | ||
"cross-env": "^5.1.3", | ||
@@ -59,3 +59,3 @@ "jest": "^22.4.2", | ||
"dependencies": { | ||
"@common-stack/core": "^0.0.147" | ||
"@common-stack/core": "^0.0.148" | ||
}, | ||
@@ -62,0 +62,0 @@ "typings": "lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
34931
24
406
+ Added@common-stack/core@0.0.148(transitive)
- Removed@common-stack/core@0.0.147(transitive)
Updated@common-stack/core@^0.0.148