fix: gql.tada not generating Typescript schema

Summary:

Test Plan:
This commit is contained in:
2024-05-16 01:12:41 -04:00
parent dd47118f3a
commit 359b73c7a8
4 changed files with 217 additions and 2 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,12 +1,12 @@
{ {
"scripts": { "scripts": {
"dev": "wrangler dev src/index.ts", "dev": "wrangler dev src/index.ts --port 8080",
"deploy": "wrangler deploy --minify src/index.ts" "deploy": "wrangler deploy --minify src/index.ts"
}, },
"dependencies": { "dependencies": {
"@hono/swagger-ui": "^0.2.2", "@hono/swagger-ui": "^0.2.2",
"@hono/zod-openapi": "^0.12.0", "@hono/zod-openapi": "^0.12.0",
"gql.tada": "^1.7.4", "gql.tada": "^1.7.5",
"graphql-request": "^7.0.1", "graphql-request": "^7.0.1",
"hono": "^4.3.6", "hono": "^4.3.6",
"zod": "^3.23.8" "zod": "^3.23.8"

212
src/types/anilist-graphql.d.ts vendored Normal file

File diff suppressed because one or more lines are too long