@live-change/framework 0.8.10 → 0.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -162,8 +162,9 @@ class ServiceDefinition {
|
|
|
162
162
|
this.endpoints.push(endpoint)
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
validator(validator) {
|
|
166
|
-
this.validators
|
|
165
|
+
validator(name, validator) {
|
|
166
|
+
this.validators[name] = validator
|
|
167
|
+
console.log("VALIDATOR DEFINED", name, validator)
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
clientSideFilter(filter) {
|
|
@@ -213,7 +214,6 @@ class ServiceDefinition {
|
|
|
213
214
|
"Model", "model", { }))
|
|
214
215
|
return changes
|
|
215
216
|
}
|
|
216
|
-
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export default ServiceDefinition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/framework",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.11",
|
|
4
4
|
"description": "Live Change Framework - ultimate solution for real time mobile/web apps",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/live-change/live-change-framework",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@live-change/dao": "^0.8.
|
|
26
|
-
"@live-change/uid": "^0.8.
|
|
25
|
+
"@live-change/dao": "^0.8.11",
|
|
26
|
+
"@live-change/uid": "^0.8.11"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "c69f8c0c5b1f9c8b62d74bd44e97dccbdc789c5a"
|
|
29
29
|
}
|