@aws-amplify/graphql-transformer-core
Advanced tools
Comparing version 0.3.1 to 0.3.2-beta.0
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.3.2-beta.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.3.1...@aws-amplify/graphql-transformer-core@0.3.2-beta.0) (2021-02-11) | ||
**Note:** Version bump only for package @aws-amplify/graphql-transformer-core | ||
## [0.3.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-core@0.3.0...@aws-amplify/graphql-transformer-core@0.3.1) (2021-02-10) | ||
@@ -8,0 +16,0 @@ |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InlineTemplate = exports.MappingTemplate = exports.S3MappingTemplate = exports.TransformerStackSythesizer = exports.TransformerNestedStack = exports.TransformerRootStack = void 0; | ||
var root_stack_1 = require("./root-stack"); | ||
@@ -4,0 +5,0 @@ Object.defineProperty(exports, "TransformerRootStack", { enumerable: true, get: function () { return root_stack_1.TransformerRootStack; } }); |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -20,0 +20,0 @@ return result; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ConflictHandlerType = void 0; | ||
var transformer_config_1 = require("./transformer-config"); | ||
Object.defineProperty(exports, "ConflictHandlerType", { enumerable: true, get: function () { return transformer_config_1.ConflictHandlerType; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -52,3 +52,3 @@ import { APIIAMResourceProvider, GraphQLAPIProvider, MappingTemplateProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
addToSchema(content: string): void; | ||
getDefaultAuthorization(): AuthorizationMode; | ||
getDefaultAuthorization(): AuthorizationMode | undefined; | ||
addResolver(typeName: string, fieldName: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate: MappingTemplateProvider, dataSourceName?: string, pipelineConfig?: string[], stack?: Stack): CfnResolver; | ||
@@ -55,0 +55,0 @@ hasDataSource(name: string): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getAppSyncServiceExtraDirectives = void 0; | ||
exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.TransformerPluginBase = exports.TransformerModelEnhancerBase = exports.TransformerModelBase = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.ConflictHandlerType = exports.GraphQLTransform = void 0; | ||
const graphql_1 = require("graphql"); | ||
@@ -17,7 +17,8 @@ const validation_1 = require("./transformation/validation"); | ||
Object.defineProperty(exports, "TransformerPluginBase", { enumerable: true, get: function () { return transformer_plugin_base_1.TransformerPluginBase; } }); | ||
exports.getAppSyncServiceExtraDirectives = () => { | ||
const getAppSyncServiceExtraDirectives = () => { | ||
return graphql_1.print(validation_1.EXTRA_DIRECTIVES_DOCUMENT); | ||
}; | ||
exports.getAppSyncServiceExtraDirectives = getAppSyncServiceExtraDirectives; | ||
var cdk_compat_1 = require("./cdk-compat"); | ||
Object.defineProperty(exports, "MappingTemplate", { enumerable: true, get: function () { return cdk_compat_1.MappingTemplate; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -10,5 +10,6 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GraphQLTransform = void 0; | ||
var transform_1 = require("./transform"); | ||
@@ -15,0 +16,0 @@ Object.defineProperty(exports, "GraphQLTransform", { enumerable: true, get: function () { return transform_1.GraphQLTransform; } }); |
@@ -88,3 +88,3 @@ "use strict"; | ||
`); | ||
exports.validateModelSchema = (doc) => { | ||
const validateModelSchema = (doc) => { | ||
const fullDocument = { | ||
@@ -104,2 +104,3 @@ kind: language_1.Kind.DOCUMENT, | ||
}; | ||
exports.validateModelSchema = validateModelSchema; | ||
//# sourceMappingURL=validation.js.map |
@@ -1,2 +0,2 @@ | ||
import { FeatureFlagProvider } from "@aws-amplify/graphql-transformer-interfaces"; | ||
import { FeatureFlagProvider } from '@aws-amplify/graphql-transformer-interfaces'; | ||
export declare class NoopFeatureFlagProvider implements FeatureFlagProvider { | ||
@@ -3,0 +3,0 @@ getBoolean(featureName: string, options?: boolean): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DEFAULT_SCHEMA_DEFINITION = exports.stripDirectives = exports.collectDirectivesByTypeNames = exports.collectDirectives = void 0; | ||
var type_map_utils_1 = require("./type-map-utils"); | ||
@@ -4,0 +5,0 @@ Object.defineProperty(exports, "collectDirectives", { enumerable: true, get: function () { return type_map_utils_1.collectDirectives; } }); |
{ | ||
"name": "@aws-amplify/graphql-transformer-core", | ||
"version": "0.3.1", | ||
"version": "0.3.2-beta.0", | ||
"description": "A framework to transform from GraphQL SDL to AWS CloudFormation.", | ||
@@ -26,3 +26,3 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-interfaces": "1.3.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.3.1-beta.0", | ||
"@aws-cdk/assets": "~1.72.0", | ||
@@ -59,3 +59,3 @@ "@aws-cdk/aws-applicationautoscaling": "~1.72.0", | ||
"graphql": "^14.5.8", | ||
"graphql-transformer-common": "4.18.1", | ||
"graphql-transformer-common": "4.18.2-beta.0", | ||
"ts-dedent": "^2.0.0" | ||
@@ -83,3 +83,3 @@ }, | ||
}, | ||
"gitHead": "67db4037eb63b37ae6bdc6394bc4da1606943f06" | ||
"gitHead": "91aed5dce72d5f325decc6f255b9f7f37c0dc73c" | ||
} |
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
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
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
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
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
357076
3509
+ Added@aws-amplify/graphql-transformer-interfaces@1.3.1-beta.0(transitive)
+ Addedgraphql-transformer-common@4.18.2-beta.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@1.3.0(transitive)
- Removedgraphql-transformer-common@4.18.1(transitive)
Updated@aws-amplify/graphql-transformer-interfaces@1.3.1-beta.0