graphql-dynamodb-transformer
Advanced tools
Comparing version 1.1.0-alpha.efcc0c6b to 1.1.0-alpha.f4bb8050
@@ -6,2 +6,18 @@ # Change Log | ||
<a name="1.0.28"></a> | ||
## [1.0.28](https://github.com/aws-amplify/amplify-cli/compare/graphql-dynamodb-transformer@1.0.28-beta.0...graphql-dynamodb-transformer@1.0.28) (2018-10-18) | ||
**Note:** Version bump only for package graphql-dynamodb-transformer | ||
<a name="1.0.28-beta.0"></a> | ||
## [1.0.28-beta.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-dynamodb-transformer@1.0.12...graphql-dynamodb-transformer@1.0.28-beta.0) (2018-10-12) | ||
**Note:** Version bump only for package graphql-dynamodb-transformer | ||
<a name="1.0.12"></a> | ||
@@ -8,0 +24,0 @@ ## [1.0.12](https://github.com/aws-amplify/amplify-cli/compare/graphql-dynamodb-transformer@1.0.11...graphql-dynamodb-transformer@1.0.12) (2018-08-23) |
@@ -239,3 +239,3 @@ "use strict"; | ||
RequestMappingTemplate: graphql_mapping_template_1.print(graphql_mapping_template_1.compoundExpression([ | ||
graphql_mapping_template_1.ifElse(graphql_mapping_template_1.ref(graphql_transformer_common_1.ResourceConstants.SNIPPETS.AuthCondition), graphql_mapping_template_1.compoundExpression([ | ||
graphql_mapping_template_1.ifElse(graphql_mapping_template_1.raw("$" + graphql_transformer_common_1.ResourceConstants.SNIPPETS.AuthCondition + " && $" + graphql_transformer_common_1.ResourceConstants.SNIPPETS.AuthCondition + ".expression != \"\""), graphql_mapping_template_1.compoundExpression([ | ||
graphql_mapping_template_1.set(graphql_mapping_template_1.ref('condition'), graphql_mapping_template_1.ref(graphql_transformer_common_1.ResourceConstants.SNIPPETS.AuthCondition)), | ||
@@ -242,0 +242,0 @@ graphql_mapping_template_1.qref('$condition.put("expression", "$condition.expression AND attribute_exists(#id)")'), |
{ | ||
"name": "graphql-dynamodb-transformer", | ||
"version": "1.1.0-alpha.efcc0c6b", | ||
"version": "1.1.0-alpha.f4bb8050", | ||
"description": "An AppSync model transform that takes a simple model and creates a DynamoDB table, DynamoDB stream, and ES index with the queries to match.", | ||
@@ -21,5 +21,5 @@ "main": "lib/index.js", | ||
"graphql": "^0.13.2", | ||
"graphql-mapping-template": "^1.1.0-alpha.efcc0c6b", | ||
"graphql-transformer-common": "^1.1.0-alpha.efcc0c6b", | ||
"graphql-transformer-core": "^1.1.0-alpha.efcc0c6b" | ||
"graphql-mapping-template": "^1.1.0-alpha.f4bb8050", | ||
"graphql-transformer-common": "^1.1.0-alpha.f4bb8050", | ||
"graphql-transformer-core": "^1.1.0-alpha.f4bb8050" | ||
}, | ||
@@ -31,3 +31,3 @@ "devDependencies": { | ||
"aws-sdk": "^2.259.1", | ||
"graphql-appsync-transformer": "^1.1.0-alpha.efcc0c6b", | ||
"graphql-appsync-transformer": "^1.1.0-alpha.f4bb8050", | ||
"jest": "^23.1.0", | ||
@@ -34,0 +34,0 @@ "ts-jest": "^22.4.6", |
@@ -254,3 +254,3 @@ import DynamoDB from 'cloudform/types/dynamoDb' | ||
ifElse( | ||
ref(ResourceConstants.SNIPPETS.AuthCondition), | ||
raw(`$${ResourceConstants.SNIPPETS.AuthCondition} && $${ResourceConstants.SNIPPETS.AuthCondition}.expression != ""`), | ||
compoundExpression([ | ||
@@ -257,0 +257,0 @@ set(ref('condition'), ref(ResourceConstants.SNIPPETS.AuthCondition)), |
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
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
210859
3244