0.0.467 • Published 2 years ago

@basehub-dev/justkahdri.test123 v0.0.467

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

TypeScript SDK for https://basehub.dev.

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/justkahdri.test123'

const client = createClient({ token: process.env.BASEHUB_TOKEN })

client
  .query({
    _sys: {
      hash: true,
      id: true,
      slug: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))

client
  .query({
    document: {
      _slug: true,
      _sys: {
        createdAt: true,
        hash: true,
        id: true,
      },
      _title: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))

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.467

2 years ago

0.0.466

2 years ago

0.0.465

2 years ago

0.0.464

2 years ago

0.0.463

2 years ago

0.0.462

2 years ago

0.0.458

2 years ago

0.0.446

2 years ago

0.0.445

2 years ago

0.0.444

2 years ago

0.0.443

2 years ago

0.0.442

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago