Skip to content

Commit 197becd

Browse files
committed
feat: @aave/graphql basic setup
1 parent c241d39 commit 197becd

File tree

14 files changed

+1041
-0
lines changed

14 files changed

+1041
-0
lines changed

packages/graphql/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/graphql-cache.d.ts

packages/graphql/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# `@aave/graphql`
2+
3+
This package contains [`gql.tada`](https://gql-tada.0no.co/) bindings for the Aave GraphQL API.
4+
5+
---
6+
7+
**It is not intended to be used directly. Its interface will change without notice, use it at your own risk.**
8+

packages/graphql/package.json

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "@aave/graphql",
3+
"version": "0.0.0",
4+
"description": "GraphQL bindings for the Aave API",
5+
"repository": {
6+
"directory": "packages/graphql",
7+
"type": "git",
8+
"url": "git://github.com/aave/aave-sdk.git"
9+
},
10+
"type": "module",
11+
"main": "dist/index.cjs",
12+
"module": "dist/index.js",
13+
"types": "dist/index.d.ts",
14+
"exports": {
15+
".": {
16+
"import": "./dist/index.js",
17+
"require": "./dist/index.cjs"
18+
}
19+
},
20+
"typesVersions": {
21+
"*": {
22+
"import": [
23+
"./dist/index.d.ts"
24+
],
25+
"require": [
26+
"./dist/index.d.cts"
27+
]
28+
}
29+
},
30+
"files": [
31+
"dist"
32+
],
33+
"scripts": {
34+
"build": "tsup",
35+
"check": "gql.tada check",
36+
"doctor": "gql.tada doctor",
37+
"gql:generate:cache": "gql.tada generate turbo",
38+
"gql:download:local": "gql-tada generate schema 'http://localhost:3000/graphql' --output './schema.graphql'",
39+
"gql:generate": "gql-tada generate output",
40+
"gql:turbo": "gql-tada turbo",
41+
"prebuild": "pnpm run gql:turbo"
42+
},
43+
"dependencies": {
44+
"@aave/types": "workspace:*",
45+
"gql.tada": "^1.8.11",
46+
"graphql": "^16.11.0",
47+
"type-fest": "^4.41.0"
48+
},
49+
"devDependencies": {
50+
"tsup": "^8.5.0",
51+
"typescript": "^5.6.3"
52+
},
53+
"license": "MIT"
54+
}

0 commit comments

Comments
 (0)