@aws-amplify/appsync-modelgen-plugin
Advanced tools
Comparing version 1.24.0 to 1.24.1-dev.2
@@ -523,2 +523,5 @@ "use strict"; | ||
} | ||
if (rule.provider != null) { | ||
authRule.push(`provider = "${rule.provider}"`); | ||
} | ||
authRule.push(`operations = { ${(_b = rule.operations) === null || _b === void 0 ? void 0 : _b.map(op => operationMapping[op]).join(', ')} }`); | ||
@@ -525,0 +528,0 @@ rules.push(`@AuthRule(${authRule.join(', ')})`); |
@@ -320,2 +320,8 @@ "use strict"; | ||
break; | ||
case process_auth_1.AuthStrategy.private: | ||
authRule.push('allow: .private'); | ||
break; | ||
case process_auth_1.AuthStrategy.public: | ||
authRule.push('allow: .public'); | ||
break; | ||
case process_auth_1.AuthStrategy.groups: | ||
@@ -322,0 +328,0 @@ authRule.push('allow: .groups'); |
{ | ||
"name": "@aws-amplify/appsync-modelgen-plugin", | ||
"version": "1.24.0", | ||
"version": "1.24.1-dev.2+69cd61a", | ||
"repository": { | ||
@@ -73,3 +73,3 @@ "type": "git", | ||
}, | ||
"gitHead": "ca25ab1bbe8d1f262627e4f2a28b337ce85565de" | ||
"gitHead": "69cd61a4fe111d4950896c0debfb64415e14b512" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
480985
4812
2
1