@aws-amplify/graphql-transformer-interfaces
Advanced tools
Comparing version 1.9.0 to 1.9.1-beta.0
@@ -6,2 +6,14 @@ # Change Log | ||
## [1.9.1-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.9.0...@aws-amplify/graphql-transformer-interfaces@1.9.1-beta.0) (2021-09-25) | ||
### Bug Fixes | ||
* **graphql-model-transformer:** [@model](https://github.com/model) conflict resolution ([#8035](https://github.com/aws-amplify/amplify-cli/issues/8035)) ([f3bdc4a](https://github.com/aws-amplify/amplify-cli/commit/f3bdc4ac1fcf596f634d9d2e968785e76f7b138c)) | ||
* **graphql-model-transformer:** iam role name does not exceed 64 characters ([#8244](https://github.com/aws-amplify/amplify-cli/issues/8244)) ([812a671](https://github.com/aws-amplify/amplify-cli/commit/812a67163d6dd33160bf7ace9afd538c83a7af1a)) | ||
# [1.9.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.8.2...@aws-amplify/graphql-transformer-interfaces@1.9.0) (2021-09-02) | ||
@@ -8,0 +20,0 @@ |
@@ -6,3 +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'; | ||
export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,6 +7,9 @@ import { Duration, Stack } from '@aws-cdk/core'; | ||
import { IRole } from '@aws-cdk/aws-iam'; | ||
export interface DynamoDbDataSourceOptions extends DataSourceOptions { | ||
readonly serviceRole: IRole; | ||
} | ||
export interface TransformHostProvider { | ||
setAPI(api: GraphqlApiBase): void; | ||
addHttpDataSource(name: string, endpoint: string, options?: DataSourceOptions, stack?: Stack): HttpDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DynamoDbDataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addNoneDataSource(name: string, options?: DataSourceOptions, stack?: Stack): NoneDataSource; | ||
@@ -13,0 +16,0 @@ addLambdaDataSource(name: string, lambdaFunction: IFunction, options?: DataSourceOptions, stack?: Stack): LambdaDataSource; |
export interface TransformerResourceProvider { | ||
generateResourceName(name: string): string; | ||
generateIAMRoleName(name: string): string; | ||
} | ||
//# sourceMappingURL=resource-resource-provider.d.ts.map |
@@ -20,8 +20,10 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider'; | ||
featureFlags: FeatureFlagProvider; | ||
isProjectUsingDataStore(): boolean; | ||
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined; | ||
} | ||
export declare type TransformerBeforeStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'featureFlags'>; | ||
export declare type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'output' | 'providerRegistry' | 'featureFlags'>; | ||
export declare type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags'>; | ||
export declare type TransformerSchemaVisitStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'output' | 'providerRegistry' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig'>; | ||
export declare type TransformerValidationStepContextProvider = Pick<TransformerContextProvider, 'inputDocument' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig'>; | ||
export declare type TransformerPrepareStepContextProvider = TransformerValidationStepContextProvider; | ||
export declare type TransformerTransformSchemaStepContextProvider = TransformerValidationStepContextProvider; | ||
//# sourceMappingURL=transformer-context-provider.d.ts.map |
{ | ||
"name": "@aws-amplify/graphql-transformer-interfaces", | ||
"version": "1.9.0", | ||
"version": "1.9.1-beta.0", | ||
"description": "Amplify GraphQL transformer interface definitions", | ||
@@ -29,18 +29,18 @@ "repository": { | ||
"dependencies": { | ||
"@aws-cdk/aws-appsync": "~1.119.0", | ||
"@aws-cdk/aws-cloudwatch": "~1.119.0", | ||
"@aws-cdk/aws-dynamodb": "~1.119.0", | ||
"@aws-cdk/aws-ec2": "~1.119.0", | ||
"@aws-cdk/aws-elasticsearch": "~1.119.0", | ||
"@aws-cdk/aws-events": "~1.119.0", | ||
"@aws-cdk/aws-iam": "~1.119.0", | ||
"@aws-cdk/aws-kms": "~1.119.0", | ||
"@aws-cdk/aws-lambda": "~1.119.0", | ||
"@aws-cdk/aws-logs": "~1.119.0", | ||
"@aws-cdk/aws-rds": "~1.119.0", | ||
"@aws-cdk/aws-s3": "~1.119.0", | ||
"@aws-cdk/aws-sam": "~1.119.0", | ||
"@aws-cdk/aws-secretsmanager": "~1.119.0", | ||
"@aws-cdk/core": "~1.119.0", | ||
"@aws-cdk/custom-resources": "~1.119.0", | ||
"@aws-cdk/aws-appsync": "~1.124.0", | ||
"@aws-cdk/aws-cloudwatch": "~1.124.0", | ||
"@aws-cdk/aws-dynamodb": "~1.124.0", | ||
"@aws-cdk/aws-ec2": "~1.124.0", | ||
"@aws-cdk/aws-elasticsearch": "~1.124.0", | ||
"@aws-cdk/aws-events": "~1.124.0", | ||
"@aws-cdk/aws-iam": "~1.124.0", | ||
"@aws-cdk/aws-kms": "~1.124.0", | ||
"@aws-cdk/aws-lambda": "~1.124.0", | ||
"@aws-cdk/aws-logs": "~1.124.0", | ||
"@aws-cdk/aws-rds": "~1.124.0", | ||
"@aws-cdk/aws-s3": "~1.124.0", | ||
"@aws-cdk/aws-sam": "~1.124.0", | ||
"@aws-cdk/aws-secretsmanager": "~1.124.0", | ||
"@aws-cdk/core": "~1.124.0", | ||
"@aws-cdk/custom-resources": "~1.124.0", | ||
"constructs": "^3.3.125", | ||
@@ -65,3 +65,3 @@ "graphql": "^14.5.8" | ||
}, | ||
"gitHead": "8738095619ba2bc2f01d381d816fc0f65bb3f88f" | ||
"gitHead": "b19b0a0925714bc7b3ab1996982507a96b5f2c4a" | ||
} |
@@ -41,4 +41,2 @@ export { | ||
export { | ||
TransformHostProvider | ||
} from './transform-host-provider'; | ||
export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider'; |
@@ -21,2 +21,9 @@ import { Duration, Stack } from '@aws-cdk/core'; | ||
export interface DynamoDbDataSourceOptions extends DataSourceOptions { | ||
/** | ||
* ServiceRole for the Amazon DynamoDb | ||
*/ | ||
readonly serviceRole: IRole; | ||
} | ||
export interface TransformHostProvider { | ||
@@ -26,3 +33,3 @@ setAPI(api: GraphqlApiBase): void; | ||
addHttpDataSource(name: string, endpoint: string, options?: DataSourceOptions, stack?: Stack): HttpDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addDynamoDbDataSource(name: string, table: ITable, options?: DynamoDbDataSourceOptions, stack?: Stack): DynamoDbDataSource; | ||
addNoneDataSource(name: string, options?: DataSourceOptions, stack?: Stack): NoneDataSource; | ||
@@ -29,0 +36,0 @@ addLambdaDataSource(name: string, lambdaFunction: IFunction, options?: DataSourceOptions, stack?: Stack): LambdaDataSource; |
export interface TransformerResourceProvider { | ||
generateResourceName(name: string): string; | ||
generateIAMRoleName(name: string): string; | ||
} |
@@ -22,2 +22,5 @@ import { TransformerResolversManagerProvider } from './transformer-resolver-provider'; | ||
featureFlags: FeatureFlagProvider; | ||
isProjectUsingDataStore(): boolean; | ||
getResolverConfig<ResolverConfig>(): ResolverConfig | undefined; | ||
} | ||
@@ -28,9 +31,9 @@ | ||
TransformerContextProvider, | ||
'inputDocument' | 'output' | 'providerRegistry' | 'featureFlags' | ||
'inputDocument' | 'output' | 'providerRegistry' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | ||
>; | ||
export type TransformerValidationStepContextProvider = Pick< | ||
TransformerContextProvider, | ||
'inputDocument' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags' | ||
'inputDocument' | 'output' | 'providerRegistry' | 'dataSources' | 'featureFlags' | 'isProjectUsingDataStore' | 'getResolverConfig' | ||
>; | ||
export type TransformerPrepareStepContextProvider = TransformerValidationStepContextProvider; | ||
export type TransformerTransformSchemaStepContextProvider = TransformerValidationStepContextProvider; |
@@ -7,5 +7,10 @@ import { Stack } from '@aws-cdk/core'; | ||
export interface TransformerResolverProvider { | ||
addToSlot: (slotName: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate?: MappingTemplateProvider, dataSource?: DataSourceProvider) => void; | ||
addToSlot: ( | ||
slotName: string, | ||
requestMappingTemplate: MappingTemplateProvider, | ||
responseMappingTemplate?: MappingTemplateProvider, | ||
dataSource?: DataSourceProvider, | ||
) => void; | ||
synthesize: (context: TransformerContextProvider, api: GraphQLAPIProvider) => void; | ||
mapToStack:(stack: Stack) => void; | ||
mapToStack: (stack: Stack) => void; | ||
} | ||
@@ -12,0 +17,0 @@ |
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
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
234097
1093
2
+ Added@aws-cdk/assets@1.124.0(transitive)
+ Added@aws-cdk/aws-applicationautoscaling@1.124.0(transitive)
+ Added@aws-cdk/aws-appsync@1.124.0(transitive)
+ Added@aws-cdk/aws-autoscaling-common@1.124.0(transitive)
+ Added@aws-cdk/aws-certificatemanager@1.124.0(transitive)
+ Added@aws-cdk/aws-cloudformation@1.124.0(transitive)
+ Added@aws-cdk/aws-cloudwatch@1.124.0(transitive)
+ Added@aws-cdk/aws-codeguruprofiler@1.124.0(transitive)
+ Added@aws-cdk/aws-codestarnotifications@1.124.0(transitive)
+ Added@aws-cdk/aws-cognito@1.124.0(transitive)
+ Added@aws-cdk/aws-dynamodb@1.124.0(transitive)
+ Added@aws-cdk/aws-ec2@1.124.0(transitive)
+ Added@aws-cdk/aws-ecr@1.124.0(transitive)
+ Added@aws-cdk/aws-ecr-assets@1.124.0(transitive)
+ Added@aws-cdk/aws-efs@1.124.0(transitive)
+ Added@aws-cdk/aws-elasticsearch@1.124.0(transitive)
+ Added@aws-cdk/aws-events@1.124.0(transitive)
+ Added@aws-cdk/aws-iam@1.124.0(transitive)
+ Added@aws-cdk/aws-kinesis@1.124.0(transitive)
+ Added@aws-cdk/aws-kms@1.124.0(transitive)
+ Added@aws-cdk/aws-lambda@1.124.0(transitive)
+ Added@aws-cdk/aws-logs@1.124.0(transitive)
+ Added@aws-cdk/aws-rds@1.124.0(transitive)
+ Added@aws-cdk/aws-route53@1.124.0(transitive)
+ Added@aws-cdk/aws-s3@1.124.0(transitive)
+ Added@aws-cdk/aws-s3-assets@1.124.0(transitive)
+ Added@aws-cdk/aws-sam@1.124.0(transitive)
+ Added@aws-cdk/aws-secretsmanager@1.124.0(transitive)
+ Added@aws-cdk/aws-signer@1.124.0(transitive)
+ Added@aws-cdk/aws-sns@1.124.0(transitive)
+ Added@aws-cdk/aws-sqs@1.124.0(transitive)
+ Added@aws-cdk/aws-ssm@1.124.0(transitive)
+ Added@aws-cdk/cloud-assembly-schema@1.124.0(transitive)
+ Added@aws-cdk/core@1.124.0(transitive)
+ Added@aws-cdk/custom-resources@1.124.0(transitive)
+ Added@aws-cdk/cx-api@1.124.0(transitive)
+ Added@aws-cdk/region-info@1.124.0(transitive)
- Removed@aws-cdk/assets@1.119.0(transitive)
- Removed@aws-cdk/aws-applicationautoscaling@1.119.0(transitive)
- Removed@aws-cdk/aws-appsync@1.119.0(transitive)
- Removed@aws-cdk/aws-autoscaling-common@1.119.0(transitive)
- Removed@aws-cdk/aws-certificatemanager@1.119.0(transitive)
- Removed@aws-cdk/aws-cloudformation@1.119.0(transitive)
- Removed@aws-cdk/aws-cloudwatch@1.119.0(transitive)
- Removed@aws-cdk/aws-codeguruprofiler@1.119.0(transitive)
- Removed@aws-cdk/aws-codestarnotifications@1.119.0(transitive)
- Removed@aws-cdk/aws-cognito@1.119.0(transitive)
- Removed@aws-cdk/aws-dynamodb@1.119.0(transitive)
- Removed@aws-cdk/aws-ec2@1.119.0(transitive)
- Removed@aws-cdk/aws-ecr@1.119.0(transitive)
- Removed@aws-cdk/aws-ecr-assets@1.119.0(transitive)
- Removed@aws-cdk/aws-efs@1.119.0(transitive)
- Removed@aws-cdk/aws-elasticsearch@1.119.0(transitive)
- Removed@aws-cdk/aws-events@1.119.0(transitive)
- Removed@aws-cdk/aws-iam@1.119.0(transitive)
- Removed@aws-cdk/aws-kinesis@1.119.0(transitive)
- Removed@aws-cdk/aws-kms@1.119.0(transitive)
- Removed@aws-cdk/aws-lambda@1.119.0(transitive)
- Removed@aws-cdk/aws-logs@1.119.0(transitive)
- Removed@aws-cdk/aws-rds@1.119.0(transitive)
- Removed@aws-cdk/aws-route53@1.119.0(transitive)
- Removed@aws-cdk/aws-s3@1.119.0(transitive)
- Removed@aws-cdk/aws-s3-assets@1.119.0(transitive)
- Removed@aws-cdk/aws-sam@1.119.0(transitive)
- Removed@aws-cdk/aws-secretsmanager@1.119.0(transitive)
- Removed@aws-cdk/aws-signer@1.119.0(transitive)
- Removed@aws-cdk/aws-sns@1.119.0(transitive)
- Removed@aws-cdk/aws-sqs@1.119.0(transitive)
- Removed@aws-cdk/aws-ssm@1.119.0(transitive)
- Removed@aws-cdk/cloud-assembly-schema@1.119.0(transitive)
- Removed@aws-cdk/core@1.119.0(transitive)
- Removed@aws-cdk/custom-resources@1.119.0(transitive)
- Removed@aws-cdk/cx-api@1.119.0(transitive)
- Removed@aws-cdk/region-info@1.119.0(transitive)
Updated@aws-cdk/aws-ec2@~1.124.0
Updated@aws-cdk/aws-events@~1.124.0
Updated@aws-cdk/aws-iam@~1.124.0
Updated@aws-cdk/aws-kms@~1.124.0
Updated@aws-cdk/aws-lambda@~1.124.0
Updated@aws-cdk/aws-logs@~1.124.0
Updated@aws-cdk/aws-rds@~1.124.0
Updated@aws-cdk/aws-s3@~1.124.0
Updated@aws-cdk/aws-sam@~1.124.0
Updated@aws-cdk/core@~1.124.0