@aws-amplify/graphql-transformer-interfaces
Advanced tools
Comparing version 1.7.0 to 1.8.0-beta.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.8.0-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.7.0...@aws-amplify/graphql-transformer-interfaces@1.8.0-beta.0) (2021-07-29) | ||
### Features | ||
* capability injection for the vNext GraphQL Transformer ([#7735](https://github.com/aws-amplify/amplify-cli/issues/7735)) ([f3eae13](https://github.com/aws-amplify/amplify-cli/commit/f3eae13ab2848df398e26429abf985b756abcff2)) | ||
# [1.7.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.6.1...@aws-amplify/graphql-transformer-interfaces@1.7.0) (2021-07-12) | ||
@@ -8,0 +19,0 @@ |
@@ -1,6 +0,4 @@ | ||
import { NoneDataSource, HttpDataSource, DynamoDbDataSource, LambdaDataSource, BaseDataSource, CfnResolver } from '@aws-cdk/aws-appsync'; | ||
import { IFunction, ILayerVersion, Runtime } from '@aws-cdk/aws-lambda'; | ||
import { ITable } from '@aws-cdk/aws-dynamodb'; | ||
import { CfnResource, Construct, Duration, IAsset, IConstruct, Stack } from '@aws-cdk/core'; | ||
import { CfnResource, Construct, IAsset, IConstruct } from '@aws-cdk/core'; | ||
import { Grant, IGrantable, IRole } from '@aws-cdk/aws-iam'; | ||
import { TransformHostProvider } from './transform-host-provider'; | ||
export interface AppSyncFunctionConfigurationProvider extends IConstruct { | ||
@@ -36,14 +34,3 @@ readonly arn: string; | ||
readonly apiId: string; | ||
addHttpDataSource(name: string, endpoint: string, options?: DataSourceOptions, stack?: Stack): HttpDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addNoneDataSource(name: string, options?: DataSourceOptions, stack?: Stack): NoneDataSource; | ||
addLambdaDataSource(name: string, lambdaFunction: IFunction, options?: DataSourceOptions, stack?: Stack): LambdaDataSource; | ||
addElasticSearchDataSource(name: string, endpoint: string, region: string, options?: ElasticSearchDataSourceOptions, stack?: Stack): BaseDataSource; | ||
addAppSyncFunction: (name: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate: MappingTemplateProvider, dataSourceName: string, stack?: Stack) => AppSyncFunctionConfigurationProvider; | ||
addResolver: (typeName: string, fieldName: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate: MappingTemplateProvider, dataSourceName?: string, pipelineConfig?: string[], stack?: Stack) => CfnResolver; | ||
addLambdaFunction: (functionName: string, functionKey: string, handlerName: string, filePath: string, runtime: Runtime, layers?: ILayerVersion[], role?: IRole, environment?: { | ||
[key: string]: string; | ||
}, timeout?: Duration, stack?: Stack) => IFunction; | ||
getDataSource: (name: string) => BaseDataSource | void; | ||
hasDataSource: (name: string) => boolean; | ||
readonly host: TransformHostProvider; | ||
addToSchema(addition: string): void; | ||
@@ -50,0 +37,0 @@ addSchemaDependency(construct: CfnResource): boolean; |
@@ -6,2 +6,3 @@ export { TransformerContextOutputProvider, TransformerContextProvider, TransformerProviderRegistry, TransformerDataSourceManagerProvider, TransformerResolverProvider, AppSyncDataSourceType, DataSourceProvider, StackManagerProvider, TransformerResolversManagerProvider, DataSourceInstance, TransformerTransformSchemaStepContextProvider, TransformerBeforeStepContextProvider, TransformerPrepareStepContextProvider, TransformerSchemaVisitStepContextProvider, TransformerValidationStepContextProvider, TransformerResourceHelperProvider, } from './transformer-context'; | ||
export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, APIIAMResourceProvider, TemplateType as MappingTemplateType, } from './graphql-api-provider'; | ||
export { TransformHostProvider } from './transform-host-provider'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@aws-amplify/graphql-transformer-interfaces", | ||
"version": "1.7.0", | ||
"version": "1.8.0-beta.0", | ||
"description": "Amplify GraphQL transformer interface definitions", | ||
@@ -64,3 +64,3 @@ "repository": { | ||
}, | ||
"gitHead": "753a7379c2600988a7b68b9c9f5e2cc6b1bf2fb4" | ||
"gitHead": "9020153805bffae7cc7470bfc946b872d37a6470" | ||
} |
@@ -1,6 +0,4 @@ | ||
import { NoneDataSource, HttpDataSource, DynamoDbDataSource, LambdaDataSource, BaseDataSource, CfnResolver } from '@aws-cdk/aws-appsync'; | ||
import { IFunction, ILayerVersion, Runtime } from '@aws-cdk/aws-lambda'; | ||
import { ITable } from '@aws-cdk/aws-dynamodb'; | ||
import { CfnResource, Construct, Duration, IAsset, IConstruct, Stack } from '@aws-cdk/core'; | ||
import { CfnResource, Construct, IAsset, IConstruct } from '@aws-cdk/core'; | ||
import { Grant, IGrantable, IRole } from '@aws-cdk/aws-iam'; | ||
import {TransformHostProvider} from './transform-host-provider'; | ||
@@ -55,46 +53,4 @@ export interface AppSyncFunctionConfigurationProvider extends IConstruct { | ||
readonly apiId: string; | ||
addHttpDataSource(name: string, endpoint: string, options?: DataSourceOptions, stack?: Stack): HttpDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addNoneDataSource(name: string, options?: DataSourceOptions, stack?: Stack): NoneDataSource; | ||
addLambdaDataSource(name: string, lambdaFunction: IFunction, options?: DataSourceOptions, stack?: Stack): LambdaDataSource; | ||
addElasticSearchDataSource( | ||
name: string, | ||
endpoint: string, | ||
region: string, | ||
options?: ElasticSearchDataSourceOptions, | ||
stack?: Stack, | ||
): BaseDataSource; | ||
addAppSyncFunction: ( | ||
name: string, | ||
requestMappingTemplate: MappingTemplateProvider, | ||
responseMappingTemplate: MappingTemplateProvider, | ||
dataSourceName: string, | ||
stack?: Stack, | ||
) => AppSyncFunctionConfigurationProvider; | ||
readonly host: TransformHostProvider; | ||
addResolver: ( | ||
typeName: string, | ||
fieldName: string, | ||
requestMappingTemplate: MappingTemplateProvider, | ||
responseMappingTemplate: MappingTemplateProvider, | ||
dataSourceName?: string, | ||
pipelineConfig?: string[], | ||
stack?: Stack, | ||
) => CfnResolver; | ||
addLambdaFunction: ( | ||
functionName: string, | ||
functionKey: string, | ||
handlerName: string, | ||
filePath: string, | ||
runtime: Runtime, | ||
layers?: ILayerVersion[], | ||
role?: IRole, | ||
environment?: { [key: string]: string }, | ||
timeout?: Duration, | ||
stack?: Stack, | ||
) => IFunction; | ||
getDataSource: (name: string) => BaseDataSource | void; | ||
hasDataSource: (name: string) => boolean; | ||
// getDefaultAuthorization(): Readonly<AuthorizationMode>; | ||
@@ -101,0 +57,0 @@ // getAdditionalAuthorizationModes(): Readonly<AuthorizationMode[]>; |
@@ -40,1 +40,5 @@ export { | ||
} from './graphql-api-provider'; | ||
export { | ||
TransformHostProvider | ||
} from './transform-host-provider'; |
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
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
800499
75
1065
2