feat(graphql): generate types from graphql files (#2014)

Co-authored-by: forehalo <forehalo@gmail.com>
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
LongYinan
2023-04-25 10:13:52 +08:00
committed by GitHub
parent 4528df07a5
commit 5c673a8ffc
21 changed files with 2445 additions and 65 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"name": "@affine/graphql",
"version": "0.0.0",
"description": "Autogenerated GraphQL client for affine.pro",
"license": "MPL-2.0",
"type": "module",
"main": "./src/index.ts",
"module": "./src/index.ts",
"exports": {
".": "./src/index.ts"
},
"devDependencies": {
"@graphql-codegen/add": "^4.0.1",
"@graphql-codegen/cli": "3.3.0",
"@graphql-codegen/typescript": "^3.0.3",
"@graphql-codegen/typescript-operations": "^3.0.3",
"@types/lodash-es": "^4.17.7",
"lodash-es": "^4.17.21",
"prettier": "^2.8.7"
},
"dependencies": {
"graphql": "^16.6.0"
}
}