Skip to main content

Module types

Module types 

Source
Expand description

Type registry for managing custom type definitions and resolution

This module provides the TypeRegistry which handles:

  • Registering user-defined types for each document
  • Resolving type hierarchies and inheritance chains
  • Detecting and preventing circular dependencies
  • Applying overrides to create final type specifications

Structsยง

ResolvedDocumentTypes
Fully resolved types for a single document After resolution, all imports are inlined - documents are independent
TypeRegistry
Registry for managing and resolving custom types