@bsmnt/test-test
v0.0.1
Published
SDK client for basehub.ai GraphQL API
Downloads
4
Maintainers
Readme
TypeScript SDK for https://xmorse.xyz.
Features
- No codegen needed
- Type completion & Type validation
- No dependency on
graphql
- Works in browser, Node, Deno, Cloudflare workers, Bun and more
Usage
import { createClient } from '@bsmnt/test-test'
const client = createClient({ token: process.env.BASEHUB_TOKEN })
client
.query({
sarasa: {
sys: {
id: true,
lastModified: true,
title: true,
},
title: true,
},
})
.then((x) => console.log(JSON.stringify(x, null, 4)))
client
.query({
sys: {
id: true,
slug: true,
title: true,
},
})
.then((x) => console.log(JSON.stringify(x, null, 4)))
This client has been generated with Genql, you can read more about usage and features here.
Support
Contact [email protected] for any feedback or questions.