graphql-helper
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -24,26 +24,27 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
fragments: {} | ||
}; | ||
// FRAGMENT | ||
// FRAGMENT | ||
// A fragment represents the data needs of some component. | ||
// A fragment represents the data needs of some component. | ||
// We want to express the following GraphQL fragment definition: | ||
// We want to express the following GraphQL fragment definition: | ||
// fragment FullPost on Post { | ||
// id | ||
// slug | ||
// title | ||
// body | ||
// contributors { | ||
// ...Contributor | ||
// } | ||
// author { | ||
// name | ||
// ...Author | ||
// } | ||
// } | ||
// fragment FullPost on Post { | ||
// id | ||
// slug | ||
// title | ||
// body | ||
// contributors { | ||
// ...Contributor | ||
// } | ||
// author { | ||
// name | ||
// ...Author | ||
// } | ||
// } | ||
// As some object which contains a flattened list of its dependencies: | ||
// As some object which contains a flattened list of its dependencies: | ||
}; | ||
// { | ||
@@ -50,0 +51,0 @@ // __GRAPHQL_FRAGMENT__: true, |
@@ -30,26 +30,27 @@ (function (global, factory) { | ||
fragments: {} | ||
}; | ||
// FRAGMENT | ||
// FRAGMENT | ||
// A fragment represents the data needs of some component. | ||
// A fragment represents the data needs of some component. | ||
// We want to express the following GraphQL fragment definition: | ||
// We want to express the following GraphQL fragment definition: | ||
// fragment FullPost on Post { | ||
// id | ||
// slug | ||
// title | ||
// body | ||
// contributors { | ||
// ...Contributor | ||
// } | ||
// author { | ||
// name | ||
// ...Author | ||
// } | ||
// } | ||
// fragment FullPost on Post { | ||
// id | ||
// slug | ||
// title | ||
// body | ||
// contributors { | ||
// ...Contributor | ||
// } | ||
// author { | ||
// name | ||
// ...Author | ||
// } | ||
// } | ||
// As some object which contains a flattened list of its dependencies: | ||
// As some object which contains a flattened list of its dependencies: | ||
}; | ||
// { | ||
@@ -56,0 +57,0 @@ // __GRAPHQL_FRAGMENT__: true, |
{ | ||
"name": "graphql-helper", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "A simple helper library for constructing GraphQL queries.", | ||
"main": "dist/graphql-helper.js", | ||
"module": "dist/graphql-helper.es.js", | ||
"types": "graphql-helper.d.ts", | ||
"jsnext:main": "dist/graphql-helper.es.js", | ||
@@ -8,0 +9,0 @@ "scripts": { |
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
187665
1389