graphql-transformer-core
Advanced tools
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 |
@@ -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 @@ } |
{ | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
488779
4352
8
2
+ Addedgraphql-transformer-common@4.26.0-construct-publish-test.0(transitive)
- Removedgraphql-transformer-common@4.25.1(transitive)
Updatedgraphql-transformer-common@4.26.0-construct-publish-test.0