0.0.1 • Published 1 year ago

@basehub/testing-team-slug.project-slug v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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 '@basehub/testing-team-slug.project-slug'


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.