Skip to main content

Shared GraphQL

GraphQL schema definitions, generated types, and OAuth scope utilities for the Substrate API.

Overview

This package contains:

  • GraphQL Schemas - Type definitions in .graphql files organized by domain
  • Generated Types - TypeScript types auto-generated from schemas using GraphQL Code Generator
  • OAuth Scopes - Scope definitions and utility functions for authorization

Quick Start

Generate TypeScript types from GraphQL schemas:

nx generate shared-graphql

API Reference

See the API Reference.