Socket
Socket
Sign inDemoInstall

@aws-amplify/graphql-transformer-interfaces

Package Overview
Dependencies
Maintainers
10
Versions
314
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 3.3.0-rds-4.0 to 3.3.0-rds-5.0

13

API.md

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

// @public (undocumented)
export interface DatasourceType {
// (undocumented)
dbType: DBType;
// (undocumented)
provisionDB: boolean;
}
// @public (undocumented)
export type DBType = 'DDB' | 'MySQL' | 'Postgres';
// @public (undocumented)
export interface DynamoDbDataSourceOptions extends DataSourceOptions {

@@ -428,4 +439,2 @@ // (undocumented)

metadata: TransformerContextMetadataProvider;
// Warning: (ae-forgotten-export) The symbol "DatasourceType" needs to be exported by the entry point index.d.ts
//
// (undocumented)

@@ -432,0 +441,0 @@ modelToDatasourceMap: Map<string, DatasourceType>;

4

CHANGELOG.md

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

# [3.3.0-rds-4.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.2.1...@aws-amplify/graphql-transformer-interfaces@3.3.0-rds-4.0) (2023-10-19)
# [3.3.0-rds-5.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.2.1...@aws-amplify/graphql-transformer-interfaces@3.3.0-rds-5.0) (2023-11-01)
### Features
- add postgres engine and update types as needed ([#1979](https://github.com/aws-amplify/amplify-category-api/issues/1979)) ([5257d53](https://github.com/aws-amplify/amplify-category-api/commit/5257d53f1d4d02be71b34ddf6757f22dd5d74aff))
- Add SQL database support to AmplifyGraphqlApi construct ([#1986](https://github.com/aws-amplify/amplify-category-api/issues/1986)) ([2ff63a5](https://github.com/aws-amplify/amplify-category-api/commit/2ff63a540387d96cf10d8ae1975858a76d9ba045)), closes [#1917](https://github.com/aws-amplify/amplify-category-api/issues/1917) [#1983](https://github.com/aws-amplify/amplify-category-api/issues/1983)
- **api:** add vpc endpoints for ssm ([5a4ffc4](https://github.com/aws-amplify/amplify-category-api/commit/5a4ffc4c1889536c8e1fdd1f31fe28ca4326100f))

@@ -12,0 +14,0 @@ - **api:** custom queries support using sql directive ([5214037](https://github.com/aws-amplify/amplify-category-api/commit/52140374ca974956c5d5eac09fec91a51cfc9027))

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

export { DataSourceProvider, TransformerDataSourceManagerProvider, AppSyncDataSourceType, DataSourceInstance, } from './transformer-datasource-provider';
export { DataSourceProvider, TransformerDataSourceManagerProvider, AppSyncDataSourceType, DataSourceInstance, DBType, DatasourceType, } from './transformer-datasource-provider';
export { TransformerContextOutputProvider } from './transformer-context-output-provider';

@@ -3,0 +3,0 @@ export { TransformerProviderRegistry } from './transformer-provider-registry';

@@ -25,3 +25,3 @@ import { BackedDataSource, HttpDataSource } from 'aws-cdk-lib/aws-appsync';

}
export type DBType = 'MySQL' | 'DDB';
export type DBType = 'DDB' | 'MySQL' | 'Postgres';
export interface DatasourceType {

@@ -28,0 +28,0 @@ dbType: DBType;

{
"name": "@aws-amplify/graphql-transformer-interfaces",
"version": "3.3.0-rds-4.0",
"version": "3.3.0-rds-5.0",
"description": "Amplify GraphQL transformer interface definitions",

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

},
"gitHead": "6061315de250612308d4517fe794d28a97d3a961"
"gitHead": "ddbbff11d6a070cb4d2b9708c60c734a5d139bfc"
}

@@ -6,2 +6,4 @@ export {

DataSourceInstance,
DBType,
DatasourceType,
} from './transformer-datasource-provider';

@@ -8,0 +10,0 @@ export { TransformerContextOutputProvider } from './transformer-context-output-provider';

@@ -30,4 +30,11 @@ import { BackedDataSource, HttpDataSource } from 'aws-cdk-lib/aws-appsync';

export type DBType = 'MySQL' | 'DDB';
/**
* Supported transformable database types.
*/
export type DBType = 'DDB' | 'MySQL' | 'Postgres';
/**
* Configuration for a datasource. Defines the underlying database engine, and instructs the tranformer whether to provision the database
* storage or whether it already exists.
*/
export interface DatasourceType {

@@ -34,0 +41,0 @@ dbType: DBType;

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

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