@aws-amplify/graphql-transformer-core
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -129,3 +129,3 @@ ## API Report File for "@aws-amplify/graphql-transformer-core" | ||
// @public (undocumented) | ||
export const constructAuthFilterStatement: (keyName: string) => Expression; | ||
export const constructAuthFilterStatement: (keyName: string, emptyAuthFilter?: boolean) => Expression; | ||
@@ -132,0 +132,0 @@ // @public (undocumented) |
@@ -10,3 +10,3 @@ import { ObjectTypeDefinitionNode } from 'graphql'; | ||
export declare const constructFieldMappingInput: () => Expression; | ||
export declare const constructAuthFilterStatement: (keyName: string) => Expression; | ||
export declare const constructAuthFilterStatement: (keyName: string, emptyAuthFilter?: boolean) => Expression; | ||
//# sourceMappingURL=rds-util.d.ts.map |
@@ -56,4 +56,9 @@ "use strict"; | ||
exports.constructFieldMappingInput = constructFieldMappingInput; | ||
const constructAuthFilterStatement = (keyName) => (0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNullOrEmpty'), (0, graphql_mapping_template_1.ref)('ctx.stash.authFilter'))), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(keyName), (0, graphql_mapping_template_1.ref)('ctx.stash.authFilter'))); | ||
const constructAuthFilterStatement = (keyName, emptyAuthFilter = false) => { | ||
if (emptyAuthFilter) { | ||
return (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(keyName), (0, graphql_mapping_template_1.obj)({})); | ||
} | ||
return (0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNullOrEmpty'), (0, graphql_mapping_template_1.ref)('ctx.stash.authFilter'))), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(keyName), (0, graphql_mapping_template_1.ref)('ctx.stash.authFilter'))); | ||
}; | ||
exports.constructAuthFilterStatement = constructAuthFilterStatement; | ||
//# sourceMappingURL=rds-util.js.map |
{ | ||
"name": "@aws-amplify/graphql-transformer-core", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"description": "A framework to transform from GraphQL SDL to AWS CloudFormation.", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
"@aws-amplify/graphql-directives": "1.1.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.9.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.10.0", | ||
"fs-extra": "^8.1.0", | ||
@@ -91,3 +91,3 @@ "graphql": "^15.5.0", | ||
}, | ||
"gitHead": "eb2582338abd3e8337cad283b2cb973af1d4f5fd" | ||
"gitHead": "25f293039b3430194e038725e71b3526ae1204d4" | ||
} |
Sorry, the diff of this file is too big to display
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
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
646346
5520
19
3
+ Added@aws-amplify/graphql-transformer-interfaces@3.10.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@3.9.0(transitive)