@aws-amplify/graphql-transformer-core
Advanced tools
Comparing version 0.6.3 to 0.7.0-beta.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.7.0-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.3...@aws-amplify/graphql-transformer-core@0.7.0-beta.0) (2021-07-06) | ||
### Features | ||
* port [@predictions](https://github.com/predictions) to GraphQL Transformer v2 ([#7387](https://github.com/aws-amplify/amplify-cli/issues/7387)) ([3f2e647](https://github.com/aws-amplify/amplify-cli/commit/3f2e647b9dfe14aa5919b46f53342937dd0c7fa9)) | ||
## [0.6.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.6.2...@aws-amplify/graphql-transformer-core@0.6.3) (2021-06-30) | ||
@@ -8,0 +19,0 @@ |
@@ -7,3 +7,3 @@ import { APIIAMResourceProvider, GraphQLAPIProvider, MappingTemplateProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import { IFunction, ILayerVersion, Runtime } from '@aws-cdk/aws-lambda'; | ||
import { CfnResource, Construct, Stack } from '@aws-cdk/core'; | ||
import { CfnResource, Construct, Duration, Stack } from '@aws-cdk/core'; | ||
import { AppSyncFunctionConfiguration } from './appsync-function'; | ||
@@ -52,3 +52,3 @@ import { ElasticsearchDataSource } from './cdk-compat/elasticsearch-datasource'; | ||
[key: string]: string; | ||
}, stack?: Stack): IFunction; | ||
}, timeout?: Duration, stack?: Stack): IFunction; | ||
grant(grantee: IGrantable, resources: IamResource, ...actions: string[]): Grant; | ||
@@ -55,0 +55,0 @@ grantQuery(grantee: IGrantable, ...fields: string[]): Grant; |
@@ -137,3 +137,3 @@ "use strict"; | ||
} | ||
addLambdaFunction(functionName, functionKey, handlerName, filePath, runtime, layers, role, environment, stack) { | ||
addLambdaFunction(functionName, functionKey, handlerName, filePath, runtime, layers, role, environment, timeout, stack) { | ||
const dummycode = `if __name__ == "__main__":`; | ||
@@ -147,2 +147,3 @@ const fn = new aws_lambda_1.Function(stack || this, functionName, { | ||
environment, | ||
timeout, | ||
}); | ||
@@ -149,0 +150,0 @@ fn.addLayers(); |
{ | ||
"name": "@aws-amplify/graphql-transformer-core", | ||
"version": "0.6.3", | ||
"version": "0.7.0-beta.0", | ||
"description": "A framework to transform from GraphQL SDL to AWS CloudFormation.", | ||
@@ -29,3 +29,3 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-interfaces": "1.6.1", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.7.0-beta.0", | ||
"@aws-cdk/assets": "~1.72.0", | ||
@@ -86,3 +86,3 @@ "@aws-cdk/aws-applicationautoscaling": "~1.72.0", | ||
}, | ||
"gitHead": "28d5a4797b556eb6ae15cb3e6682420d20b1b283" | ||
"gitHead": "a4fd5c2e0d7ffb91bfecf60785422c0c18329837" | ||
} |
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
374764
3676
+ Added@aws-amplify/graphql-transformer-interfaces@1.7.0-beta.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@1.6.1(transitive)
Updated@aws-amplify/graphql-transformer-interfaces@1.7.0-beta.0