Skip to main content

Shared Types

Shared TypeScript type definitions and interfaces used across the Substrate monorepo.

Overview

This package provides common TypeScript types, interfaces, and type utilities that are shared between packages and applications. It ensures type consistency across:

  • Database models - Prisma ORM types
  • GraphQL schemas - API types
  • Application code - React components and utilities

By centralizing type definitions, we maintain a single source of truth for data structures and reduce duplication.

API Reference

See the API Reference.