graphql-transformer-common
Advanced tools
Comparing version 1.0.27 to 1.0.28-beta.0
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="1.0.28-beta.0"></a> | ||
## [1.0.28-beta.0](https://github.com/aws-amplify/amplify-cli/compare/graphql-transformer-common@1.0.12...graphql-transformer-common@1.0.28-beta.0) (2018-10-12) | ||
**Note:** Version bump only for package graphql-transformer-common | ||
<a name="1.0.12"></a> | ||
@@ -8,0 +16,0 @@ ## [1.0.12](https://github.com/aws-amplify/amplify-cli/compare/graphql-transformer-common@1.0.11...graphql-transformer-common@1.0.12) (2018-08-23) |
@@ -25,2 +25,3 @@ import { ObjectTypeDefinitionNode, InputValueDefinitionNode, FieldDefinitionNode, TypeNode, SchemaDefinitionNode, OperationTypeNode, OperationTypeDefinitionNode, ObjectTypeExtensionNode, NamedTypeNode, NonNullTypeNode, ListTypeNode, ArgumentNode, DirectiveNode, EnumTypeDefinitionNode, ValueNode } from 'graphql'; | ||
export declare function isListType(type: TypeNode): boolean; | ||
export declare function isNonNullType(type: TypeNode): boolean; | ||
export declare const getDirectiveArgument: (directive: DirectiveNode) => (arg: string, dflt?: any) => any; | ||
@@ -27,0 +28,0 @@ export declare function unwrapNonNull(type: TypeNode): any; |
@@ -101,2 +101,6 @@ "use strict"; | ||
exports.isListType = isListType; | ||
function isNonNullType(type) { | ||
return type.kind === graphql_1.Kind.NON_NULL_TYPE; | ||
} | ||
exports.isNonNullType = isNonNullType; | ||
exports.getDirectiveArgument = function (directive) { return function (arg, dflt) { | ||
@@ -103,0 +107,0 @@ var get = function (s) { return function (arg) { return arg.name.value === s; }; }; |
{ | ||
"name": "graphql-transformer-common", | ||
"version": "1.0.27", | ||
"version": "1.0.28-beta.0", | ||
"description": "Common code and constants for AppSync Transformers", | ||
@@ -21,4 +21,4 @@ "main": "lib/index.js", | ||
"graphql": "^0.13.2", | ||
"graphql-mapping-template": "^1.0.27", | ||
"graphql-transformer-core": "^1.0.27" | ||
"graphql-mapping-template": "^1.0.28-beta.0", | ||
"graphql-transformer-core": "^1.0.28-beta.0" | ||
}, | ||
@@ -49,4 +49,3 @@ "devDependencies": { | ||
] | ||
}, | ||
"gitHead": "c90740936a898d3975a7a99d5827c9d357be0efe" | ||
} | ||
} |
@@ -102,2 +102,6 @@ import { | ||
export function isNonNullType(type: TypeNode): boolean { | ||
return type.kind === Kind.NON_NULL_TYPE; | ||
} | ||
export const getDirectiveArgument = (directive: DirectiveNode) => (arg: string, dflt?: any) => { | ||
@@ -104,0 +108,0 @@ const get = (s: string) => (arg: ArgumentNode) => arg.name.value === s |
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
1201
59365
40
2