@live-change/relations-plugin
Advanced tools
Comparing version
{ | ||
"name": "@live-change/relations-plugin", | ||
"version": "0.9.28", | ||
"version": "0.9.29", | ||
"description": "", | ||
@@ -25,6 +25,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@live-change/framework": "^0.9.28", | ||
"@live-change/framework": "^0.9.29", | ||
"pluralize": "^8.0.0" | ||
}, | ||
"gitHead": "f308e368e678fa38ddef6a6d4999ad730b18e8ce" | ||
"gitHead": "425e1d43a7359693059b41692d1fe04e12d5f0b1" | ||
} |
@@ -330,3 +330,3 @@ import App from '@live-change/framework' | ||
} = context | ||
const eventName = joinedOthersPropertyName + context.reverseRelationWord + modelName + 'Reset' | ||
const eventName = modelName + 'Reset' | ||
return async function execute(properties, {client, service}, emit) { | ||
@@ -333,0 +333,0 @@ const identifiers = extractIdentifiersWithTypes(otherPropertyNames, properties) |
@@ -166,4 +166,5 @@ import App from "@live-change/framework" | ||
context.model.accessControlParentsSource = context.otherPropertyNames.map( | ||
otherPropertyName => ({ | ||
property: otherPropertyName | ||
(otherPropertyName, index) => ({ | ||
property: otherPropertyName, | ||
possibleTypes: context.otherPossibleTypes[index] | ||
}) | ||
@@ -170,0 +171,0 @@ ) |
148129
0.01%3728
0.03%