@aws-amplify/graphql-transformer
Advanced tools
Comparing version 1.2.0-rds-1.0 to 1.2.0-rds-2.0
@@ -20,5 +20,6 @@ ## API Report File for "@aws-amplify/graphql-transformer" | ||
import { TransformerPluginProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import { TransformParameterProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import type { TransformParameters } from '@aws-amplify/graphql-transformer-interfaces/src'; | ||
import { UserDefinedSlot } from '@aws-amplify/graphql-transformer-core'; | ||
import { VpcConfig } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import { VpcSubnetConfig } from '@aws-amplify/graphql-transformer-interfaces'; | ||
@@ -41,6 +42,7 @@ // @public (undocumented) | ||
printTransformerLog?: (log: TransformerLog) => void; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
scope: Construct; | ||
nestedStackProvider: NestedStackProvider; | ||
parameterProvider?: TransformParameterProvider; | ||
assetProvider: AssetProvider; | ||
@@ -58,3 +60,3 @@ synthParameters: SynthParameters; | ||
transformParameters: TransformParameters; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
@@ -61,0 +63,0 @@ }; |
@@ -6,8 +6,18 @@ # Change Log | ||
# [1.2.0-rds-1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@1.1.0...@aws-amplify/graphql-transformer@1.2.0-rds-1.0) (2023-08-28) | ||
# [1.2.0-rds-2.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@1.1.2...@aws-amplify/graphql-transformer@1.2.0-rds-2.0) (2023-09-07) | ||
### Features | ||
- add refersTo directive transformer for model renaming ([#1830](https://github.com/aws-amplify/amplify-category-api/issues/1830)) ([afbd6f2](https://github.com/aws-amplify/amplify-category-api/commit/afbd6f282bc411313ce098a53a87bb8c6481aa48)) | ||
- **api:** add vpc endpoints for ssm ([5a4ffc4](https://github.com/aws-amplify/amplify-category-api/commit/5a4ffc4c1889536c8e1fdd1f31fe28ca4326100f)) | ||
- **api:** custom queries support using sql directive ([5214037](https://github.com/aws-amplify/amplify-category-api/commit/52140374ca974956c5d5eac09fec91a51cfc9027)) | ||
## [1.1.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@1.1.1...@aws-amplify/graphql-transformer@1.1.2) (2023-08-30) | ||
**Note:** Version bump only for package @aws-amplify/graphql-transformer | ||
## [1.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@1.1.0...@aws-amplify/graphql-transformer@1.1.1) (2023-08-28) | ||
**Note:** Version bump only for package @aws-amplify/graphql-transformer | ||
# [1.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@0.1.0...@aws-amplify/graphql-transformer@1.1.0) (2023-08-09) | ||
@@ -14,0 +24,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { AppSyncAuthConfiguration, TransformerPluginProvider, TransformerLog, VpcConfig, RDSLayerMapping, NestedStackProvider, AssetProvider, SynthParameters } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import { AppSyncAuthConfiguration, TransformerPluginProvider, TransformerLog, VpcSubnetConfig, RDSLayerMapping, NestedStackProvider, AssetProvider, SynthParameters, TransformParameterProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
import type { TransformParameters } from '@aws-amplify/graphql-transformer-interfaces/src'; | ||
@@ -21,3 +21,3 @@ import { DatasourceType, GraphQLTransform, RDSConnectionSecrets, ResolverConfig, UserDefinedSlot } from '@aws-amplify/graphql-transformer-core'; | ||
transformParameters: TransformParameters; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
@@ -33,6 +33,7 @@ }; | ||
printTransformerLog?: (log: TransformerLog) => void; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
scope: Construct; | ||
nestedStackProvider: NestedStackProvider; | ||
parameterProvider?: TransformParameterProvider; | ||
assetProvider: AssetProvider; | ||
@@ -39,0 +40,0 @@ synthParameters: SynthParameters; |
@@ -40,2 +40,3 @@ "use strict"; | ||
new graphql_maps_to_transformer_1.MapsToTransformer(), | ||
new graphql_maps_to_transformer_1.RefersToTransformer(), | ||
new graphql_searchable_transformer_1.SearchableModelTransformer(), | ||
@@ -82,3 +83,3 @@ new graphql_sql_transformer_1.SqlTransformer(), | ||
const executeTransform = (config) => { | ||
const { schema, modelToDatasourceMap, datasourceSecretParameterLocations, printTransformerLog, rdsLayerMapping, scope, nestedStackProvider, assetProvider, synthParameters, customQueries, } = config; | ||
const { schema, modelToDatasourceMap, datasourceSecretParameterLocations, printTransformerLog, rdsLayerMapping, scope, nestedStackProvider, assetProvider, synthParameters, customQueries, parameterProvider, } = config; | ||
const printLog = printTransformerLog !== null && printTransformerLog !== void 0 ? printTransformerLog : exports.defaultPrintTransformerLog; | ||
@@ -90,2 +91,3 @@ const transform = (0, exports.constructTransform)(config); | ||
nestedStackProvider, | ||
parameterProvider, | ||
assetProvider, | ||
@@ -92,0 +94,0 @@ synthParameters, |
{ | ||
"name": "@aws-amplify/graphql-transformer", | ||
"version": "1.2.0-rds-1.0", | ||
"version": "1.2.0-rds-2.0", | ||
"description": "Amplify GraphQL Transformer Root Package", | ||
@@ -31,15 +31,15 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-auth-transformer": "3.1.1-rds-1.0", | ||
"@aws-amplify/graphql-default-value-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-function-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-http-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-index-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-maps-to-transformer": "3.1.1-rds-1.0", | ||
"@aws-amplify/graphql-model-transformer": "2.2.0-rds-1.0", | ||
"@aws-amplify/graphql-predictions-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-relational-transformer": "2.2.0-rds-1.0", | ||
"@aws-amplify/graphql-searchable-transformer": "2.1.1-rds-1.0", | ||
"@aws-amplify/graphql-sql-transformer": "0.1.0-rds-1.0", | ||
"@aws-amplify/graphql-transformer-core": "2.2.0-rds-1.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.2.0-rds-1.0" | ||
"@aws-amplify/graphql-auth-transformer": "3.1.3-rds-2.0", | ||
"@aws-amplify/graphql-default-value-transformer": "2.1.3-rds-2.0", | ||
"@aws-amplify/graphql-function-transformer": "2.1.3-rds-2.0", | ||
"@aws-amplify/graphql-http-transformer": "2.1.3-rds-2.0", | ||
"@aws-amplify/graphql-index-transformer": "2.2.0-rds-2.0", | ||
"@aws-amplify/graphql-maps-to-transformer": "3.2.0-rds-2.0", | ||
"@aws-amplify/graphql-model-transformer": "2.2.0-rds-2.0", | ||
"@aws-amplify/graphql-predictions-transformer": "2.1.3-rds-2.0", | ||
"@aws-amplify/graphql-relational-transformer": "2.2.0-rds-2.0", | ||
"@aws-amplify/graphql-searchable-transformer": "2.2.0-rds-2.0", | ||
"@aws-amplify/graphql-sql-transformer": "0.1.0-rds-2.0", | ||
"@aws-amplify/graphql-transformer-core": "2.2.0-rds-2.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.2.0-rds-2.0" | ||
}, | ||
@@ -79,3 +79,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "223cc16f30e64ab18ac1eda6a31c68db7606c8b8" | ||
"gitHead": "b0257bd87b199069cb66625d6554377dc65c4c8a" | ||
} |
@@ -6,3 +6,3 @@ import { AuthTransformer } from '@aws-amplify/graphql-auth-transformer'; | ||
import { IndexTransformer, PrimaryKeyTransformer } from '@aws-amplify/graphql-index-transformer'; | ||
import { MapsToTransformer } from '@aws-amplify/graphql-maps-to-transformer'; | ||
import { MapsToTransformer, RefersToTransformer } from '@aws-amplify/graphql-maps-to-transformer'; | ||
import { ModelTransformer } from '@aws-amplify/graphql-model-transformer'; | ||
@@ -23,3 +23,3 @@ import { SqlTransformer } from '@aws-amplify/graphql-sql-transformer'; | ||
TransformerLogLevel, | ||
VpcConfig, | ||
VpcSubnetConfig, | ||
RDSLayerMapping, | ||
@@ -29,2 +29,3 @@ NestedStackProvider, | ||
SynthParameters, | ||
TransformParameterProvider, | ||
} from '@aws-amplify/graphql-transformer-interfaces'; | ||
@@ -65,3 +66,3 @@ import type { TransformParameters } from '@aws-amplify/graphql-transformer-interfaces/src'; | ||
transformParameters: TransformParameters; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
@@ -93,2 +94,3 @@ }; | ||
new MapsToTransformer(), | ||
new RefersToTransformer(), | ||
new SearchableModelTransformer(), | ||
@@ -137,6 +139,7 @@ new SqlTransformer(), | ||
printTransformerLog?: (log: TransformerLog) => void; | ||
sqlLambdaVpcConfig?: VpcConfig; | ||
sqlLambdaVpcConfig?: VpcSubnetConfig; | ||
rdsLayerMapping?: RDSLayerMapping; | ||
scope: Construct; | ||
nestedStackProvider: NestedStackProvider; | ||
parameterProvider?: TransformParameterProvider; | ||
assetProvider: AssetProvider; | ||
@@ -186,2 +189,3 @@ synthParameters: SynthParameters; | ||
customQueries, | ||
parameterProvider, | ||
} = config; | ||
@@ -196,2 +200,3 @@ | ||
nestedStackProvider, | ||
parameterProvider, | ||
assetProvider, | ||
@@ -198,0 +203,0 @@ synthParameters, |
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
40857
352
+ Added@aws-amplify/graphql-auth-transformer@3.1.3-rds-2.0(transitive)
+ Added@aws-amplify/graphql-default-value-transformer@2.1.3-rds-2.0(transitive)
+ Added@aws-amplify/graphql-function-transformer@2.1.3-rds-2.0(transitive)
+ Added@aws-amplify/graphql-http-transformer@2.1.3-rds-2.0(transitive)
+ Added@aws-amplify/graphql-index-transformer@2.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-maps-to-transformer@3.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-model-transformer@2.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-predictions-transformer@2.1.3-rds-2.0(transitive)
+ Added@aws-amplify/graphql-relational-transformer@2.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-searchable-transformer@2.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-sql-transformer@0.1.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-transformer-core@2.2.0-rds-2.0(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@3.2.0-rds-2.0(transitive)
+ Addedgraphql-mapping-template@4.20.13-rds-2.0(transitive)
+ Addedgraphql-transformer-common@4.26.0-rds-2.0(transitive)
- Removed@aws-amplify/graphql-auth-transformer@3.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-default-value-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-function-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-http-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-index-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-maps-to-transformer@3.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-model-transformer@2.2.0-rds-1.0(transitive)
- Removed@aws-amplify/graphql-predictions-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-relational-transformer@2.2.0-rds-1.0(transitive)
- Removed@aws-amplify/graphql-searchable-transformer@2.1.1-rds-1.0(transitive)
- Removed@aws-amplify/graphql-sql-transformer@0.1.0-rds-1.0(transitive)
- Removed@aws-amplify/graphql-transformer-core@2.2.0-rds-1.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@3.2.0-rds-1.0(transitive)
- Removedgraphql-mapping-template@4.20.11(transitive)
- Removedgraphql-transformer-common@4.26.0-rds-1.0(transitive)
Updated@aws-amplify/graphql-default-value-transformer@2.1.3-rds-2.0
Updated@aws-amplify/graphql-function-transformer@2.1.3-rds-2.0
Updated@aws-amplify/graphql-maps-to-transformer@3.2.0-rds-2.0
Updated@aws-amplify/graphql-predictions-transformer@2.1.3-rds-2.0
Updated@aws-amplify/graphql-relational-transformer@2.2.0-rds-2.0
Updated@aws-amplify/graphql-searchable-transformer@2.2.0-rds-2.0
Updated@aws-amplify/graphql-transformer-interfaces@3.2.0-rds-2.0