Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/graphql-transformer-interfaces

Package Overview
Dependencies
Maintainers
0
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-transformer-interfaces - npm Package Compare versions

Comparing version 4.1.1-async-lambda.0 to 4.2.0-gen2-migration-0930.0

12

API.md

@@ -218,2 +218,12 @@ ## API Report File for "@aws-amplify/graphql-transformer-interfaces"

// @public (undocumented)
export interface ImportedAmplifyDynamoDbModelDataSourceStrategy {
// (undocumented)
readonly dbType: 'DYNAMODB';
// (undocumented)
readonly provisionStrategy: 'IMPORTED_AMPLIFY_TABLE';
// (undocumented)
readonly tableName: string;
}
// @public (undocumented)
export interface InlineMappingTemplateProvider {

@@ -255,3 +265,3 @@ // (undocumented)

// @public (undocumented)
export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;
export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | ImportedAmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;

@@ -258,0 +268,0 @@ // @public (undocumented)

@@ -6,6 +6,13 @@ # Change Log

## [4.1.1-async-lambda.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@4.1.0...@aws-amplify/graphql-transformer-interfaces@4.1.1-async-lambda.0) (2024-09-09)
# [4.2.0-gen2-migration-0930.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@4.1.0...@aws-amplify/graphql-transformer-interfaces@4.2.0-gen2-migration-0930.0) (2024-09-30)
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
### Features
- get datasource map for migration ([#2668](https://github.com/aws-amplify/amplify-category-api/issues/2668)) ([02c7da0](https://github.com/aws-amplify/amplify-category-api/commit/02c7da0da0d5837ca05a8e4ff1b1536cc20ae15b))
- import existing table to amplify managed table ([#2634](https://github.com/aws-amplify/amplify-category-api/issues/2634)) ([b3fb28f](https://github.com/aws-amplify/amplify-category-api/commit/b3fb28f6a253cae523625c0b2e93ec9ce2c37bab))
### Reverts
- Revert "feat: get datasource map for migration (#2668)" (#2907) ([2b17871](https://github.com/aws-amplify/amplify-category-api/commit/2b17871b600dbfa6d911057c30498f7df6a7e8dc)), closes [#2668](https://github.com/aws-amplify/amplify-category-api/issues/2668) [#2907](https://github.com/aws-amplify/amplify-category-api/issues/2907)
# [4.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@4.0.1...@aws-amplify/graphql-transformer-interfaces@4.1.0) (2024-09-06)

@@ -12,0 +19,0 @@

@@ -1,2 +0,2 @@

export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;
export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | ImportedAmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;
export interface ModelDataSourceStrategyBase {

@@ -15,2 +15,7 @@ dbType: ModelDataSourceStrategyDbType;

}
export interface ImportedAmplifyDynamoDbModelDataSourceStrategy {
readonly dbType: 'DYNAMODB';
readonly provisionStrategy: 'IMPORTED_AMPLIFY_TABLE';
readonly tableName: string;
}
export interface SQLLambdaModelDataSourceStrategy extends ModelDataSourceStrategyBase {

@@ -17,0 +22,0 @@ readonly name: string;

4

package.json
{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "4.1.1-async-lambda.0",
"version": "4.2.0-gen2-migration-0930.0",
"description": "Amplify GraphQL transformer interface definitions",

@@ -70,3 +70,3 @@ "repository": {

},
"gitHead": "6523549821213b017c48fc99860e76689a28b7d9"
"gitHead": "9747afc0099b5403bfde9d3489c34088eb76b02e"
}

@@ -12,2 +12,3 @@ // #########################################################################################################################################

| AmplifyDynamoDbModelDataSourceStrategy
| ImportedAmplifyDynamoDbModelDataSourceStrategy
| SQLLambdaModelDataSourceStrategy;

@@ -46,2 +47,11 @@

/**
* Use custom resource type 'Custom::ImportedAmplifyDynamoDBTable' to provision table.
*/
export interface ImportedAmplifyDynamoDbModelDataSourceStrategy {
readonly dbType: 'DYNAMODB';
readonly provisionStrategy: 'IMPORTED_AMPLIFY_TABLE';
readonly tableName: string;
}
/**
* A strategy that creates a Lambda to connect to a pre-existing SQL table to resolve model data.

@@ -48,0 +58,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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc