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

graphql-transformer-core

Package Overview
Dependencies
Maintainers
12
Versions
988
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-transformer-core - npm Package Compare versions

Comparing version 8.1.13 to 8.2.0-construct-publish-test.0

13

API.md

@@ -115,2 +115,5 @@ ## API Report File for "graphql-transformer-core"

// @public (undocumented)
export type DataSourceProvisionStrategy = DynamoDBProvisionStrategy;
// @public (undocumented)
export interface DatasourceType {

@@ -121,2 +124,4 @@ // (undocumented)

provisionDB: boolean;
// (undocumented)
provisionStrategy: DataSourceProvisionStrategy;
}

@@ -145,2 +150,10 @@

// @public (undocumented)
export const enum DynamoDBProvisionStrategy {
// (undocumented)
AMPLIFY_TABLE = "AMPLIFY_TABLE",
// (undocumented)
DEFAULT = "DEFAULT"
}
// @public (undocumented)
export interface FeatureFlagProvider {

@@ -147,0 +160,0 @@ // (undocumented)

@@ -92,4 +92,10 @@ import { Template } from 'cloudform-types';

provisionDB: boolean;
provisionStrategy: DataSourceProvisionStrategy;
}
export declare const enum DynamoDBProvisionStrategy {
DEFAULT = "DEFAULT",
AMPLIFY_TABLE = "AMPLIFY_TABLE"
}
export type DataSourceProvisionStrategy = DynamoDBProvisionStrategy;
export {};
//# sourceMappingURL=transformConfig.d.ts.map

10

lib/util/transformConfig.js

@@ -29,3 +29,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.removeAmplifyInput = exports.readSchema = exports.loadProject = exports.isDataStoreEnabled = exports.writeConfig = exports.loadConfig = exports.ConflictHandlerType = exports.TRANSFORM_CURRENT_VERSION = exports.TRANSFORM_BASE_VERSION = exports.TRANSFORM_CONFIG_FILE_NAME = void 0;
exports.DynamoDBProvisionStrategy = exports.removeAmplifyInput = exports.readSchema = exports.loadProject = exports.isDataStoreEnabled = exports.writeConfig = exports.loadConfig = exports.ConflictHandlerType = exports.TRANSFORM_CURRENT_VERSION = exports.TRANSFORM_BASE_VERSION = exports.TRANSFORM_CONFIG_FILE_NAME = void 0;
const path = __importStar(require("path"));

@@ -242,6 +242,12 @@ const lodash_1 = __importDefault(require("lodash"));

}
function constructDataSourceType(dbType, provisionDB = true) {
var DynamoDBProvisionStrategy;
(function (DynamoDBProvisionStrategy) {
DynamoDBProvisionStrategy["DEFAULT"] = "DEFAULT";
DynamoDBProvisionStrategy["AMPLIFY_TABLE"] = "AMPLIFY_TABLE";
})(DynamoDBProvisionStrategy = exports.DynamoDBProvisionStrategy || (exports.DynamoDBProvisionStrategy = {}));
function constructDataSourceType(dbType, provisionDB = true, provisionStrategy = "DEFAULT") {
return {
dbType,
provisionDB,
provisionStrategy,
};

@@ -248,0 +254,0 @@ }

6

package.json
{
"name": "graphql-transformer-core",
"version": "8.1.13",
"version": "8.2.0-construct-publish-test.0",
"description": "A framework to transform from GraphQL SDL to AWS cloudFormation.",

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

"graphql": "^15.5.0",
"graphql-transformer-common": "4.25.1",
"graphql-transformer-common": "4.26.0-construct-publish-test.0",
"lodash": "^4.17.21"

@@ -64,3 +64,3 @@ },

},
"gitHead": "b6705826214b680b78f2c98e930b297b5cea2b78"
"gitHead": "834040d5d4ac7290aed664176ffbd4559cbbf8d2"
}

Sorry, the diff of this file is too big to display

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