0.1.7 • Published 7 months ago

@l1network/chaingraph-genql v0.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@chaingraph/genql

⚠️ Work in Progress: This package is currently under active development.

A GraphQL client generator for the ChainGraph API, built with genql.

Overview

This package provides type-safe GraphQL operations for interacting with the ChainGraph API. It automatically generates TypeScript types and query builders based on the ChainGraph GraphQL schema.

Installation

npm install @chaingraph/genql
# or
yarn add @chaingraph/genql
# or
pnpm add @chaingraph/genql
# or
bun add @chaingraph/genql

Usage

import { createClient } from '@chaingraph/genql'

const client = createClient({
  // Configure your client options here
})

// Use the generated types and queries

Development

To generate the GraphQL client:

npm run gen
# or
yarn gen
# or
pnpm gen
# or
bun run gen

License

MIT

0.1.7

7 months ago

0.1.6

7 months ago

0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago