@basehub-dev/julianbenegas.websiteiikk
v0.0.2
Published
SDK client for basehub-git-jb-sdk-gen-basement.vercel.app GraphQL API
Downloads
161
Maintainers
Readme
TypeScript SDK for https://basehub-git-jb-sdk-gen-basement.vercel.app/julianbenegas/chunk-test.
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 '@basehub-dev/julianbenegas.websiteiikk'
const client = createClient({ token: process.env.BASEHUB_TOKEN })
client
.query({
_sys: {
hash: true,
id: true,
slug: true,
},
})
.then((x) => console.log(JSON.stringify(x, null, 4)))
client
.query({
oneDos: {
_sys: {
createdAt: true,
hash: true,
id: 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.