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

@aws-amplify/data-schema

Package Overview
Dependencies
Maintainers
10
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/data-schema - npm Package Compare versions

Comparing version 0.14.3 to 0.14.4

17

lib-esm/src/ModelSchema.d.ts

@@ -28,2 +28,11 @@ import type { DerivedApiDefinition, SetTypeSubArg } from '@aws-amplify/data-schema-types';

export type DatasourceEngine = 'mysql' | 'postgresql' | 'dynamodb';
type SubnetAZ = {
subnetId: string;
availabilityZone: string;
};
type VpcConfig = {
vpcId: string;
securityGroupIds: string[];
subnetAvailabilityZones: SubnetAZ[];
};
type DatasourceConfig<DE extends DatasourceEngine> = DE extends 'dynamodb' ? {

@@ -33,8 +42,4 @@ engine: DE;

engine: DE;
hostname: BackendSecret;
username: BackendSecret;
password: BackendSecret;
port: BackendSecret;
databaseName: BackendSecret;
vpcConfig?: Record<string, never>;
connectionUri: BackendSecret;
vpcConfig?: VpcConfig;
};

@@ -41,0 +46,0 @@ export type SchemaConfig<DE extends DatasourceEngine, DC extends DatasourceConfig<DE>> = {

{
"name": "@aws-amplify/data-schema",
"version": "0.14.3",
"version": "0.14.4",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "repository": {

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