graphql-request-helper
Advanced tools
Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "graphql-request-helper", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "", | ||
@@ -10,3 +10,3 @@ "main": "lib/index.js", | ||
"start": "npm run build && node lib/index.js", | ||
"publish": "npm run build && npm publish", | ||
"publish": "npm run build", | ||
"lint": "eslint --ext .js,.ts ./src", | ||
@@ -13,0 +13,0 @@ "lint:fix": "eslint --fix --ext .js,.ts ./src" |
@@ -29,7 +29,9 @@ # graphql-request-helper | ||
const data = await graphQLClient.query({ | ||
queryName: "getItems", | ||
queryName: "getAnimals", | ||
fields: [ | ||
"id", | ||
"name", | ||
"age", | ||
{ | ||
name: "shop", | ||
name: "family", | ||
fields: ["id", "name"], | ||
@@ -39,3 +41,3 @@ }, | ||
params: { | ||
page: 1, | ||
age: 3, | ||
}, | ||
@@ -49,5 +51,6 @@ }); | ||
query{ | ||
getItems(page: 1){ | ||
getAnimals(age: 3){ | ||
id | ||
shop { | ||
name | ||
family{ | ||
id | ||
@@ -54,0 +57,0 @@ name |
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
55599
71