@live-change/relations-plugin 0.9.78 → 0.9.79

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/relations-plugin",
3
- "version": "0.9.78",
3
+ "version": "0.9.79",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.9.78",
25
+ "@live-change/framework": "^0.9.79",
26
26
  "pluralize": "^8.0.0"
27
27
  },
28
- "gitHead": "747a9cb02377d924583925508f082c8dd5031d43"
28
+ "gitHead": "68d2965e5a3b780063a5d0f9ce71d911fd1fb6be"
29
29
  }
@@ -159,7 +159,7 @@ export function defineCreateAction(config, context) {
159
159
  waitForEvents: true,
160
160
  execute: () => { throw new Error("not generated yet") }
161
161
  })
162
- const validators = App.validation.getValidators(action, service, action)
162
+ const validators = App.validation.getValidators(action, service)
163
163
  const validationContext = { source: action, action }
164
164
  action.execute = getCreateFunction( validators, validationContext, config, context)
165
165
  service.actions[actionName] = action
@@ -179,7 +179,7 @@ export function defineCreateTrigger(config, context) {
179
179
  waitForEvents: true,
180
180
  execute: () => { throw new Error("not generated yet") }
181
181
  })
182
- const validators = App.validation.getValidators(trigger, service, trigger)
182
+ const validators = App.validation.getValidators(trigger, service)
183
183
  const validationContext = { source: trigger, trigger }
184
184
  trigger.execute = getCreateFunction( validators, validationContext, config, context)
185
185
  }
@@ -233,7 +233,7 @@ export function defineUpdateAction(config, context) {
233
233
  waitForEvents: true,
234
234
  execute: () => { throw new Error("not generated yet") }
235
235
  })
236
- const validators = App.validation.getValidators(action, service, action)
236
+ const validators = App.validation.getValidators(action, service)
237
237
  const validationContext = { source: action, action }
238
238
  action.execute = getUpdateFunction( validators, validationContext, config, context)
239
239
  service.actions[actionName] = action
@@ -258,7 +258,7 @@ export function defineUpdateTrigger(config, context) {
258
258
  waitForEvents: true,
259
259
  execute: () => { throw new Error("not generated yet") }
260
260
  })
261
- const validators = App.validation.getValidators(trigger, service, trigger)
261
+ const validators = App.validation.getValidators(trigger, service)
262
262
  const validationContext = { source: trigger, trigger }
263
263
  trigger.execute = getUpdateFunction( validators, validationContext, config, context)
264
264
  service.triggers[triggerName] = [trigger]