0.0.2 • Published 1 year ago
@basehub/julianbenegas.hola v0.0.2
TypeScript SDK for https://basehub.ai/julianbenegas/hola.
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/julianbenegas.hola'
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 support@basehub.ai for any feedback or questions.
0.0.2
1 year ago