← Back to directory

Generate TypeScript types from a GraphQL SDL schema: objects, interfaces, inputs...

https://code.halowerk.com/v1/graphql-to-ts

Overview

Generate TypeScript types from a GraphQL SDL schema: objects, interfaces, inputs, enums, unions, custom scalars and field-argument types, type-checked.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider code
Source bazaar
Indexed 2026-11-20 13:10:04

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "scalars": {}, "sdl": "type Query { user(id: ID!): User }\n\"\"\"A registered user\"\"\"\ntype User { id: ID! name: String friends: [User!]! role: Role! }\nenum Role { ADMIN MEMBER }" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "code": "// Generated by HALOWERK graphql-to-ts (graphql-js 17.0.2). Do not edit by hand.\n\nexport interface QueryUserArgs {\n id: string;\n}\n\nexport interface Query {\n __typename?: \"Query\";\n user: User | null;\n}\n\n/** A registered user */\nexport interface User {\n __typename?: \"User\";\n id: string;\n name: string | null;\n friends: Array<User>;\n role: Role;\n}\n\nexport type Role =\n | \"ADMIN\"\n | \"MEMBER\";\n", "counts": { "args": 1, "enums": 1, "inputs": 0, "interfaces": 0, "objects": 2, "scalars": 0, "unions": 0 }, "type_check": { "compiler": "typescript 5.9.3 (strict)", "errors": [], "passed": true, "ran": true }, "unmapped_scalars": [] }, "service": "graphql-to-ts", "status": "success" }, "type": "json" }