@live-change/relations-plugin
Advanced tools
Comparing version 0.6.8 to 0.6.9
@@ -24,2 +24,3 @@ const { | ||
access: config.access, | ||
accessControl: config.readAccessControl || config.writeAccessControl, | ||
daoPath(properties, { client, context }) { | ||
@@ -89,2 +90,3 @@ const id = properties[modelName] | ||
access: config.createAccess || config.writeAccess, | ||
accessControl: config.createAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -124,2 +126,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.updateAccess || config.writeAccess, | ||
accessControl: config.updateAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -159,2 +162,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.deleteAccess || config.writeAccess, | ||
accessControl: config.deleteAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -161,0 +165,0 @@ waitForEvents: true, |
{ | ||
"name": "@live-change/relations-plugin", | ||
"version": "0.6.8", | ||
"version": "0.6.9", | ||
"description": "", | ||
@@ -24,6 +24,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@live-change/framework": "^0.6.8", | ||
"@live-change/framework": "^0.6.9", | ||
"pluralize": "8.0.0" | ||
}, | ||
"gitHead": "74c4b8b2066b33bbdc37f76dd20d9ca4eb939239" | ||
"gitHead": "d3d3afb0342113502281c3ab0e362a3c76519df5" | ||
} |
@@ -38,2 +38,3 @@ const App = require("@live-change/framework") | ||
access: config.readAccess, | ||
accessControl: config.readAccessControl || config.writeAccessControl, | ||
daoPath(properties, { client, context }) { | ||
@@ -61,2 +62,3 @@ const typeAndIdParts = extractTypeAndIdParts(otherPropertyNames, properties) | ||
access: config.createAccess || config.writeAccess, | ||
accessControl: config.createAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -101,2 +103,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.updateAccess || config.writeAccess, | ||
accessControl: config.updateAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -148,2 +151,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.deleteAccess || config.writeAccess, | ||
accessControl: config.deleteAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -150,0 +154,0 @@ //queuedBy: otherPropertyNames, |
@@ -32,2 +32,3 @@ const App = require("@live-change/framework") | ||
access: config.readAccess, | ||
accessControl: config.readAccessControl || config.writeAccessControl, | ||
daoPath(properties, { client, context }) { | ||
@@ -55,2 +56,3 @@ const idParts = extractIdParts(otherPropertyNames, properties) | ||
access: config.createAccess || config.writeAccess, | ||
accessControl: config.createAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -91,2 +93,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.updateAccess || config.writeAccess, | ||
accessControl: config.updateAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -133,2 +136,3 @@ //queuedBy: otherPropertyNames, | ||
access: config.deleteAccess || config.writeAccess, | ||
accessControl: config.deleteAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -135,0 +139,0 @@ //queuedBy: otherPropertyNames, |
@@ -48,3 +48,4 @@ const App = require("@live-change/framework") | ||
}, | ||
access: config.access, | ||
access: config.readAccess, | ||
accessControl: config.readAccessControl || config.writeAccessControl, | ||
daoPath(properties, { client, context }) { | ||
@@ -104,2 +105,3 @@ const typeAndIdParts = extractTypeAndIdParts(otherPropertyNames, properties) | ||
access: config.setAccess || config.writeAccess, | ||
accessControl: config.setAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -136,2 +138,3 @@ queuedBy: otherPropertyNames, | ||
access: config.updateAccess || config.writeAccess, | ||
accessControl: config.updateAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -171,2 +174,3 @@ queuedBy: otherPropertyNames, | ||
access: config.updateAccess || config.writeAccess, | ||
accessControl: config.setAccessControl || config.writeAccessControl, | ||
skipValidation: true, | ||
@@ -209,2 +213,3 @@ queuedBy: otherPropertyNames, | ||
access: config.resetAccess || config.writeAccess, | ||
accessControl: config.resetAccessControl || config.writeAccessControl, | ||
queuedBy: otherPropertyNames, | ||
@@ -211,0 +216,0 @@ waitForEvents: true, |
@@ -25,3 +25,4 @@ const App = require("@live-change/framework") | ||
}, | ||
access: config.access, | ||
access: config.readAccess, | ||
accessControl: config.readAccessControl || config.writeAccessControl, | ||
daoPath(properties, { client, context }) { | ||
@@ -165,2 +166,2 @@ const idParts = extractIdParts(otherPropertyNames, properties) | ||
module.exports = { defineView, defineSetAction, defineUpdateAction, defineSetOrUpdateAction, defineResetAction } | ||
module.exports = { defineView, defineSetAction, defineUpdateAction, defineSetOrUpdateAction, defineResetAction } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70896
1803