@live-change/framework 0.9.98 → 0.9.100

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.
@@ -11,8 +11,8 @@ export interface ModelIndexDefinitionSpecification {
11
11
  }
12
12
 
13
13
  export interface ModelPropertyDefinitionSpecification {
14
- type: string,
15
- index: ModelIndexDefinitionSpecification
14
+ type?: any,
15
+ index?: ModelIndexDefinitionSpecification
16
16
  }
17
17
 
18
18
  export interface ModelDefinitionSpecification {
@@ -74,10 +74,10 @@ export default function(service, app) {
74
74
  if(trigger.skipValidation && !trigger.validation) continue
75
75
  const validators = getValidators(trigger, service, trigger)
76
76
  if(Object.keys(validators).length > 0) {
77
- console.log("T VALIDATION", trigger.name, validators)
77
+ //console.log("T VALIDATION", trigger.name, validators)
78
78
  const oldExecute = trigger.execute
79
79
  trigger.execute = async (...args) => {
80
- console.log("VALIDATION", trigger.name)
80
+ // console.log("VALIDATION", trigger.name)
81
81
  const context = args[1]
82
82
  if(!trigger.skipValidation) {
83
83
  await validate(args[0], validators, { source: trigger, trigger, service, app, ...context })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.9.98",
3
+ "version": "0.9.100",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.9.98",
26
- "@live-change/uid": "^0.9.98",
25
+ "@live-change/dao": "^0.9.100",
26
+ "@live-change/uid": "^0.9.100",
27
27
  "typedoc": "0.28.3",
28
28
  "typedoc-plugin-markdown": "^4.6.3",
29
29
  "typedoc-plugin-rename-defaults": "^0.7.3"
30
30
  },
31
- "gitHead": "a0e25c0ac835707d27763e56a2c20bd75d978583"
31
+ "gitHead": "4e7ef4d160d217e1d82b8dc5fdf542a65f8a1834"
32
32
  }