graphql-norm
Advanced tools
Comparing version 1.3.0 to 1.3.5
@@ -10,5 +10,9 @@ # Change Log | ||
- Include typescript source from `src/` in published npm package. See PR [#52](https://github.com/dividab/graphql-norm/pull/52) for more info. | ||
## [1.3.0](https://github.com/dividab/graphql-norm/compare/v1.2.0...v1.3.0) - 2019-10-15 | ||
- If denormalize() could not be fulfill a query, data will be `undefined` and `fields` will contain the first field that could not be resolved. | ||
## [1.2.0](https://github.com/dividab/graphql-norm/compare/v1.1.0...v1.2.0) - 2019-10-20 | ||
## [1.2.0](https://github.com/dividab/graphql-norm/compare/v1.1.0...v1.2.0) - 2019-09-20 | ||
@@ -15,0 +19,0 @@ ### Added |
@@ -12,1 +12,2 @@ import * as GraphQL from "graphql"; | ||
export declare function denormalize(query: GraphQL.DocumentNode, variables: Variables | undefined, normMap: NormMap, resolveType?: ResolveType): DenormalizationResult; | ||
//# sourceMappingURL=denormalize.d.ts.map |
@@ -13,1 +13,2 @@ import * as GraphQL from "graphql"; | ||
export declare function shouldIncludeField(directives: ReadonlyArray<GraphQL.DirectiveNode>, variables?: Variables): boolean; | ||
//# sourceMappingURL=functions.d.ts.map |
@@ -16,1 +16,2 @@ export { normalize } from "./normalize"; | ||
NormalizedField } from "./normalized-object"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,1 +17,2 @@ export interface NormMap { | ||
export declare function merge(normMap: NormMap, newNormMap: NormMap): NormMap; | ||
//# sourceMappingURL=norm-map.d.ts.map |
@@ -13,1 +13,2 @@ import * as GraphQL from "graphql"; | ||
export declare function normalize(query: GraphQL.DocumentNode, variables: Variables | undefined, data: RootFields, getObjectId?: GetObjectId, resolveType?: ResolveType): NormMap; | ||
//# sourceMappingURL=normalize.d.ts.map |
@@ -17,1 +17,2 @@ import { NormKey, NormMap } from "./norm-map"; | ||
}; | ||
//# sourceMappingURL=normalized-object.d.ts.map |
@@ -39,1 +39,2 @@ import * as GraphQL from "graphql"; | ||
}) => string; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "graphql-norm", | ||
"version": "1.3.0", | ||
"version": "1.3.5", | ||
"description": "Normalization and denormalization of GraphQL responses", | ||
@@ -22,2 +22,3 @@ "main": "dist/umd.js", | ||
"/dist", | ||
"/src", | ||
"package.json", | ||
@@ -24,0 +25,0 @@ "CHANGELOG.md", |
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
107824
41
1626