apollo-cli: move graphql global types to /types

This commit is contained in:
Chika 2022-07-11 17:54:51 +03:00
parent a4fdcc7c62
commit d164e024b9
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
"lint:fix": "next lint -- --fix", "lint:fix": "next lint -- --fix",
"prettier": "prettier --write .", "prettier": "prettier --write .",
"precommit": "yarn prettier && yarn lint:fix", "precommit": "yarn prettier && yarn lint:fix",
"graphql:codegen": "apollo client:codegen --target typescript", "graphql:codegen": "apollo client:codegen --target typescript --globalTypesFile types/graphql.ts",
"graphql:schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql", "graphql:schema": "dotenv -e .env.local apollo client:download-schema graphql/crm.schema.graphql",
"prepare": "husky install" "prepare": "husky install"
}, },