RepoLens

Gallery ยท Architecture explained ยท Score ยท TypeScript

Prisma architecture: modules, API surface, dependency graph

TypeScript ORM. This page covers the framework core and the SQL core only. Generated from prisma/prisma at 1e98c69, Apache-2.0.

Scanned the framework core and the SQL core. Engines, drivers, and the rest of the monorepo are not included.

Files
206
Modules
9
API routes
0
Documents
17

TypeScriptNode.js

Executive Summary

Stakeholders ยท High-level overview for leadership, product, and stakeholders

At a Glance

AspectSummary
WhatPrisma is a production-grade command-line tool
Built Withgeneral-purpose + TypeScript, Node.js
Scale9 modules across 206 files
MaturityProduction-grade (3/3 indicators)

What This System Does

Prisma is a general-purpose command-line tool built with TypeScript, Node.js. It operates as a command-line interface, enabling users to interact with the system through terminal commands. This architecture is optimized for automation, scripting, and integration into CI/CD pipelines.

Business Capabilities

The system is organized around 4 functional domains, each representing a distinct business capability:

DomainCapabilityScale
Data Layerpath packages/2-sql/1-core/contract matches sql4 modules, 90 files
UI Componentspath packages/1-framework/1-core/framework-components matches component1 modules, 89 files
Core Enginepath packages/1-framework/1-core/errors matches core3 modules, 21 files
Configurationpath packages/1-framework/1-core/config matches config1 modules, 6 files

Technical Foundation

LayerTechnologiesPurpose
LanguageTypeScript, Node.jsPrimary development language
BuildTurborepoCompilation and bundling
TestingVitestQuality assurance

Module Composition

The codebase follows a layered architecture with clear separation of concerns:

LayerCountKey ModulesResponsibility
UI Components1framework-componentsRenders user interface elements and manages component state
core7contract, schema-irSupporting application functionality
config1configSupporting application functionality

Codebase Health

Overall Health: ๐ŸŸข 95/100

MetricValueStatus
Internal imports280 edgesโœ… Connected
External Packages12โœ… Manageable
Circular Dependenciescycle-freeโœ… None
Orphan Files36โš ๏ธ 36 unused
Key Insights
  • โœ… Clean module boundaries โ€” No circular dependencies detected, enabling safe refactoring and testing.
  • โš ๏ธ Potential dead code โ€” 36 files (17%) are not imported anywhere.

Key Data Flows

The system processes information through 5 identified flows:

  • control Request Flow (critical) โ€” Import chain starting from packages/1-framework/1-core/framework-components/src/exports/control โ€” traces how this entry point depends on 1 downstream module
  • runtime Request Flow (critical) โ€” Import chain starting from packages/1-framework/1-core/framework-components/src/exports/runtime โ€” traces how this entry point depends on 2 downstream modules
  • authoring Request Flow (critical) โ€” Import chain starting from packages/1-framework/1-core/framework-components/src/exports/authoring โ€” traces how this entry point depends on 2 downstream modules
  • codec Request Flow (critical) โ€” Import chain starting from packages/1-framework/1-core/framework-components/src/exports/codec โ€” traces how this entry point depends on 2 downstream modules
  • components Request Flow (critical) โ€” Import chain starting from packages/1-framework/1-core/framework-components/src/exports/components โ€” traces how this entry point depends on 1 downstream module

Strategic Observations

  • The codebase follows Core/kernel architecture โ€” `packages/1-framework/1-core/framework-components`, `packages/2-sql/1-core/contract`, `packages/2-sql/1-core/schema-ir` (+6 more), Renderer pipeline โ€” `packages/1-framework/1-core/ts-render`, Acyclic dependency graph โ€” clean layering architectural patterns, providing a familiar structure for developers.
  • Strong engineering practices are in place: automated testing and clean dependency boundaries support ongoing development.
  • As a CLI tool, this system is automation-friendly and can integrate into existing workflows and pipelines.

This executive summary was generated from comprehensive repository analysis including dependency graphs, data flow detection, and architectural pattern recognition. Enable AI enhancement with `GITHUB_TOKEN` for strategic recommendations, risk assessments, and plain-language explanations tailored for non-technical stakeholders.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

System Overview

Mixed audience ยท Concise technical overview readable by all

The Big Picture

Prisma is a focused codebase with a clear purpose, containing 9 modules spread across 206 files.

DimensionDetails
Total Files206
Module Count9
Functional Domains4
Interface TypeCommand-Line Tool

Technology Stack

The system is built on a modern technology foundation:

LayerTechnologiesPurpose
LanguageTypeScript, Node.jsPrimary development language
BuildTurborepoCompilation and asset processing
QualityVitestAutomated testing

Architecture Patterns

The codebase follows 3 identified architectural patterns:

  • Core/kernel architecture โ€” `packages/1-framework/1-core/framework-components`, `packages/2-sql/1-core/contract`, `packages/2-sql/1-core/schema-ir` (+6 more) โ€” A structured approach to organizing code and managing complexity.
  • Renderer pipeline โ€” `packages/1-framework/1-core/ts-render` โ€” A structured approach to organizing code and managing complexity.
  • Acyclic dependency graph โ€” clean layering โ€” The system operates as a command-line interface, accepting user input through terminal commands and producing structured output.

Module Architecture

The system is organized into 3 architectural layers:

LayerModulesKey ExamplesResponsibility
UI Components1framework-componentsRenders user interface elements and manages component state
core7contract, schema-irSupporting application functionality
config1configSupporting application functionality
Layer Details

UI Components โ€” 1 module

  • packages/1-framework/1-core/framework-components โ€” 89 files โ€” User interface components

core โ€” 7 modules

  • packages/2-sql/1-core/contract โ€” 64 files โ€” Core application module
  • packages/2-sql/1-core/schema-ir โ€” 19 files โ€” Data models and schemas
  • packages/1-framework/1-core/errors โ€” 9 files โ€” Core application module
  • packages/1-framework/1-core/ts-render โ€” 8 files โ€” Rendering and template logic
  • +3 more modules

config โ€” 1 module

  • packages/1-framework/1-core/config โ€” 6 files โ€” Configuration management

Functional Domains

The following domains represent the largest functional areas by file count:

RankDomainScaleBusiness Capability
1Data Layer90 filespath packages/2-sql/1-core/contract matches sql
2UI Components89 filespath packages/1-framework/1-core/framework-components matches component
3Core Engine21 filespath packages/1-framework/1-core/errors matches core
4Configuration6 filespath packages/1-framework/1-core/config matches config

Dependency Graph

Codebase Health: ๐ŸŸข 95/100

MetricValueAssessment
Internal Imports280Modules are connected
External Packages12Lean dependencies
Circular Dependencies0โœ… Clean
Orphan Files36โš ๏ธ 36 unused

This system overview was generated from comprehensive repository analysis. Enable AI enhancement with `GITHUB_TOKEN` for narrative context, architectural rationale, technology trade-off analysis, and scalability recommendations.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Business Domains

Mixed audience ยท Codebase structure translated into business language

Overview

Prisma is organized into 4 functional domains, each representing a distinct area of business capability. This document maps the technical structure to business-oriented functional areas.

Quick Reference:

DomainModulesFilesPrimary Capability
Data Layer490Data persistence and modeling
UI Components189Reusable visual interface elements
Core Engine321Supporting business operations
Configuration16Application configuration

1. Data Layer

Business Capability

path packages/2-sql/1-core/contract matches sql

This is a major domain with 4 modules and 90 source files.

Key Modules
ModulePurpose
packages/2-sql/1-core/contractCore application module
packages/2-sql/1-core/schema-irData models and schemas
packages/2-sql/1-core/errorsCore application module
packages/2-sql/1-core/operationsCore application module
Business Impact
  • Change Frequency Impact: High โ€” Changes here affect 90 files
  • Domain Complexity: Moderate
  • Recommendation: Ensure comprehensive testing before modifying this domain

2. UI Components

Business Capability

path packages/1-framework/1-core/framework-components matches component

This is a major domain with 1 module and 89 source files.

Key Modules
ModulePurpose
packages/1-framework/1-core/framework-componentsUser interface components
Business Impact
  • Change Frequency Impact: High โ€” Changes here affect 89 files
  • Domain Complexity: Simple
  • Recommendation: Ensure comprehensive testing before modifying this domain

3. Core Engine

Business Capability

path packages/1-framework/1-core/errors matches core

This is a significant domain with 3 modules and 21 source files.

Key Modules
ModulePurpose
packages/1-framework/1-core/errorsCore application module
packages/1-framework/1-core/ts-renderRendering and template logic
packages/1-framework/1-core/operationsCore application module
Business Impact
  • Change Frequency Impact: Medium โ€” Changes here affect 21 files
  • Domain Complexity: Moderate

4. Configuration

Business Capability

path packages/1-framework/1-core/config matches config

This is a focused domain with 1 module and 6 source files.

Key Modules
ModulePurpose
packages/1-framework/1-core/configConfiguration management
Business Impact
  • Change Frequency Impact: Low โ€” Changes here affect 6 files
  • Domain Complexity: Simple

Domain Health Summary

MetricValueAssessment
Total Domains4Well-balanced
Avg Files/Domain52Appropriate size
Largest DomainData Layer (90 files)Reasonable
Domain Concentration44% in largestโœ… Well distributed

Domain mapping is based on directory naming conventions and code organization patterns. Enable AI enhancement with `GITHUB_TOKEN` for business-language descriptions, stakeholder impact analysis, strategic recommendations, and cross-domain relationship narratives.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Architecture Overview

Engineers ยท Layered architecture and design patterns

Architectural Philosophy

Prisma follows a Core/kernel architecture โ€” `packages/1-framework/1-core/framework-components`, `packages/2-sql/1-core/contract`, `packages/2-sql/1-core/schema-ir` (+6 more) architecture with elements of Renderer pipeline โ€” `packages/1-framework/1-core/ts-render`, Acyclic dependency graph โ€” clean layering.

Pattern Analysis

Core/kernel architecture โ€” `packages/1-framework/1-core/framework-components`, `packages/2-sql/1-core/contract`, `packages/2-sql/1-core/schema-ir` (+6 more)

A structured approach to organizing code and managing complexity.

Benefits: Structured organization, maintainability, clarity

Renderer pipeline โ€” `packages/1-framework/1-core/ts-render`

A structured approach to organizing code and managing complexity.

Benefits: Structured organization, maintainability, clarity

Acyclic dependency graph โ€” clean layering

The system operates as a command-line interface, accepting user input through terminal commands and producing structured output.

Benefits: Automation-friendly, scriptable, integrates with CI/CD pipelines

System Layers

The system is organized into 4 functional layers, each encapsulating a distinct area of responsibility:

LayerResponsibilityScaleKey Insight
Data Layerpath packages/2-sql/1-core/contract matches sql90 filesStandard domain
UI Componentspath packages/1-framework/1-core/framework-components matches component89 filesSingle large module โ€” evaluate decomposition
Core Enginepath packages/1-framework/1-core/errors matches core21 filesStandard domain
Configurationpath packages/1-framework/1-core/config matches config6 filesStandard domain

Module Layers

Modules are classified into 3 architectural roles:

UI Components

Role: Renders user interface elements and manages component state

ModuleFilesDescription
packages/1-framework/1-core/framework-components89User interface components
core

Role: Supporting application functionality

ModuleFilesDescription
packages/2-sql/1-core/contract64Core application module
packages/2-sql/1-core/schema-ir19Data models and schemas
packages/1-framework/1-core/errors9Core application module
packages/1-framework/1-core/ts-render8Rendering and template logic
packages/1-framework/1-core/operations4Core application module
+2 moreโ€”Additional modules
config

Role: Supporting application functionality

ModuleFilesDescription
packages/1-framework/1-core/config6Configuration management

Technology Foundation

LayerTechnologiesArchitectural Implication
LanguageTypeScript, Node.jsStatic typing enables tooling and refactoring confidence
BuildTurborepoModern bundling and optimization
QualityVitestEnables confident refactoring

Scale & Complexity Analysis

DimensionValueAssessment
Total Files206large project
Module Count9low complexity
Domain Spread4 domainsFocused scope
InterfaceCLITerminal-driven interaction

Dependency Health

Architecture Health Score: ๐ŸŸข 95/100

MetricValueStatusRecommendation
Import Edges280โœ…Healthy module connectivity
External Packages12โœ…Lean dependency set
Circular Deps0โœ…Clean module boundaries
Orphan Files36โš ๏ธReview for dead code
Architectural Strengths
  • Clean module boundaries โ€” No circular dependencies detected. This enables safe refactoring, isolated testing, and clear ownership boundaries.
  • Testing infrastructure โ€” Automated testing with Vitest supports confident evolution.

This architecture overview was generated from comprehensive dependency graph analysis and pattern detection. Enable AI enhancement with `GITHUB_TOKEN` for architectural narratives, design rationale explanations, scalability analysis, and refactoring recommendations.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Module Catalog

Engineers ยท Complete inventory of code modules with AI explanations

A complete inventory of all code modules in the repository, organized by location and size. Each module represents a distinct area of responsibility within the codebase.

Total modules: 9


Module Inventory

ModuleFilesRole
packages/1-framework/1-core/framework-components89Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/2-sql/1-core/contract64Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/2-sql/1-core/schema-ir19Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/1-framework/1-core/errors9Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/1-framework/1-core/ts-render8Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/1-framework/1-core/config6Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/1-framework/1-core/operations4Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/2-sql/1-core/errors4Core business logic and shared foundations ยท Isolated (no imports or importers)
packages/2-sql/1-core/operations3Core business logic and shared foundations ยท Isolated (no imports or importers)

Module detection is based on the `module_roots` setting in your RepoLens configuration. Adjust this setting to change how modules are grouped.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Route Map

Mixed audience ยท Application routes and API endpoints with context

A complete listing of user-facing pages and backend API endpoints. This map shows every URL a user or client can interact with, along with the source file that handles each route.


Route Detection

This project is a CLI tool โ€” it does not expose HTTP routes or serve web pages. This is expected behavior, not a detection failure.

CLI tools interact through terminal commands rather than URLs. See the System Overview or Developer Onboarding documents for command documentation.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

API Surface

Engineers ยท Backend API endpoints with usage examples

This page documents both the API endpoints the application exposes and the external services it integrates with. Use it as a reference for understanding the system's interfaces.


Internal API Endpoints

These are the backend services the application provides to handle incoming requests.

No API routes were detected in this scan. If your project uses a routing framework (Express, Fastify, NestJS, etc.), ensure the relevant directories are included in your scan.include patterns.


External API Integrations

Third-party services the application connects to, grouped by category.

No external API integrations were detected. This section populates automatically when RepoLens identifies SDK imports or API client usage in your codebase.


Documented Exports

Exported functions with JSDoc/TSDoc documentation. Documentation coverage: 82%

Function Documentation
packages/1-framework/1-core/config/src/default-contract-output-path.ts

`defaultContractOutputPath()`

Where contract emit writes the contract JSON for a config that names contractPath and sets no output: beside the contract file and named after it, or contract.json in the static prefix directory of a glob.

packages/1-framework/1-core/errors/src/control.ts

`errorConfigFileNotFound()`

Config file not found or missing.

`errorConfigEvaluationFailed()`

Config module failed to evaluate (syntax error, module threw during import).

`errorConfigVersionMarkerMissing()`

Config module evaluated, but its export does not carry the definePrismaConfig version marker (plain object export, or a config produced by a different defineConfig such as classic Prisma's).

`errorContractConfigMissing()`

Contract configuration missing from config.

`errorContractValidationFailed()`

Contract validation failed.

`errorFileNotFound()`

File not found.

`errorDatabaseConnectionRequired()`

Database connection is required but not provided.

`errorQueryRunnerFactoryRequired()`

Query runner factory is required but not provided in config.

`errorFamilyReadMarkerSqlRequired()`

Family verify.readMarker is required but not provided.

`errorJsonFormatNotSupported()`

JSON output format not supported.

`errorDriverRequired()`

Driver is required for DB-connected commands but not provided.

`errorContractMissingExtensions()`

Contract requires extension packs that are not provided by config descriptors.

`errorMigrationPlanningFailed()`

Migration planning failed due to conflicts.

`errorTargetMigrationNotSupported()`

Target does not support migrations (missing createPlanner/createRunner).

`errorMigrationCliConfigNotFound()`

Without --config, the migration-file CLI found no config whose migrations directory holds the migration.

`errorMigrationCliInvalidConfigArg()`

The migration-file CLI received --config without a path argument (either a bare trailing --config, or --config followed by another flag like --config --dry-run). Surfacing this as a structured error fails fast rather than silently consuming the next flag as the config path or falling back to default discovery against the wrong project.

`errorMigrationCliUnknownFlag()`

The migration-file CLI received a flag it does not recognise. Surfaced as a structured error so consumers can render their own "did you mean" suggestions from meta.knownFlags rather than parsing the message. Designed to wrap clipanion's UnknownSyntaxError at the parser boundary: pass the offending token as flag and the option declarations as knownFlags.

`errorInvalidOutputFormat()`

The main CLI received an unsupported --format value.

`errorOutputFormatMutex()`

The main CLI received mutually exclusive output format flags (--format pretty together with --json).

`errorConfigValidation()`

Config validation error (missing required fields).

`errorEnumCodecNotInPackStack()`

An enum declares a codecId that no component in the contract's pack stack provides, so its member values cannot be encoded. Thrown by both authoring paths (TS defineContract and PSL interpretation) when the codec lookup built from the contract's packs has no descriptor for the codecId.

`errorUnexpected()`

Generic unexpected error.

packages/1-framework/1-core/errors/src/execution.ts

`errorMarkerMissing()`

Contract marker not found in database.

`errorHashMismatch()`

Contract hash does not match database marker.

`errorTargetMismatch()`

Contract target does not match config target.

`errorMarkerRowCorrupt()`

Marker row exists but column values fail schema validation.

`errorMarkerReadFailed()`

Driver-level failure while reading the contract marker table.

`errorMarkerRequired()`

Database marker is required but not found. Used by commands that require a pre-existing marker as a precondition.

`errorSchemaVerificationFailed()`

Schema verification found mismatches between the database and the contract. The full verification result is preserved in meta.verificationResult.

Showing 30 of 261 documented exports.


Documentation Summary:

  • Total exports: 317
  • Documented: 261
  • Undocumented: 56
  • Coverage: 82%

HTTP method reference โ€” GET: retrieve data, POST: create, PUT/PATCH: update, DELETE: remove.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Data Flows

Mixed audience ยท Major information flows through the system

Understanding Data Movement

Data flows describe how information moves through Prisma โ€” from external inputs through processing layers to storage or presentation. Understanding these flows is essential for debugging, performance optimization, and architectural decisions.

Flow Summary

5 data flows identified in the codebase:

FlowTypeComplexityCritical
control Request FlowIntegrationLow (2 steps)๐Ÿ”ด Yes
runtime Request FlowIntegrationMedium (3 steps)๐Ÿ”ด Yes
authoring Request FlowIntegrationMedium (3 steps)๐Ÿ”ด Yes
codec Request FlowIntegrationMedium (3 steps)๐Ÿ”ด Yes
components Request FlowIntegrationLow (2 steps)๐Ÿ”ด Yes

1. control Request Flow ๐Ÿ”ด CRITICAL FLOW

Description

Import chain starting from packages/1-framework/1-core/framework-components/src/exports/control โ€” traces how this entry point depends on 1 downstream module

Characteristics
PropertyValue
Steps2
Modules Involved2
CriticalityCritical
Processing Steps
StepActionPurpose
1control (entry point, imports 14 modules)Data acquisition
2tagged-literal (leaf โ€” no further dependencies)Processing step
Flow Diagram
โ”Œโ”€ START โ”€โ”
โ”‚ `control` (entry point, imports 14 modules)        โ”‚
โ”‚         โ†“
โ”‚ `tagged-literal` (leaf โ€” no further dependencies)  โ”‚
โ””โ”€ END โ”€โ”€โ”€โ”˜
Involved Modules
ModuleRole
controlUser interface components
tagged-literalUser interface components
Insights
  • โš ๏ธ Critical path โ€” Failures here have significant business impact
  • ๐Ÿ“Š Consider adding monitoring and alerting
  • ๐Ÿงช Ensure comprehensive test coverage

2. runtime Request Flow ๐Ÿ”ด CRITICAL FLOW

Description

Import chain starting from packages/1-framework/1-core/framework-components/src/exports/runtime โ€” traces how this entry point depends on 2 downstream modules

Characteristics
PropertyValue
Steps3
Modules Involved3
CriticalityCritical
Processing Steps
StepActionPurpose
1runtime (entry point, imports 13 modules)Data acquisition
2runtime-error (shared infrastructure, used by 7 files)Processing step
3runtime-error (shared infrastructure, used by 11 files)Processing step
Flow Diagram
โ”Œโ”€ START โ”€โ”
โ”‚ `runtime` (entry point, imports 13 modules)        โ”‚
โ”‚         โ†“
โ”‚ `runtime-error` (shared infrastructure, used by... โ”‚
โ”‚         โ†“
โ”‚ `runtime-error` (shared infrastructure, used by... โ”‚
โ””โ”€ END โ”€โ”€โ”€โ”˜
Involved Modules
ModuleRole
runtimeUser interface components
runtime-errorUser interface components
runtime-errorUser interface components
Insights
  • โš ๏ธ Critical path โ€” Failures here have significant business impact
  • ๐Ÿ“Š Consider adding monitoring and alerting
  • ๐Ÿงช Ensure comprehensive test coverage

3. authoring Request Flow ๐Ÿ”ด CRITICAL FLOW

Description

Import chain starting from packages/1-framework/1-core/framework-components/src/exports/authoring โ€” traces how this entry point depends on 2 downstream modules

Characteristics
PropertyValue
Steps3
Modules Involved3
CriticalityCritical
Processing Steps
StepActionPurpose
1authoring (entry point, imports 10 modules)Data acquisition
2framework-authoring (shared infrastructure, used by 5 files)Security check
3runtime-error (shared infrastructure, used by 11 files)Processing step
Flow Diagram
โ”Œโ”€ START โ”€โ”
โ”‚ `authoring` (entry point, imports 10 modules)      โ”‚
โ”‚         โ†“
โ”‚ `framework-authoring` (shared infrastructure, u... โ”‚
โ”‚         โ†“
โ”‚ `runtime-error` (shared infrastructure, used by... โ”‚
โ””โ”€ END โ”€โ”€โ”€โ”˜
Involved Modules
ModuleRole
authoringAuthentication and authorization logic
framework-authoringAuthentication and authorization logic
runtime-errorUser interface components
Insights
  • โš ๏ธ Critical path โ€” Failures here have significant business impact
  • ๐Ÿ“Š Consider adding monitoring and alerting
  • ๐Ÿงช Ensure comprehensive test coverage

4. codec Request Flow ๐Ÿ”ด CRITICAL FLOW

Description

Import chain starting from packages/1-framework/1-core/framework-components/src/exports/codec โ€” traces how this entry point depends on 2 downstream modules

Characteristics
PropertyValue
Steps3
Modules Involved3
CriticalityCritical
Processing Steps
StepActionPurpose
1codec (entry point, imports 10 modules)Data acquisition
2data-type (shared infrastructure, used by 6 files)Processing step
3runtime-error (shared infrastructure, used by 11 files)Processing step
Flow Diagram
โ”Œโ”€ START โ”€โ”
โ”‚ `codec` (entry point, imports 10 modules)          โ”‚
โ”‚         โ†“
โ”‚ `data-type` (shared infrastructure, used by 6 f... โ”‚
โ”‚         โ†“
โ”‚ `runtime-error` (shared infrastructure, used by... โ”‚
โ””โ”€ END โ”€โ”€โ”€โ”˜
Involved Modules
ModuleRole
codecUser interface components
data-typeUser interface components
runtime-errorUser interface components
Insights
  • โš ๏ธ Critical path โ€” Failures here have significant business impact
  • ๐Ÿ“Š Consider adding monitoring and alerting
  • ๐Ÿงช Ensure comprehensive test coverage

5. components Request Flow ๐Ÿ”ด CRITICAL FLOW

Description

Import chain starting from packages/1-framework/1-core/framework-components/src/exports/components โ€” traces how this entry point depends on 1 downstream module

Characteristics
PropertyValue
Steps2
Modules Involved2
CriticalityCritical
Processing Steps
StepActionPurpose
1components (entry point, imports 7 modules)Data acquisition
2runtime-error (shared infrastructure, used by 11 files)Processing step
Flow Diagram
โ”Œโ”€ START โ”€โ”
โ”‚ `components` (entry point, imports 7 modules)      โ”‚
โ”‚         โ†“
โ”‚ `runtime-error` (shared infrastructure, used by... โ”‚
โ””โ”€ END โ”€โ”€โ”€โ”˜
Involved Modules
ModuleRole
componentsUser interface components
runtime-errorUser interface components
Insights
  • โš ๏ธ Critical path โ€” Failures here have significant business impact
  • ๐Ÿ“Š Consider adding monitoring and alerting
  • ๐Ÿงช Ensure comprehensive test coverage

Import Network

The system has 280 internal import edges connecting 206 source files.

Network Topology
MetricValueMeaning
Total Edges280Direct import relationships
Hub Count0Central integration points
Avg Connections~1.4 per fileCoupling density

Flow detection uses naming conventions, import patterns, and dependency graph analysis. Enable AI enhancement with `GITHUB_TOKEN` for end-to-end flow narratives, failure mode analysis, data transformation descriptions, and performance bottleneck identification.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Architecture Diff

Mixed audience ยท Git diff analysis and impact assessment

No changes detected.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

System Map

Mixed audience ยท Visual dependency graph with explanation

What is this? This visual diagram shows how different parts of your codebase connect to each other. Arrows indicate dependencies (which modules use which).

Showing: 9 modules and 0 relationships

Source: Real import analysis


Architecture Diagram

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              ๐Ÿ—๏ธ  SYSTEM ARCHITECTURE MAP                    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โš™๏ธ  CORE LOGIC
โ”‚
โ”œโ”€โ”€ framework-components (89 files)
โ”œโ”€โ”€ contract (64 files)
โ”œโ”€โ”€ schema-ir (19 files)
โ”œโ”€โ”€ errors (9 files)
โ”œโ”€โ”€ ts-render (8 files)
โ”œโ”€โ”€ config (6 files)
โ”œโ”€โ”€ operations (4 files)
โ”œโ”€โ”€ errors (4 files)
โ””โ”€โ”€ operations (3 files)
โ”‚

Legend:
  โ†’  imports / depends on
  โ•Œโ†’ tests

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Developer Onboarding

Engineers ยท Quick start guide for new developers

Welcome to Prisma! ๐Ÿ‘‹

This guide will help you get up to speed quickly. Prisma is a general-purpose tools project built with TypeScript, Node.js, containing 9 modules across 206 files.

What You'll Learn
  1. โœ… Repository structure and organization
  2. โœ… Technology stack and tools
  3. โœ… Key modules to understand first
  4. โœ… How data flows through the system
  5. โœ… How to start contributing

Quick Reference Card

AspectDetails
LanguagesTypeScript, Node.js
Frameworksgeneral-purpose tools
Build ToolsTurborepo
TestingVitest
Size9 modules, 206 files
Domains4 functional areas
TypeCommand-line interface

Repository Structure

Understanding the directory layout is your first step to navigating the codebase:

DirectoryPurposeStart Here?
packages/1-framework/1-coreProject filesโ€”
packages/2-sql/1-coreProject filesโ€”
Where to Begin

Start by exploring the main src/ directory or look for entry point files like index.js, main.js, or app.js.


Technology Stack

LayerTechnologiesWhat to Learn
LanguageTypeScript, Node.jsStrong typing โ€” check types when debugging
BuildTurborepoUnderstand the build pipeline
TestingVitestRun existing tests to understand behavior

Core Modules to Understand

These are the most important modules by size and centrality. Understanding them will unlock the rest of the codebase:

PriorityModuleFilesTypeWhy It Matters
โญ Highpackages/1-framework/1-core/framework-components89UI ComponentsUser experience โ€” see visible behavior
โญ Highpackages/2-sql/1-core/contract64coreLarge module โ€” core functionality
โญ Highpackages/2-sql/1-core/schema-ir19coreKey system component
Mediumpackages/1-framework/1-core/errors9coreKey system component
Mediumpackages/1-framework/1-core/ts-render8coreKey system component
Mediumpackages/1-framework/1-core/config6configKey system component
Lowpackages/1-framework/1-core/operations4coreKey system component
Lowpackages/2-sql/1-core/errors4coreKey system component
Lowpackages/2-sql/1-core/operations3coreKey system component

How Data Flows

Understanding these flows helps you see how the system processes information end-to-end:

FlowDescriptionKey Modules
control Request FlowImport chain starting from `packages/1-framework/1-core/fram...control, tagged-literal
runtime Request FlowImport chain starting from `packages/1-framework/1-core/fram...runtime, runtime-error
authoring Request FlowImport chain starting from `packages/1-framework/1-core/fram...authoring, framework-authoring
codec Request FlowImport chain starting from `packages/1-framework/1-core/fram...codec, data-type
components Request FlowImport chain starting from `packages/1-framework/1-core/fram...components, runtime-error

Debugging tip: When investigating issues, trace the data flow from input to output to identify where problems occur.


Getting Started Checklist

Follow these steps to set up your development environment:

1. Clone and Install
git clone <repository-url>
cd prisma
npm install  # or yarn, pnpm
2. Explore the Structure
  • Review the directory structure above
  • Open the README.md for project-specific instructions
  • Look for CONTRIBUTING.md for contribution guidelines
3. Understand Core Modules

Start with the high-priority modules listed above. Read the code and comments to understand:

  • What problem each module solves
  • How modules interact with each other
  • What data structures are used
4. Run the Tests
npm test  # or: npx vitest run

Running tests helps you:

  • Verify your setup is correct
  • See expected behavior documented in test cases
  • Understand module interfaces through test examples
5. Make Your First Change

Start small:

  1. Find a small bug or typo to fix
  2. Make the change in a feature branch
  3. Run tests to ensure nothing breaks
  4. Submit a pull request for review

Common Pitfalls

New contributors often run into these issues:

  • Environment setup โ€” Check for .env.example files and ensure you have all required environment variables.
  • Branch naming โ€” Follow the team's branch naming conventions (usually feature/, fix/, docs/).

Additional Resources

ResourcePurpose
README.mdProject overview and quick start
CONTRIBUTING.mdContribution guidelines (if exists)
CHANGELOG.mdRecent changes and release history
package.jsonAvailable scripts and dependencies

This onboarding guide was generated from comprehensive repository analysis. Enable AI enhancement with `GITHUB_TOKEN` for narrative walkthroughs, common pitfall documentation, debugging tips, architecture deep-dives, and personalized contribution recommendations.

Welcome to the team! Happy coding! ๐Ÿš€

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

GraphQL Schema

Engineers ยท GraphQL types, queries, mutations, and resolver map

No GraphQL schema was detected in this repository.

RepoLens scans for .graphql and .gql schema files, inline SDL via tagged template literals (e.g. gql\...\``), resolver patterns, and popular GraphQL libraries including Apollo, Yoga, Nexus, Pothos, Mercurius, type-graphql, Relay, and urql.

If your project uses GraphQL, ensure the relevant source directories are included in your scan.include configuration.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

TypeScript Type Graph

Engineers ยท TypeScript interfaces, types, classes, and relationships

117 file(s) with type declarations ยท 279 interface(s) ยท 253 type alias(es) ยท 30 class(es) ยท 238 relationship(s)

This document maps the type system of the project, showing how interfaces, classes, and type aliases relate to one another. Understanding these relationships helps navigate the codebase and identify coupling between modules.

Interfaces

279 interfaces define the data contracts used across the application:

InterfaceExtendsSource
ContractConfigโ€”packages/1-framework/1-core/config/src/config-types.ts
FormatterConfigโ€”packages/1-framework/1-core/config/src/config-types.ts
ContractSourceDiagnosticPositionโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceDiagnosticSpanโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceDiagnosticโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceDiagnosticsโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceContextโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceProviderBaseโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
PslParserOptionsโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
PslContractSourceProviderContractSourceProviderBasepackages/1-framework/1-core/config/src/contract-source-types.ts
TypeScriptContractSourceProviderContractSourceProviderBasepackages/1-framework/1-core/config/src/contract-source-types.ts
CliErrorEnvelopeโ€”packages/1-framework/1-core/errors/src/control.ts
CliErrorConflictโ€”packages/1-framework/1-core/errors/src/control.ts
CheckedMigrationConfigโ€”packages/1-framework/1-core/errors/src/control.ts
PslSourceSettingsโ€”packages/1-framework/1-core/framework-components/src/control/control-capabilities.ts
PslContractDocumentโ€”packages/1-framework/1-core/framework-components/src/control/control-capabilities.ts
OperationPreviewCapableโ€”packages/1-framework/1-core/framework-components/src/control/control-capabilities.ts
SchemaSubjectClassifierCapableโ€”packages/1-framework/1-core/framework-components/src/control/control-capabilities.ts
ControlDriverConnectOptionsโ€”packages/1-framework/1-core/framework-components/src/control/control-descriptors.ts
MigrationMetadataโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
PlanOriginโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationOperationPolicyโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlanOperationโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
OpFactoryCallโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlanโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlanWithAuthoringSurfaceMigrationPlanpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlannerConflictโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlannerSuccessResultMigrationPlanSubjectspackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlannerFailureResultโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerPerSpaceSuccessValueโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerSuccessValueโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
FailedCheckโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerFailureStructuredErrorpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerFailureMetaโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
RowsWithoutValueโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
FailedTypeChangeOfโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
FailedCastFailedTypeChangeOfpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
FailedConversionFailedTypeChangeOfpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerExecutionChecksโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
SchemaEntityCoordinateโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
SchemaOwnershipโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationScaffoldContextโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
OperationPreviewStatementโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-preview.ts
OperationPreviewโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-preview.ts
OperationContextโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
VerifyDatabaseResultโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
VerifyDatabaseSchemaResultโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
EmitContractResultโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
MarkerHashesโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
SpaceToSignโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
SpaceMarkerConflictโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
SchemaTreeNodeOptionsโ€”packages/1-framework/1-core/framework-components/src/control/control-schema-view.ts
CoreSchemaViewโ€”packages/1-framework/1-core/framework-components/src/control/control-schema-view.ts
ContractSpaceHeadRefโ€”packages/1-framework/1-core/framework-components/src/control/control-spaces.ts
MigrationPackageโ€”packages/1-framework/1-core/framework-components/src/control/control-spaces.ts
AssembledAuthoringContributionsโ€”packages/1-framework/1-core/framework-components/src/control/control-stack.ts
HelperCodecInvariantInputโ€”packages/1-framework/1-core/framework-components/src/control/control-stack.ts
DependencyDeclaringDescriptorโ€”packages/1-framework/1-core/framework-components/src/control/control-stack.ts
GenerateContractTypesOptionsโ€”packages/1-framework/1-core/framework-components/src/control/emission-types.ts
EmissionSpiโ€”packages/1-framework/1-core/framework-components/src/control/emission-types.ts
ModelCoordinateโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
FieldCoordinateModelCoordinatepackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ResolvedModelRenameStatementโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ResolvedFieldRenameStatementโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ResolvedFieldConvertStatementโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ResolvedFieldBackfillStatementโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationOperationSubjectโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationAccessChangeMigrationOperationSubjectpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationDataLossMigrationOperationSubjectpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationTemporaryValueMigrationOperationSubjectpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
AppliedMigrationStatementโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ModelCoordinateJsonโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
FieldCoordinateJsonModelCoordinateJsonpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
PslDiagnosticโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslDefaultFunctionValueโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslDefaultLiteralValueโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslAttributePositionalArgumentโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslAttributeNamedArgumentโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslTypeConstructorCallโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslAttributeโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslFieldโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslUniqueConstraintโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslIndexConstraintโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslModelโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslCompositeTypeโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslNamedTypeDeclarationโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslTypesBlockโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslNamespaceโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslDocumentAstโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
MismatchExplanationโ€”packages/1-framework/1-core/framework-components/src/control/schema-diff.ts
DiffableNodeโ€”packages/1-framework/1-core/framework-components/src/control/schema-diff.ts
SchemaVerifyResultโ€”packages/1-framework/1-core/framework-components/src/control/schema-verifier.ts
ActivityParentโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
ActivityChildโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
ActivityChildSlotโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
ActivityChildrenOptionsโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
ActivityStateStoreโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
LifecycleHooksโ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
RuntimeMutationDefaultGeneratorโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
MutationDefaultGeneratorContributorโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
MutationDefaultsOptionsโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
AppliedMutationDefaultโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
MutationDefaultsโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
RuntimeLogโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityBaseโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
TransactionActivityActivityBasepackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ClientActivityRegistryโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ClientActivityRegistryRecord, never>packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityContextโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
TransactionEndedโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityFinalizedResultโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
QueryInterceptResultโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityInterceptResultโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ExecuteInterceptResultโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityObserverโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
RuntimeExecuteOptionsโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
RuntimeStatementStatsโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
IRNodeโ€”packages/1-framework/1-core/framework-components/src/ir/ir-node.ts
NamespaceIRNode, StorageNamespacepackages/1-framework/1-core/framework-components/src/ir/namespace.ts
StorageTypeIRNodepackages/1-framework/1-core/framework-components/src/ir/storage-type.ts
EntityCoordinateโ€”packages/1-framework/1-core/framework-components/src/ir/storage.ts
StorageIRNodepackages/1-framework/1-core/framework-components/src/ir/storage.ts
NamedAggregateOutputโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
SelfAggregateOutputโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AggregateCodecTraitsโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-overloads.ts
AggregateOverloadAmbiguityโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-overloads.ts
AuthoringTypeConstructorCallโ€”packages/1-framework/1-core/framework-components/src/shared/authoring-type-constructor-call.ts
CodecRefโ€”packages/1-framework/1-core/framework-components/src/shared/codec-types.ts
CodecCallContextโ€”packages/1-framework/1-core/framework-components/src/shared/codec-types.ts
CodecLookupโ€”packages/1-framework/1-core/framework-components/src/shared/codec-types.ts
CodecLookupWithDescriptorsCodecLookuppackages/1-framework/1-core/framework-components/src/shared/codec-types.ts
CodecRegistryCodecLookupWithDescriptorspackages/1-framework/1-core/framework-components/src/shared/codec-types.ts
CodecInstanceContextโ€”packages/1-framework/1-core/framework-components/src/shared/codec-types.ts
DataTypeComponentโ€”packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts
DataTypeAssemblyInputโ€”packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts
ContributedHelperโ€”packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts
AssembledDataTypeSupportโ€”packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts
ListCastโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeSpecโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeLookupโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeParamsProblemโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
EnumBlockMemberโ€”packages/1-framework/1-core/framework-components/src/shared/enum-block-members.ts
EnumBlockDiagnosticโ€”packages/1-framework/1-core/framework-components/src/shared/enum-block-members.ts
EnumBlockSiteโ€”packages/1-framework/1-core/framework-components/src/shared/enum-block-members.ts
DecodedEnumโ€”packages/1-framework/1-core/framework-components/src/shared/enum-members.ts
EncodedEnumMemberโ€”packages/1-framework/1-core/framework-components/src/shared/enum-members.ts
CodecRefusedMemberโ€”packages/1-framework/1-core/framework-components/src/shared/enum-members.ts
MemberNotStoredAsWrittenโ€”packages/1-framework/1-core/framework-components/src/shared/enum-members.ts
StoredEnumMemberโ€”packages/1-framework/1-core/framework-components/src/shared/enum-stored-members.ts
DuplicateStoredValueโ€”packages/1-framework/1-core/framework-components/src/shared/enum-stored-members.ts
AuthoringSelectRefโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringArgumentDescriptorCommonโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
ValueArgumentKindโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringStorageTypeTemplateโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringTypeConstructorEntityRefโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringTypeConstructorDescriptorโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringColumnDefaultTemplateLiteralโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringColumnDefaultTemplateFunctionโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringExecutionDefaultsTemplateโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringFieldPresetOutputAuthoringStorageTypeTemplatepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringFieldPresetDescriptorโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringDiagnosticSinkโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringWarningโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringWarningSinkโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringEntityContextโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringEntityTypeTemplateOutputโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringPslBlockDescriptorโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringModelAttributeContextAuthoringEntityContextpackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringModelAttributeEntityOutputโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringModelAttributeIndexOutputโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringAttributeSpecContributionsโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
DataTypeAuthoringEntryโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringContributionsโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
ScalarTypeConstructorOutputโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
DescriptorEntryโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
PslBlockDescriptorEntryDescriptorEntrypackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringTypeParamsIssueโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
ComponentMetadataโ€”packages/1-framework/1-core/framework-components/src/shared/framework-components.ts
ContractComponentRequirementsCheckInputโ€”packages/1-framework/1-core/framework-components/src/shared/framework-components.ts
ContractComponentRequirementsCheckResultโ€”packages/1-framework/1-core/framework-components/src/shared/framework-components.ts
GeneratorFunctionFieldโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionCallโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
PrintedArgumentsโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionBindingโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionContributionโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionSummaryโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
PrintedGeneratorCallโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionRegistryโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionComponentโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
DeclaredFunctionโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
OwnedBindingโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorRegistrationโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
SignatureOptionalArgumentโ€”packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
IntegerRangeโ€”packages/1-framework/1-core/framework-components/src/shared/json-readers.ts
BigIntRangeโ€”packages/1-framework/1-core/framework-components/src/shared/json-readers.ts
SourcePositionโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
SourceSpanโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
SourceDiagnosticโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
DefaultFunctionLoweringContextโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
MutationDefaultGeneratorDescriptorโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
TypedDefaultFunctionCallโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
ControlMutationDefaultEntryโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
ControlMutationDefaultsโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
AssembledControlMutationDefaultsControlMutationDefaultspackages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
AuthoringOptionโ€”packages/1-framework/1-core/framework-components/src/shared/option-descriptor.ts
PslPositionโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslSpanโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslExtensionBlockPrintEntryโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslExtensionBlockAttributeArgโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslExtensionBlockAttributeโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslExtensionBlockParsedAttributeโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
PslExtensionBlockโ€”packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
RuntimeErrorEnvelopeErrorpackages/1-framework/1-core/framework-components/src/shared/runtime-error.ts
Lineโ€”packages/1-framework/1-core/framework-components/src/shared/tagged-literal.ts
TypesImportSpecโ€”packages/1-framework/1-core/framework-components/src/shared/types-import-spec.ts
DataTypeSupportโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
RefusalDescriptionโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
RefusalGuidanceโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
FoundEntryโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
ParamSpecโ€”packages/1-framework/1-core/operations/src/index.ts
ReturnSpecโ€”packages/1-framework/1-core/operations/src/index.ts
OperationEntryโ€”packages/1-framework/1-core/operations/src/index.ts
NamedBindingโ€”packages/1-framework/1-core/ts-render/src/render-imports.ts
ModuleImportGroupโ€”packages/1-framework/1-core/ts-render/src/render-imports.ts
ImportRequirementโ€”packages/1-framework/1-core/ts-render/src/ts-expression.ts
NumberClassificationโ€”packages/2-sql/1-core/contract/src/data-type-support.ts
IntegerStepNumberClassificationpackages/2-sql/1-core/contract/src/data-type-support.ts
NumberClassifierSpecโ€”packages/2-sql/1-core/contract/src/data-type-support.ts
DateTimeStoredTextOptionsโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
DateFieldsโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
TimeFieldsโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
WrittenDateTimeโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
Normalizedโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
PackEntityHandleโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
ResolvedPackEntityHandleโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
EntityHandleLoweringInputโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
LoweredPackEntityโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
SqlEntityHandleLoweringContributionโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
SqlPslEntityPlacementOutputโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
ForeignKeyAuthoringInputโ€”packages/2-sql/1-core/contract/src/foreign-key-materialization.ts
MaterializedTableConstraintsโ€”packages/2-sql/1-core/contract/src/foreign-key-materialization.ts
IndexCandidateโ€”packages/2-sql/1-core/contract/src/index-deduplication.ts
DeduplicatedIndexesโ€”packages/2-sql/1-core/contract/src/index-deduplication.ts
IndexTypeRegistryโ€”packages/2-sql/1-core/contract/src/index-types.ts
IndexTypeRegistrantโ€”packages/2-sql/1-core/contract/src/index-types.ts
ResolvedStorageTableโ€”packages/2-sql/1-core/contract/src/resolve-storage-table.ts
SerializedCheckConstraintโ€”packages/2-sql/1-core/contract/src/serialized-check-constraint.ts
SqlTypeTextโ€”packages/2-sql/1-core/contract/src/sql-data-type.ts
ResolvedSqlTypeโ€”packages/2-sql/1-core/contract/src/sql-data-type.ts
SqlColumnTypeFieldsโ€”packages/2-sql/1-core/contract/src/sql-data-type.ts
SqlDataTypeCollisionโ€”packages/2-sql/1-core/contract/src/sql-data-type.ts
SqlExpressionRegistrationโ€”packages/2-sql/1-core/contract/src/sql-expression.ts
QueryOperationTypesFunctionโ€”packages/2-sql/1-core/contract/src/types.ts
ValidateSqlContractFullyOptionsโ€”packages/2-sql/1-core/contract/src/validators.ts
SqlValueSetDerivingEntityTypeOutputโ€”packages/2-sql/1-core/contract/src/value-set-derivation-hook.ts
CheckConstraintInputโ€”packages/2-sql/1-core/contract/src/ir/check-constraint.ts
ForeignKeyReferenceInputโ€”packages/2-sql/1-core/contract/src/ir/foreign-key-reference.ts
ForeignKeyInputโ€”packages/2-sql/1-core/contract/src/ir/foreign-key.ts
PrimaryKeyInputโ€”packages/2-sql/1-core/contract/src/ir/primary-key.ts
SqlNamespaceInputโ€”packages/2-sql/1-core/contract/src/ir/sql-storage.ts
SqlAuthoringContributionsAuthoringContributionspackages/2-sql/1-core/contract/src/ir/sql-storage.ts
SqlNamespaceโ€”packages/2-sql/1-core/contract/src/ir/sql-storage.ts
StorageTableInputโ€”packages/2-sql/1-core/contract/src/ir/storage-table.ts
StorageTypeInstanceStorageTypepackages/2-sql/1-core/contract/src/ir/storage-type-instance.ts
StorageValueSetInputโ€”packages/2-sql/1-core/contract/src/ir/storage-value-set.ts
UniqueConstraintInputโ€”packages/2-sql/1-core/contract/src/ir/unique-constraint.ts
SqlLoweringSpecโ€”packages/2-sql/1-core/operations/src/index.ts
WireNameโ€”packages/2-sql/1-core/schema-ir/src/naming.ts
IndexContentHashPartsโ€”packages/2-sql/1-core/schema-ir/src/naming.ts
PrimaryKeyInputโ€”packages/2-sql/1-core/schema-ir/src/ir/primary-key.ts
SqlCheckConstraintIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-check-constraint-ir.ts
SqlColumnDefaultIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts
ReportedSqlTypeโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts
SqlColumnIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts
SqlForeignKeyIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts
SqlSchemaIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-schema-ir.ts
SqlTableIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-table-ir.ts
SqlUniqueIRInputโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-unique-ir.ts

Classes

30 classes provide concrete implementations:

ClassExtendsImplementsSource
CliStructuredErrorErrorStructuredErrorpackages/1-framework/1-core/errors/src/control.ts
SchemaTreeNodeโ€”โ€”packages/1-framework/1-core/framework-components/src/control/control-schema-view.ts
PslNamespaceNodeโ€”PslNamespacepackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
ActivityChildrenโ€”โ€”packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts
IRNodeBaseโ€”IRNodepackages/1-framework/1-core/framework-components/src/ir/ir-node.ts
NamespaceBaseIRNodeBaseNamespacepackages/1-framework/1-core/framework-components/src/ir/namespace.ts
TsExpressionโ€”โ€”packages/1-framework/1-core/ts-render/src/ts-expression.ts
IndexTypeRegistryImplโ€”IndexTypeRegistrypackages/2-sql/1-core/contract/src/index-types.ts
SqlExpressionโ€”โ€”packages/2-sql/1-core/contract/src/sql-expression.ts
CheckConstraintSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/check-constraint.ts
ForeignKeyReferenceSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/foreign-key-reference.ts
ForeignKeySqlNodeโ€”packages/2-sql/1-core/contract/src/ir/foreign-key.ts
PrimaryKeySqlNodeโ€”packages/2-sql/1-core/contract/src/ir/primary-key.ts
IndexSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/sql-index.ts
SqlNodeIRNodeBaseโ€”packages/2-sql/1-core/contract/src/ir/sql-node.ts
SqlNamespaceBaseNamespaceBaseSqlNamespacepackages/2-sql/1-core/contract/src/ir/sql-storage.ts
StorageColumnSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/storage-column.ts
StorageTableSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/storage-table.ts
StorageValueSetSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/storage-value-set.ts
UniqueConstraintSqlNodeโ€”packages/2-sql/1-core/contract/src/ir/unique-constraint.ts
PrimaryKeySqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/primary-key.ts
SqlCheckConstraintIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-check-constraint-ir.ts
SqlColumnDefaultIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts
SqlColumnIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts
SqlForeignKeyIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts
SqlIndexIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts
SqlSchemaIRNodeIRNodeBaseโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-schema-ir-node.ts
SqlSchemaIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-schema-ir.ts
SqlTableIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-table-ir.ts
SqlUniqueIRSqlSchemaIRNodeDiffableNodepackages/2-sql/1-core/schema-ir/src/ir/sql-unique-ir.ts

Type Aliases

253 type aliases define computed or composite types:

TypeReferencesSource
CliDriverControlDriverInstancepackages/1-framework/1-core/config/src/config-types.ts
ContractSourceFormatโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
PslGrammarโ€”packages/1-framework/1-core/config/src/contract-source-types.ts
ContractSourceProviderPslContractSourceProvider, TypeScriptContractSourceProviderpackages/1-framework/1-core/config/src/contract-source-types.ts
OperationKindโ€”packages/1-framework/1-core/framework-components/src/annotations.ts
AnnotationSourceReadonlyMappackages/1-framework/1-core/framework-components/src/annotations.ts
DiffSubjectGranularityโ€”packages/1-framework/1-core/framework-components/src/control/control-capabilities.ts
MigrationOperationClassโ€”packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationPlannerResultMigrationPlannerSuccessResult, MigrationPlannerFailureResultpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
FailedTypeChangeFailedCast, FailedConversionpackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
MigrationRunnerResultResult, MigrationRunnerSuccessValue, MigrationRunnerFailurepackages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
SpaceSignedโ€”packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
SpaceSignatureSpaceSigned, SpaceMarkerConflictpackages/1-framework/1-core/framework-components/src/control/control-operation-results.ts
SchemaViewNodeKindโ€”packages/1-framework/1-core/framework-components/src/control/control-schema-view.ts
ResolvedRenameStatementResolvedModelRenameStatement, ResolvedFieldRenameStatementpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
ResolvedMigrationStatementResolvedRenameStatement, ResolvedFieldConvertStatement, ResolvedFieldBackfillStatementpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationSubjectModelCoordinate, FieldCoordinatepackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationDataLossKindโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationStatementJsonโ€”packages/1-framework/1-core/framework-components/src/control/migration-statements.ts
MigrationSubjectJsonModelCoordinateJson, FieldCoordinateJsonpackages/1-framework/1-core/framework-components/src/control/migration-statements.ts
OrderNodeSchemaDiffIssue, TNodepackages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts
PslDefaultValuePslDefaultFunctionValue, PslDefaultLiteralValuepackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslAttributeTargetโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslAttributeArgumentPslAttributePositionalArgument, PslAttributeNamedArgumentpackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslReferentialActionโ€”packages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslFieldAttributePslAttributepackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslModelAttributePslAttributepackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
PslNamespaceEntryPslModel, PslCompositeType, PslExtensionBlockpackages/1-framework/1-core/framework-components/src/control/psl-ast.ts
SchemaNodeRefโ€”packages/1-framework/1-core/framework-components/src/control/schema-diff.ts
MismatchCauseโ€”packages/1-framework/1-core/framework-components/src/control/schema-diff.ts
ExpectationFailureReasonโ€”packages/1-framework/1-core/framework-components/src/control/schema-diff.ts
VerificationStatusโ€”packages/1-framework/1-core/framework-components/src/control/verifier-disposition.ts
VerifierOutcomeVerificationStatuspackages/1-framework/1-core/framework-components/src/control/verifier-disposition.ts
VerifierIssueCategoryโ€”packages/1-framework/1-core/framework-components/src/control/verifier-disposition.ts
GeneratorStabilityโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
MutationDefaultsOpโ€”packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts
RowResultType, P, Rpackages/1-framework/1-core/framework-components/src/execution/query-plan.ts
RuntimeAbortedPhaseโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-error.ts
ClientActivityKindโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ClientActivityResultK, ClientActivityRegistry, Rpackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityStatementActivity, TransactionActivity, ClientActivitypackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityContextFieldsTContextpackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
StatementEndedโ€”packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ActivityEndedResultTransactionEnded, StatementEnded, ClientActivityEndedpackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
ParamRefMutatorPARAM_REF_MUTATOR_BRANDpackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
CrossFamilyMiddlewareRuntimeMiddleware, TPlanpackages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts
RelationNamesOfRel, Mpackages/1-framework/1-core/framework-components/src/execution/shape.ts
RelM, RelationKeys, R, Extractpackages/1-framework/1-core/framework-components/src/execution/shape.ts
ScalarsM, RelationKeys, Relpackages/1-framework/1-core/framework-components/src/execution/shape.ts
ShapeShapeOf, M, Specpackages/1-framework/1-core/framework-components/src/execution/shape.ts
ShapeSpecK, Spec, Exclude, PlusNames, M, ScalarNamesOf, RelationNamesOf, ShapeSpec, RelatedModel, UnknownSpecKeypackages/1-framework/1-core/framework-components/src/execution/shape.ts
PlusNamesSpec, RelationNamesOf, M, ScalarNamesOfpackages/1-framework/1-core/framework-components/src/execution/shape.ts
UnknownSpecKeyRelationNamesOf, M, Kpackages/1-framework/1-core/framework-components/src/execution/shape.ts
ScalarNamesOfM, Scalarspackages/1-framework/1-core/framework-components/src/execution/shape.ts
RelatedModelM, K, UnwrapRelationpackages/1-framework/1-core/framework-components/src/execution/shape.ts
UnwrapRelationV, Item, NonNullablepackages/1-framework/1-core/framework-components/src/execution/shape.ts
ShapeOfShapeOfEach, M, Spec, PlusNamesAScalarpackages/1-framework/1-core/framework-components/src/execution/shape.ts
PlusNamesAScalarSpec, Keep, Extract, ScalarNamesOf, Mpackages/1-framework/1-core/framework-components/src/execution/shape.ts
ShapeOfEachM, Flatten, KeptScalars, Spec, Narrow, K, IncludedRelations, WrapLike, ShapeOf, RelatedModel, NestedSpecpackages/1-framework/1-core/framework-components/src/execution/shape.ts
KeptScalarsNarrow, Spec, Keep, Scalars, M, Extract, Drop, PropertyKeypackages/1-framework/1-core/framework-components/src/execution/shape.ts
IncludedRelationsExtract, Spec, Keep, RelationNamesOf, Mpackages/1-framework/1-core/framework-components/src/execution/shape.ts
NestedSpecK, Specpackages/1-framework/1-core/framework-components/src/execution/shape.ts
WrapLikeV, Rpackages/1-framework/1-core/framework-components/src/execution/shape.ts
FlattenK, Tpackages/1-framework/1-core/framework-components/src/execution/shape.ts
TransactionSettlementโ€”packages/1-framework/1-core/framework-components/src/execution/transaction-activity.ts
DefaultNamespaceEntriesTStorage, UNBOUND_NAMESPACE_ID, Epackages/1-framework/1-core/framework-components/src/ir/contract-view.ts
SingleNamespaceViewK, TBuiltinKinds, TEntries, NonNullablepackages/1-framework/1-core/framework-components/src/ir/contract-view.ts
EntriesOfTNamespace, Epackages/1-framework/1-core/framework-components/src/ir/contract-view.ts
NamespacedEntitiesNs, TStorage, SingleNamespaceView, EntriesOf, TBuiltinKindspackages/1-framework/1-core/framework-components/src/ir/contract-view.ts
AnyEntityKindDescriptorEntityKindDescriptorpackages/1-framework/1-core/framework-components/src/ir/entity-kind.ts
AggregateInputMatchโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AggregateOutputCodecSelfAggregateOutput, NamedAggregateOutputpackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AggregateResultNullabilityโ€”packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AggregateDescriptorBaseAggregateResultNullability, Thepackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
NoInputAggregateDescriptorAggregateDescriptorBasepackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AnyInputAggregateDescriptorAggregateDescriptorBasepackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
ValueInputAggregateDescriptorAggregateDescriptorBasepackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AggregateDescriptorNoInputAggregateDescriptor, AnyInputAggregateDescriptor, ValueInputAggregateDescriptorpackages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts
AuthoringTypeConstructorOutputReturnTypepackages/1-framework/1-core/framework-components/src/shared/authoring-type-constructor-call.ts
CapabilityMatrixโ€”packages/1-framework/1-core/framework-components/src/shared/capabilities.ts
AnyCodecDescriptorTemplateCodecDescriptorTemplatepackages/1-framework/1-core/framework-components/src/shared/codec-descriptor.ts
AnyCodecDescriptorCodecDescriptorpackages/1-framework/1-core/framework-components/src/shared/codec-descriptor.ts
CodecTraitCODEC_TRAITSpackages/1-framework/1-core/framework-components/src/shared/codec-types.ts
ColumnTypeDescriptorTCodecIdpackages/1-framework/1-core/framework-components/src/shared/column-spec.ts
EntityRefโ€”packages/1-framework/1-core/framework-components/src/shared/column-spec.ts
AuthoringTreeD, AuthoringTreepackages/1-framework/1-core/framework-components/src/shared/data-type-support.ts
DataTypeIdDataTypeIdpackages/1-framework/1-core/framework-components/src/shared/data-type.ts
CastJsonValuepackages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeParamsโ€”packages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeValueDataTypeValueRecord, Jpackages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeReaderJsonValue, DataTypeParamspackages/1-framework/1-core/framework-components/src/shared/data-type.ts
DataTypeSpellingJsonValue, DataTypeParamspackages/1-framework/1-core/framework-components/src/shared/data-type.ts
SchemaPropPropertyKeypackages/1-framework/1-core/framework-components/src/shared/data-type.ts
EnumMemberProblemโ€”packages/1-framework/1-core/framework-components/src/shared/enum-members.ts
EnumInferredMemberTypeโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringArgRefโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringTemplateValueAuthoringArgRef, AuthoringSelectRef, AuthoringTemplateValuepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringArgumentDescriptorAuthoringArgumentDescriptorCommon, ValueArgumentKindpackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringValueArgumentExtract, AuthoringArgumentDescriptorpackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringColumnDefaultTemplateAuthoringColumnDefaultTemplateLiteral, AuthoringColumnDefaultTemplateFunctionpackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringTypeNamespaceAuthoringTypeConstructorDescriptor, AuthoringTypeNamespacepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringFieldNamespaceAuthoringFieldPresetDescriptor, AuthoringFieldNamespacepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
WrittenValueReadingโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringEntityTypeNamespaceAuthoringEntityTypeDescriptor, AuthoringEntityTypeNamespacepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringPslBlockDescriptorNamespaceAuthoringPslBlockDescriptor, AuthoringPslBlockDescriptorNamespacepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringModelAttributeLoweringOutputAuthoringModelAttributeEntityOutput, AuthoringModelAttributeIndexOutputpackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringModelAttributeDescriptorNamespaceAuthoringModelAttributeDescriptor, AuthoringModelAttributeDescriptorNamespacepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
DataTypeWrittenFormโ€”packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
AuthoringNamespaceTreeD, AuthoringNamespaceTreepackages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts
CodecTypesExample, Vector, N, ReadonlyArray, TypesImportSpecpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
FamilyPackRefPackRefBase, TFamilyIdpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
TargetPackRefPackRefBase, TFamilyId, TTargetIdpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
AdapterPackRefPackRefBase, TFamilyId, TTargetIdpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
ExtensionPackRefPackRefBase, TFamilyId, TTargetIdpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
DriverPackRefPackRefBase, TFamilyId, TTargetIdpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
TargetBoundComponentDescriptorTargetDescriptor, TFamilyId, TTargetId, AdapterDescriptor, DriverDescriptor, ExtensionDescriptorpackages/1-framework/1-core/framework-components/src/shared/framework-components.ts
GeneratorPhaseโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
BindingResolutionโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
GeneratorFunctionResolutionโ€”packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts
ArgumentOutType, SignatureArgumentOutput, Out, Excludepackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
PositionalArgumentsParams, Head, Rest, Type, SignatureOptionalArgument, ArgumentOut, PositionalArgumentspackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
SignatureObjectSignature, Builtpackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
GeneratorHelperSignatureObject, Signature, Params, PositionalArguments, GeneratorFunctionCallpackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
ContributionsOfComponent, Contributionspackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
DeclaredContributionpackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
ExtensionPackValuesExtensions, Packpackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
GeneratorHelpersOfContribution, Declared, ContributionsOf, Component, GeneratorHelperpackages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts
ImportSpecifierResolverโ€”packages/1-framework/1-core/framework-components/src/shared/import-specifier-resolver.ts
LoweredDefaultValueโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
LoweredDefaultResultโ€”packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
ControlMutationDefaultRegistryReadonlyMap, ControlMutationDefaultEntrypackages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts
PslDiagnosticCodePSL_UNTERMINATED_BLOCK, PSL_UNSUPPORTED_TOP_LEVEL_BLOCK, PSL_INVALID_NAMESPACE_BLOCK, PSL_INVALID_ATTRIBUTE_SYNTAX, PSL_INVALID_MODEL_MEMBER, PSL_UNSUPPORTED_MODEL_ATTRIBUTE, PSL_UNSUPPORTED_FIELD_ATTRIBUTE, PSL_INVALID_RELATION_ATTRIBUTE, PSL_INVALID_REFERENTIAL_ACTION, PSL_INVALID_DEFAULT_VALUE, PSL_INVALID_ENUM_MEMBER, PSL_INVALID_TYPES_MEMBER, PSL_INVALID_QUALIFIED_TYPE, A, PSL_INVALID_QUALIFIED_NAME, The, PSL_INVALID_DECLARATION, Replaces, PSL_INVALID_EXTENSION_BLOCK_MEMBER, JS, ObjectLiteralExpr, PSL_INVALID_OBJECT_LITERAL, EOF, PSL_UNTERMINATED_STRINGpackages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
ContributedPslDiagnosticCodePSL_packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts
TaggedLiteralCanonicalizationโ€”packages/1-framework/1-core/framework-components/src/shared/tagged-literal.ts
PresetStorageTemplateScalarTypeConstructorOutput, AuthoringStorageTypeTemplatepackages/1-framework/1-core/framework-components/src/shared/temporal-presets.ts
WrittenValueโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
WrittenScalarExclude, WrittenValuepackages/1-framework/1-core/framework-components/src/shared/written-value.ts
ReadRefusalโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
CastRefusalโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
WrittenFormโ€”packages/1-framework/1-core/framework-components/src/shared/written-value.ts
ContractCodeCONTRACT, ContractSubcodepackages/1-framework/1-core/operations/src/contract-errors.ts
ContractSubcodePACK_CONTRIBUTION_INVALIDpackages/1-framework/1-core/operations/src/contract-errors.ts
SelfSpecโ€”packages/1-framework/1-core/operations/src/index.ts
OperationDescriptorTpackages/1-framework/1-core/operations/src/index.ts
OperationDescriptorsOperationDescriptor, Tpackages/1-framework/1-core/operations/src/index.ts
ContractCodeCONTRACT, ContractSubcodepackages/1-framework/1-core/ts-render/src/contract-errors.ts
ContractSubcodePACK_CONTRIBUTION_INVALIDpackages/1-framework/1-core/ts-render/src/contract-errors.ts
JsonValueJsonValue, JsonObjectpackages/1-framework/1-core/ts-render/src/json-to-ts-source.ts
JsonObjectJsonValuepackages/1-framework/1-core/ts-render/src/json-to-ts-source.ts
AuthoredCheckInputโ€”packages/2-sql/1-core/contract/src/authored-check-naming.ts
StorageColumnMapAtSCT, NsId, TableNamepackages/2-sql/1-core/contract/src/column-type-resolution.ts
StorageColumnTypeAcrossNamespacesNs, SCT, TableName, ColumnNamepackages/2-sql/1-core/contract/src/column-type-resolution.ts
ContractCodeCONTRACT, ContractSubcodepackages/2-sql/1-core/contract/src/contract-errors.ts
ContractSubcodeARGUMENT_INVALID, CODEC_DESCRIPTOR_MISSING, DATA_TYPE_UNREGISTERED, INDEX_INVALID, PACK_CONTRIBUTION_INVALID, SQL_EXPRESSION_INTERPOLATION, SQL_EXPRESSION_INVALID, TABLE_AMBIGUOUS, TYPE_PARAMS_INVALID, VALIDATION_FAILEDpackages/2-sql/1-core/contract/src/contract-errors.ts
SqlBuiltinKindSQL_BUILTIN_KINDSpackages/2-sql/1-core/contract/src/contract-view.ts
DateTimeShapeโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
Positionโ€”packages/2-sql/1-core/contract/src/date-time-stored-form.ts
ResolvedEntityHandleRefโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
ResolvedPslModelRefsโ€”packages/2-sql/1-core/contract/src/entity-handle-lowering-hook.ts
HydratableStorageTableStorageTableInput, ReadonlyArray, Index, SerializedIndexpackages/2-sql/1-core/contract/src/entity-kinds.ts
ColumnMultiplicityOptionsโ€”packages/2-sql/1-core/contract/src/factories.ts
BackingObjectServingKey, IndexCandidate, UniqueConstraintInput, PrimaryKeyInputpackages/2-sql/1-core/contract/src/index-deduplication.ts
ServingKeyโ€”packages/2-sql/1-core/contract/src/index-equivalence.ts
Keyedโ€”packages/2-sql/1-core/contract/src/index-equivalence.ts
NamedKeyKeyedpackages/2-sql/1-core/contract/src/index-equivalence.ts
AuthoredIndexElementsโ€”packages/2-sql/1-core/contract/src/index-naming.ts
AuthoredIndexMethodโ€”packages/2-sql/1-core/contract/src/index-naming.ts
AuthoredIndexInputAuthoredIndexElements, AuthoredIndexMethodpackages/2-sql/1-core/contract/src/index-naming.ts
CodecTraitsLookupโ€”packages/2-sql/1-core/contract/src/index-type-validation.ts
IndexTypeDeclarationType, TOptspackages/2-sql/1-core/contract/src/index-types.ts
IndexTypeMapKpackages/2-sql/1-core/contract/src/index-types.ts
SqlToOneRelationStorageNpackages/2-sql/1-core/contract/src/relation-storage.ts
SerializedIndexIndexElementspackages/2-sql/1-core/contract/src/serialized-index.ts
SqlTypeParamsโ€”packages/2-sql/1-core/contract/src/sql-data-type.ts
SqlRawTypeParamsโ€”packages/2-sql/1-core/contract/src/sql-raw.ts
ForeignKeyOptionsโ€”packages/2-sql/1-core/contract/src/types.ts
SqlModelFieldStorageโ€”packages/2-sql/1-core/contract/src/types.ts
SqlModelStorageโ€”packages/2-sql/1-core/contract/src/types.ts
NamespacedFieldTypeMapโ€”packages/2-sql/1-core/contract/src/types.ts
NamespacedStorageColumnTypeMapโ€”packages/2-sql/1-core/contract/src/types.ts
AggregateResultTypeโ€”packages/2-sql/1-core/contract/src/types.ts
AggregateOperationTypesAggregateResultTypepackages/2-sql/1-core/contract/src/types.ts
AggregateTypesBaseAggregateOperationTypespackages/2-sql/1-core/contract/src/types.ts
AggregateOverloadโ€”packages/2-sql/1-core/contract/src/types.ts
OverloadResultDescriptorpackages/2-sql/1-core/contract/src/types.ts
OperationsOfDescriptors, Namepackages/2-sql/1-core/contract/src/types.ts
ExactCodecIdsDescriptorspackages/2-sql/1-core/contract/src/types.ts
ExactOverloadsDescriptorspackages/2-sql/1-core/contract/src/types.ts
ClaimedTraitsDescriptorspackages/2-sql/1-core/contract/src/types.ts
TraitOverloadsDescriptorspackages/2-sql/1-core/contract/src/types.ts
InputlessOverloadExtract, Descriptors, Kindpackages/2-sql/1-core/contract/src/types.ts
OperationOverloadsCodecId, ExactCodecIds, Descriptors, OverloadResult, ExactOverloadspackages/2-sql/1-core/contract/src/types.ts
OverloadTableOperation, OperationsOf, Descriptors, OperationOverloads, Extractpackages/2-sql/1-core/contract/src/types.ts
IsUnionOfT, Wholepackages/2-sql/1-core/contract/src/types.ts
CodecTraitsOfIdCodecId, CodecTypes, Traitspackages/2-sql/1-core/contract/src/types.ts
SettledRowResult, Output, CodecIdpackages/2-sql/1-core/contract/src/types.ts
SettledAggregateTypesOperation, Table, Overloads, OperationOverloads, SettledOperation, CodecTypespackages/2-sql/1-core/contract/src/types.ts
TypeMapsTQueryOperationTypes, TFieldOutputTypes, NamespacedFieldTypeMap, TFieldInputTypes, TStorageColumnTypes, NamespacedStorageColumnTypeMap, TStorageColumnInputTypes, TAggregateTypes, AggregateTypesBase, TCodecTypespackages/2-sql/1-core/contract/src/types.ts
AggregateTypesOfT, A, AggregateTypesBasepackages/2-sql/1-core/contract/src/types.ts
CodecTypesOfT, Cpackages/2-sql/1-core/contract/src/types.ts
QueryOperationSelfSpecโ€”packages/2-sql/1-core/contract/src/types.ts
QueryOperationReturnโ€”packages/2-sql/1-core/contract/src/types.ts
QueryOperationTypeEntryQueryOperationSelfSpecpackages/2-sql/1-core/contract/src/types.ts
QueryOperationTypesBaseQueryOperationTypeEntrypackages/2-sql/1-core/contract/src/types.ts
QueryOperationTypesOfT, Qpackages/2-sql/1-core/contract/src/types.ts
TypeMapsPhantomKeyโ€”packages/2-sql/1-core/contract/src/types.ts
ContractWithTypeMapsTContract, K, TypeMapsPhantomKey, TTypeMapspackages/2-sql/1-core/contract/src/types.ts
ExtractTypeMapsFromContractTypeMapsPhantomKey, T, NonNullablepackages/2-sql/1-core/contract/src/types.ts
FieldOutputTypesOfT, F, NamespacedFieldTypeMappackages/2-sql/1-core/contract/src/types.ts
FieldInputTypesOfT, F, NamespacedFieldTypeMappackages/2-sql/1-core/contract/src/types.ts
StorageColumnTypesOfT, F, NamespacedStorageColumnTypeMappackages/2-sql/1-core/contract/src/types.ts
StorageColumnInputTypesOfT, F, NamespacedStorageColumnTypeMappackages/2-sql/1-core/contract/src/types.ts
ExtractCodecTypesCodecTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractQueryOperationTypesQueryOperationTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractFieldOutputTypesFieldOutputTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractFieldInputTypesFieldInputTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractStorageColumnTypesStorageColumnTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractStorageColumnInputTypesStorageColumnInputTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ExtractAggregateTypesAggregateTypesOf, ExtractTypeMapsFromContract, Tpackages/2-sql/1-core/contract/src/types.ts
ResolveCodecTypesTTypeMaps, ExtractCodecTypes, TContract, CodecTypesOfpackages/2-sql/1-core/contract/src/types.ts
NamespacedStorageWalkNamespacepackages/2-sql/1-core/contract/src/validators.ts
LookupKey, Tpackages/2-sql/1-core/contract/src/value-type-maps.ts
TypeParamsOfT, TypeParamspackages/2-sql/1-core/contract/src/value-type-maps.ts
ColumnTypeParamsColumn, TypeParamspackages/2-sql/1-core/contract/src/value-type-maps.ts
TablesOfLookup, Namespacepackages/2-sql/1-core/contract/src/value-type-maps.ts
ColumnTypesFromStorageNs, Lookup, Storage, T, TablesOf, C, Column, StoredValueType, ColumnTypeParams, NonNullable, Overrides, CodecTypes, ParameterizedOutputs, Sidepackages/2-sql/1-core/contract/src/value-type-maps.ts
ReferentialActionโ€”packages/2-sql/1-core/contract/src/ir/foreign-key.ts
ForeignKeyIndexโ€”packages/2-sql/1-core/contract/src/ir/foreign-key.ts
IndexElementsColumnpackages/2-sql/1-core/contract/src/ir/sql-index.ts
IndexInputIndexElements, The, Read, SqlObjectNamingpackages/2-sql/1-core/contract/src/ir/sql-index.ts
SqlStorageTypeEntryStorageTypeInstance, StorageTypeInstanceInputpackages/2-sql/1-core/contract/src/ir/sql-storage.ts
SqlNamespaceFactorySqlNamespaceInput, Namespacepackages/2-sql/1-core/contract/src/ir/sql-storage.ts
SqlNamespaceEntriesStorageTablepackages/2-sql/1-core/contract/src/ir/sql-storage.ts
StorageColumnMultiplicityโ€”packages/2-sql/1-core/contract/src/ir/storage-column.ts
StorageColumnInputThepackages/2-sql/1-core/contract/src/ir/storage-column.ts
ColumnDefaultLiteralโ€”packages/2-sql/1-core/contract/src/ir/storage-entry-schemas.ts
ColumnDefaultFunctionโ€”packages/2-sql/1-core/contract/src/ir/storage-entry-schemas.ts
AuthoredStorageTypeInstanceStorageTypeInstancepackages/2-sql/1-core/contract/src/ir/storage-type-instance.ts
StorageTypeInstanceInputStorageTypeInstancepackages/2-sql/1-core/contract/src/ir/storage-type-instance.ts
SqlOperationEntryQueryOperationTypeEntrypackages/2-sql/1-core/operations/src/index.ts
SqlOperationDescriptorOperationDescriptor, SqlOperationEntrypackages/2-sql/1-core/operations/src/index.ts
SqlOperationDescriptorsOperationDescriptors, SqlOperationEntrypackages/2-sql/1-core/operations/src/index.ts
SqlOperationRegistryOperationRegistry, SqlOperationEntrypackages/2-sql/1-core/operations/src/index.ts
SqlObjectNamingโ€”packages/2-sql/1-core/schema-ir/src/naming.ts
CheckKindโ€”packages/2-sql/1-core/schema-ir/src/naming.ts
RelationalSchemaNodeKindRelationalSchemaNodeKindpackages/2-sql/1-core/schema-ir/src/ir/schema-node-kinds.ts
SqlExpressionLiteralForโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts
SqlAnnotationsโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts
SqlColumnTypeSqlColumnIRpackages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts
SqlDefaultValueDataTypeValuepackages/2-sql/1-core/schema-ir/src/ir/sql-default-value.ts
SqlReferentialActionโ€”packages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts
SqlIndexElementsColumnpackages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts
SqlIndexIRInputSqlIndexElements, The, Read, SqlObjectNamingpackages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts

Type Relationships

The following diagram shows inheritance, implementation, and reference relationships between types:

PslContractSourceProvider
  โ””โ”€โ”€ extends โ†’ ContractSourceProviderBase
TypeScriptContractSourceProvider
  โ””โ”€โ”€ extends โ†’ ContractSourceProviderBase
ContractSourceProvider
  โ”œโ”€โ”€ uses โ†’ PslContractSourceProvider
  โ””โ”€โ”€ uses โ†’ TypeScriptContractSourceProvider
MigrationPlanWithAuthoringSurface
  โ””โ”€โ”€ extends โ†’ MigrationPlan
FailedCast
  โ””โ”€โ”€ extends โ†’ FailedTypeChangeOf
FailedConversion
  โ””โ”€โ”€ extends โ†’ FailedTypeChangeOf
MigrationPlannerResult
  โ”œโ”€โ”€ uses โ†’ MigrationPlannerSuccessResult
  โ””โ”€โ”€ uses โ†’ MigrationPlannerFailureResult
FailedTypeChange
  โ”œโ”€โ”€ uses โ†’ FailedCast
  โ””โ”€โ”€ uses โ†’ FailedConversion
MigrationRunnerResult
  โ”œโ”€โ”€ uses โ†’ MigrationRunnerSuccessValue
  โ””โ”€โ”€ uses โ†’ MigrationRunnerFailure
SpaceSignature
  โ”œโ”€โ”€ uses โ†’ SpaceSigned
  โ””โ”€โ”€ uses โ†’ SpaceMarkerConflict
FieldCoordinate
  โ””โ”€โ”€ extends โ†’ ModelCoordinate
MigrationAccessChange
  โ””โ”€โ”€ extends โ†’ MigrationOperationSubject
MigrationDataLoss
  โ””โ”€โ”€ extends โ†’ MigrationOperationSubject
MigrationTemporaryValue
  โ””โ”€โ”€ extends โ†’ MigrationOperationSubject
FieldCoordinateJson
  โ””โ”€โ”€ extends โ†’ ModelCoordinateJson
ResolvedRenameStatement
  โ”œโ”€โ”€ uses โ†’ ResolvedModelRenameStatement
  โ””โ”€โ”€ uses โ†’ ResolvedFieldRenameStatement
ResolvedMigrationStatement
  โ”œโ”€โ”€ uses โ†’ ResolvedRenameStatement
  โ”œโ”€โ”€ uses โ†’ ResolvedFieldConvertStatement
  โ””โ”€โ”€ uses โ†’ ResolvedFieldBackfillStatement
MigrationSubject
  โ”œโ”€โ”€ uses โ†’ ModelCoordinate
  โ””โ”€โ”€ uses โ†’ FieldCoordinate
MigrationSubjectJson
  โ”œโ”€โ”€ uses โ†’ ModelCoordinateJson
  โ””โ”€โ”€ uses โ†’ FieldCoordinateJson
PslDefaultValue
  โ”œโ”€โ”€ uses โ†’ PslDefaultFunctionValue
  โ””โ”€โ”€ uses โ†’ PslDefaultLiteralValue
PslAttributeArgument
  โ”œโ”€โ”€ uses โ†’ PslAttributePositionalArgument
  โ””โ”€โ”€ uses โ†’ PslAttributeNamedArgument
PslFieldAttribute
  โ””โ”€โ”€ uses โ†’ PslAttribute
PslModelAttribute
  โ””โ”€โ”€ uses โ†’ PslAttribute
PslNamespaceEntry
  โ”œโ”€โ”€ uses โ†’ PslModel
  โ”œโ”€โ”€ uses โ†’ PslCompositeType
  โ””โ”€โ”€ uses โ†’ PslExtensionBlock
PslNamespaceNode
  โ””โ”€โ”€ implements โ†’ PslNamespace
VerifierOutcome
  โ””โ”€โ”€ uses โ†’ VerificationStatus
TransactionActivity
  โ””โ”€โ”€ extends โ†’ ActivityBase
ClientActivityResult
  โ””โ”€โ”€ uses โ†’ ClientActivityRegistry
Activity
  โ””โ”€โ”€ uses โ†’ TransactionActivity
ActivityEndedResult
  โ”œโ”€โ”€ uses โ†’ TransactionEnded
  โ””โ”€โ”€ uses โ†’ StatementEnded
RelationNamesOf
  โ””โ”€โ”€ uses โ†’ Rel
Scalars
  โ””โ”€โ”€ uses โ†’ Rel
Shape
  โ””โ”€โ”€ uses โ†’ ShapeOf
ShapeSpec
  โ”œโ”€โ”€ uses โ†’ PlusNames
  โ”œโ”€โ”€ uses โ†’ ScalarNamesOf
  โ”œโ”€โ”€ uses โ†’ RelationNamesOf
  โ”œโ”€โ”€ uses โ†’ RelatedModel
  โ””โ”€โ”€ uses โ†’ UnknownSpecKey
PlusNames
  โ”œโ”€โ”€ uses โ†’ RelationNamesOf
  โ””โ”€โ”€ uses โ†’ ScalarNamesOf
UnknownSpecKey
  โ””โ”€โ”€ uses โ†’ RelationNamesOf
ScalarNamesOf
  โ””โ”€โ”€ uses โ†’ Scalars
RelatedModel
  โ””โ”€โ”€ uses โ†’ UnwrapRelation
ShapeOf
  โ”œโ”€โ”€ uses โ†’ ShapeOfEach
  โ””โ”€โ”€ uses โ†’ PlusNamesAScalar
PlusNamesAScalar
  โ””โ”€โ”€ uses โ†’ ScalarNamesOf
ShapeOfEach
  โ”œโ”€โ”€ uses โ†’ Flatten
  โ”œโ”€โ”€ uses โ†’ KeptScalars
  โ”œโ”€โ”€ uses โ†’ IncludedRelations
  โ”œโ”€โ”€ uses โ†’ WrapLike
  โ”œโ”€โ”€ uses โ†’ ShapeOf
  โ”œโ”€โ”€ uses โ†’ RelatedModel
  โ””โ”€โ”€ uses โ†’ NestedSpec
KeptScalars
  โ””โ”€โ”€ uses โ†’ Scalars
IncludedRelations
  โ””โ”€โ”€ uses โ†’ RelationNamesOf
NamespacedEntities
  โ”œโ”€โ”€ uses โ†’ SingleNamespaceView
  โ””โ”€โ”€ uses โ†’ EntriesOf
IRNodeBase
  โ””โ”€โ”€ implements โ†’ IRNode
Namespace
  โ””โ”€โ”€ extends โ†’ IRNode
NamespaceBase
  โ”œโ”€โ”€ extends โ†’ IRNodeBase
  โ””โ”€โ”€ implements โ†’ Namespace
StorageType
  โ””โ”€โ”€ extends โ†’ IRNode
Storage
  โ””โ”€โ”€ extends โ†’ IRNode
AggregateOutputCodec
  โ”œโ”€โ”€ uses โ†’ SelfAggregateOutput
  โ””โ”€โ”€ uses โ†’ NamedAggregateOutput
AggregateDescriptorBase
  โ””โ”€โ”€ uses โ†’ AggregateResultNullability
NoInputAggregateDescriptor
  โ””โ”€โ”€ uses โ†’ AggregateDescriptorBase
AnyInputAggregateDescriptor
  โ””โ”€โ”€ uses โ†’ AggregateDescriptorBase
ValueInputAggregateDescriptor
  โ””โ”€โ”€ uses โ†’ AggregateDescriptorBase
AggregateDescriptor
  โ”œโ”€โ”€ uses โ†’ NoInputAggregateDescriptor
  โ”œโ”€โ”€ uses โ†’ AnyInputAggregateDescriptor
  โ””โ”€โ”€ uses โ†’ ValueInputAggregateDescriptor
CodecLookupWithDescriptors
  โ””โ”€โ”€ extends โ†’ CodecLookup
CodecRegistry
  โ””โ”€โ”€ extends โ†’ CodecLookupWithDescriptors
Cast
  โ””โ”€โ”€ uses โ†’ JsonValue
DataTypeReader
  โ”œโ”€โ”€ uses โ†’ JsonValue
  โ””โ”€โ”€ uses โ†’ DataTypeParams
DataTypeSpelling
  โ”œโ”€โ”€ uses โ†’ JsonValue
  โ””โ”€โ”€ uses โ†’ DataTypeParams
AuthoringFieldPresetOutput
  โ””โ”€โ”€ extends โ†’ AuthoringStorageTypeTemplate
AuthoringModelAttributeContext
  โ””โ”€โ”€ extends โ†’ AuthoringEntityContext
PslBlockDescriptorEntry
  โ””โ”€โ”€ extends โ†’ DescriptorEntry
AuthoringTemplateValue
  โ”œโ”€โ”€ uses โ†’ AuthoringArgRef
  โ””โ”€โ”€ uses โ†’ AuthoringSelectRef
AuthoringArgumentDescriptor
  โ”œโ”€โ”€ uses โ†’ AuthoringArgumentDescriptorCommon
  โ””โ”€โ”€ uses โ†’ ValueArgumentKind
AuthoringValueArgument
  โ””โ”€โ”€ uses โ†’ AuthoringArgumentDescriptor
AuthoringColumnDefaultTemplate
  โ”œโ”€โ”€ uses โ†’ AuthoringColumnDefaultTemplateLiteral
  โ””โ”€โ”€ uses โ†’ AuthoringColumnDefaultTemplateFunction
AuthoringTypeNamespace
  โ””โ”€โ”€ uses โ†’ AuthoringTypeConstructorDescriptor
AuthoringFieldNamespace
  โ””โ”€โ”€ uses โ†’ AuthoringFieldPresetDescriptor
AuthoringPslBlockDescriptorNamespace
  โ””โ”€โ”€ uses โ†’ AuthoringPslBlockDescriptor
AuthoringModelAttributeLoweringOutput
  โ”œโ”€โ”€ uses โ†’ AuthoringModelAttributeEntityOutput
  โ””โ”€โ”€ uses โ†’ AuthoringModelAttributeIndexOutput
CodecTypes
  โ””โ”€โ”€ uses โ†’ TypesImportSpec
PositionalArguments
  โ”œโ”€โ”€ uses โ†’ SignatureOptionalArgument
  โ””โ”€โ”€ uses โ†’ ArgumentOut
GeneratorHelper
  โ”œโ”€โ”€ uses โ†’ SignatureObject
  โ”œโ”€โ”€ uses โ†’ PositionalArguments
  โ””โ”€โ”€ uses โ†’ GeneratorFunctionCall
GeneratorHelpersOf
  โ”œโ”€โ”€ uses โ†’ Declared
  โ”œโ”€โ”€ uses โ†’ ContributionsOf
  โ””โ”€โ”€ uses โ†’ GeneratorHelper
AssembledControlMutationDefaults
  โ””โ”€โ”€ extends โ†’ ControlMutationDefaults
ControlMutationDefaultRegistry
  โ””โ”€โ”€ uses โ†’ ControlMutationDefaultEntry
PresetStorageTemplate
  โ”œโ”€โ”€ uses โ†’ ScalarTypeConstructorOutput
  โ””โ”€โ”€ uses โ†’ AuthoringStorageTypeTemplate
WrittenScalar
  โ””โ”€โ”€ uses โ†’ WrittenValue
ContractCode
  โ””โ”€โ”€ uses โ†’ ContractSubcode
OperationDescriptors
  โ””โ”€โ”€ uses โ†’ OperationDescriptor
JsonValue
  โ””โ”€โ”€ uses โ†’ JsonObject
JsonObject
  โ””โ”€โ”€ uses โ†’ JsonValue
IntegerStep
  โ””โ”€โ”€ extends โ†’ NumberClassification
HydratableStorageTable
  โ”œโ”€โ”€ uses โ†’ StorageTableInput
  โ”œโ”€โ”€ uses โ†’ Index
  โ””โ”€โ”€ uses โ†’ SerializedIndex
BackingObject
  โ”œโ”€โ”€ uses โ†’ ServingKey
  โ”œโ”€โ”€ uses โ†’ IndexCandidate
  โ”œโ”€โ”€ uses โ†’ UniqueConstraintInput
  โ””โ”€โ”€ uses โ†’ PrimaryKeyInput
NamedKey
  โ””โ”€โ”€ uses โ†’ Keyed
AuthoredIndexInput
  โ”œโ”€โ”€ uses โ†’ AuthoredIndexElements
  โ””โ”€โ”€ uses โ†’ AuthoredIndexMethod
IndexTypeRegistryImpl
  โ””โ”€โ”€ implements โ†’ IndexTypeRegistry
SerializedIndex
  โ””โ”€โ”€ uses โ†’ IndexElements
AggregateOperationTypes
  โ””โ”€โ”€ uses โ†’ AggregateResultType
AggregateTypesBase
  โ””โ”€โ”€ uses โ†’ AggregateOperationTypes
OperationOverloads
  โ”œโ”€โ”€ uses โ†’ ExactCodecIds
  โ”œโ”€โ”€ uses โ†’ OverloadResult
  โ””โ”€โ”€ uses โ†’ ExactOverloads
OverloadTable
  โ”œโ”€โ”€ uses โ†’ OperationsOf
  โ””โ”€โ”€ uses โ†’ OperationOverloads
CodecTraitsOfId
  โ””โ”€โ”€ uses โ†’ CodecTypes
SettledAggregateTypes
  โ”œโ”€โ”€ uses โ†’ OperationOverloads
  โ””โ”€โ”€ uses โ†’ CodecTypes
TypeMaps
  โ”œโ”€โ”€ uses โ†’ NamespacedFieldTypeMap
  โ”œโ”€โ”€ uses โ†’ NamespacedStorageColumnTypeMap
  โ””โ”€โ”€ uses โ†’ AggregateTypesBase
AggregateTypesOf
  โ””โ”€โ”€ uses โ†’ AggregateTypesBase
QueryOperationTypeEntry
  โ””โ”€โ”€ uses โ†’ QueryOperationSelfSpec
QueryOperationTypesBase
  โ””โ”€โ”€ uses โ†’ QueryOperationTypeEntry
ContractWithTypeMaps
  โ””โ”€โ”€ uses โ†’ TypeMapsPhantomKey
ExtractTypeMapsFromContract
  โ””โ”€โ”€ uses โ†’ TypeMapsPhantomKey
FieldOutputTypesOf
  โ””โ”€โ”€ uses โ†’ NamespacedFieldTypeMap
FieldInputTypesOf
  โ””โ”€โ”€ uses โ†’ NamespacedFieldTypeMap
StorageColumnTypesOf
  โ””โ”€โ”€ uses โ†’ NamespacedStorageColumnTypeMap
StorageColumnInputTypesOf
  โ””โ”€โ”€ uses โ†’ NamespacedStorageColumnTypeMap
ExtractCodecTypes
  โ”œโ”€โ”€ uses โ†’ CodecTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractQueryOperationTypes
  โ”œโ”€โ”€ uses โ†’ QueryOperationTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractFieldOutputTypes
  โ”œโ”€โ”€ uses โ†’ FieldOutputTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractFieldInputTypes
  โ”œโ”€โ”€ uses โ†’ FieldInputTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractStorageColumnTypes
  โ”œโ”€โ”€ uses โ†’ StorageColumnTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractStorageColumnInputTypes
  โ”œโ”€โ”€ uses โ†’ StorageColumnInputTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ExtractAggregateTypes
  โ”œโ”€โ”€ uses โ†’ AggregateTypesOf
  โ””โ”€โ”€ uses โ†’ ExtractTypeMapsFromContract
ResolveCodecTypes
  โ”œโ”€โ”€ uses โ†’ ExtractCodecTypes
  โ””โ”€โ”€ uses โ†’ CodecTypesOf
NamespacedStorageWalk
  โ””โ”€โ”€ uses โ†’ Namespace
TablesOf
  โ”œโ”€โ”€ uses โ†’ Lookup
  โ””โ”€โ”€ uses โ†’ Namespace
ColumnTypesFromStorage
  โ”œโ”€โ”€ uses โ†’ Lookup
  โ”œโ”€โ”€ uses โ†’ Storage
  โ”œโ”€โ”€ uses โ†’ TablesOf
  โ”œโ”€โ”€ uses โ†’ ColumnTypeParams
  โ””โ”€โ”€ uses โ†’ CodecTypes
CheckConstraint
  โ””โ”€โ”€ extends โ†’ SqlNode
ForeignKeyReference
  โ””โ”€โ”€ extends โ†’ SqlNode
ForeignKey
  โ””โ”€โ”€ extends โ†’ SqlNode
PrimaryKey
  โ”œโ”€โ”€ extends โ†’ SqlNode
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
IndexInput
  โ”œโ”€โ”€ uses โ†’ IndexElements
  โ””โ”€โ”€ uses โ†’ SqlObjectNaming
Index
  โ””โ”€โ”€ extends โ†’ SqlNode
SqlNode
  โ””โ”€โ”€ extends โ†’ IRNodeBase
SqlAuthoringContributions
  โ””โ”€โ”€ extends โ†’ AuthoringContributions
SqlStorageTypeEntry
  โ”œโ”€โ”€ uses โ†’ StorageTypeInstance
  โ””โ”€โ”€ uses โ†’ StorageTypeInstanceInput
SqlNamespaceFactory
  โ”œโ”€โ”€ uses โ†’ SqlNamespaceInput
  โ””โ”€โ”€ uses โ†’ Namespace
SqlNamespaceEntries
  โ””โ”€โ”€ uses โ†’ StorageTable
SqlNamespaceBase
  โ”œโ”€โ”€ extends โ†’ NamespaceBase
  โ””โ”€โ”€ implements โ†’ SqlNamespace
StorageColumn
  โ””โ”€โ”€ extends โ†’ SqlNode
StorageTable
  โ””โ”€โ”€ extends โ†’ SqlNode
StorageTypeInstance
  โ””โ”€โ”€ extends โ†’ StorageType
AuthoredStorageTypeInstance
  โ””โ”€โ”€ uses โ†’ StorageTypeInstance
StorageTypeInstanceInput
  โ””โ”€โ”€ uses โ†’ StorageTypeInstance
StorageValueSet
  โ””โ”€โ”€ extends โ†’ SqlNode
UniqueConstraint
  โ””โ”€โ”€ extends โ†’ SqlNode
SqlOperationEntry
  โ””โ”€โ”€ uses โ†’ QueryOperationTypeEntry
SqlOperationDescriptor
  โ”œโ”€โ”€ uses โ†’ OperationDescriptor
  โ””โ”€โ”€ uses โ†’ SqlOperationEntry
SqlOperationDescriptors
  โ”œโ”€โ”€ uses โ†’ OperationDescriptors
  โ””โ”€โ”€ uses โ†’ SqlOperationEntry
SqlOperationRegistry
  โ””โ”€โ”€ uses โ†’ SqlOperationEntry
SqlCheckConstraintIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlColumnDefaultIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlColumnType
  โ””โ”€โ”€ uses โ†’ SqlColumnIR
SqlColumnIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlDefaultValue
  โ””โ”€โ”€ uses โ†’ DataTypeValue
SqlForeignKeyIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlIndexIRInput
  โ”œโ”€โ”€ uses โ†’ SqlIndexElements
  โ””โ”€โ”€ uses โ†’ SqlObjectNaming
SqlIndexIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlSchemaIRNode
  โ””โ”€โ”€ extends โ†’ IRNodeBase
SqlSchemaIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlTableIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode
SqlUniqueIR
  โ”œโ”€โ”€ extends โ†’ SqlSchemaIRNode
  โ””โ”€โ”€ implements โ†’ DiffableNode

Generated by RepoLens static analysis. Type detection uses regex-based parsing and may not capture all advanced TypeScript patterns.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Dependency Graph

Engineers ยท Module dependency analysis with cycle detection

206 files ยท 280 imports ยท 12 external packages ยท โœ“ no circular dependencies ยท 36 orphan file(s)

This document maps every import relationship in the codebase, identifies the most-connected modules, and flags circular dependencies that may complicate refactoring or increase build times.

Overview

MetricValue
Source files206
Import edges280
External packages12
Circular dependencies0
Orphan files (no imports or importers)36

External Dependencies

The codebase imports 12 external packages. These are third-party modules (not the language standard library):

Package
---------
@internal/contract
@internal/framework-components
@internal/operations
@internal/sql-schema-ir
@internal/ts-render
@internal/utils
@repo/test-utils
@repo/tsdown
arktype
pathe
tinyglobby
vitest

Generated by RepoLens import analysis. Dependency detection covers JavaScript and TypeScript (ES modules, dynamic import, CommonJS, re-exports; comments, strings, and type-only imports are skipped), Python (`import` / `from ... import`, including relative imports), and Go (`go.mod` module paths). Go `_test.go` files are not part of the graph.*

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Architecture Drift

Mixed audience ยท Structural changes compared to baseline snapshot

No baseline found. Run repolens publish once to establish a baseline.

A baseline snapshot of the current architecture has been saved. On subsequent runs, this report will track structural changes across the following dimensions:

DimensionWhat is Tracked
ModulesNew, removed, or significantly resized modules
API EndpointsAdded or removed backend routes
DependenciesChanges to external package imports
FrameworksTechnology stack additions or removals
Circular DependenciesIncreases in dependency cycles
GraphQL SchemaType additions or removals
Codebase ScaleOverall file count changes

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Security Hotspots

Engineers ยท Security anti-pattern detection with CWE classification

9 security finding(s) ยท 1 medium severity ยท 8 low severity ยท across 8 file(s)

This report identifies code patterns that are commonly associated with security vulnerabilities. Each finding includes the relevant CWE classification and a recommended remediation.

Severity Overview

SeverityCount
๐ŸŸก Medium1
๐Ÿ”ต Low8

188 source files scanned ยท 8 files with findings

Prototype Pollution

Deep merge utilities may be vulnerable to prototype pollution if they don't check hasOwnProperty. Verify the implementation.

FileLinePatternSeverityCWE
packages/1-framework/1-core/errors/src/control.ts95Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321
packages/1-framework/1-core/errors/src/control.ts440Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321
packages/1-framework/1-core/framework-components/src/annotations.ts189Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321
packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts416Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321
packages/1-framework/1-core/framework-components/src/execution/runtime-error.ts37Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321
packages/1-framework/1-core/framework-components/src/shared/runtime-error.ts37Recursive object merge without prototype check๐Ÿ”ต LowCWE-1321

SQL Injection

Template literals with SQL and variable interpolation may be vulnerable. Use parameterized queries.

FileLinePatternSeverityCWE
packages/1-framework/1-core/errors/src/execution.ts92SQL in template literals with interpolation๐ŸŸก MediumCWE-89

ReDoS

Dynamic regex construction from user input can cause ReDoS. Use static regex or input validation.

FileLinePatternSeverityCWE
packages/2-sql/1-core/contract/src/sql-data-type.ts115Potentially catastrophic regex๐Ÿ”ต LowCWE-1333
packages/2-sql/1-core/contract/src/sql-raw.ts23Potentially catastrophic regex๐Ÿ”ต LowCWE-1333

Affected Files

  • packages/1-framework/1-core/errors/src/control.ts
  • packages/1-framework/1-core/errors/src/execution.ts
  • packages/1-framework/1-core/framework-components/src/annotations.ts
  • packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts
  • packages/1-framework/1-core/framework-components/src/execution/runtime-error.ts
  • packages/1-framework/1-core/framework-components/src/shared/runtime-error.ts
  • packages/2-sql/1-core/contract/src/sql-data-type.ts
  • packages/2-sql/1-core/contract/src/sql-raw.ts

Generated by RepoLens security pattern analysis. Detection is regex-based and may produce false positives. Findings should be triaged by a security-aware engineer.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples

Code Health Report

Mixed audience ยท Per-module health scores from complexity, coupling, docs, and security

206 files analyzed ยท Average health: 90/100 ยท 164 A, 18 B, 20 C, 4 D, 0 F

This report synthesizes complexity, coupling, documentation, and security signals into a single health score per module. Lower scores indicate higher risk and maintenance burden.

Overview

MetricValue
Files analyzed206
Average health score90/100
Average complexity15
Hotspots (score < 60)20

Grade Distribution

GradeCountMeaning
๐ŸŸข A (80โ€“100)164Healthy โ€” low complexity, well-documented
๐Ÿ”ต B (60โ€“79)18Acceptable โ€” minor improvements possible
๐ŸŸก C (40โ€“59)20Needs attention โ€” elevated complexity or coupling
๐ŸŸ  D (20โ€“39)4At risk โ€” multiple quality signals degraded
๐Ÿ”ด F (0โ€“19)0Critical โ€” immediate refactoring recommended

Hotspots โ€” Priority Refactoring Targets

These modules have the lowest health scores and should be prioritized for improvement:

ModuleScoreGradeComplexityCouplingDoc%Security
packages/2-sql/1-core/contract/src/types.ts34๐ŸŸ  D812โ†“ 14โ†‘0%โ€”
packages/1-framework/1-core/framework-components/src/control/control-stack.ts35๐ŸŸ  D991โ†“ 8โ†‘33%โ€”
packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts35๐ŸŸ  D444โ†“ 1โ†‘33%โ€”
packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts35๐ŸŸ  D3545โ†“ 1โ†‘39%โ€”
packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts45๐ŸŸก C532โ†“ 3โ†‘100%โ€”
packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts45๐ŸŸก C422โ†“ 1โ†‘100%โ€”
packages/2-sql/1-core/contract/src/date-time-stored-form.ts45๐ŸŸก C791โ†“ 0โ†‘100%โ€”
packages/2-sql/1-core/contract/src/index-naming.ts45๐ŸŸก C473โ†“ 2โ†‘100%โ€”
packages/2-sql/1-core/contract/src/sql-data-type.ts45๐ŸŸก C1313โ†“ 1โ†‘100%1 (0 high)
packages/2-sql/1-core/contract/src/validators.ts45๐ŸŸก C1991โ†“ 6โ†‘91%โ€”
packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts46๐ŸŸก C383โ†“ 1โ†‘100%โ€”
packages/1-framework/1-core/framework-components/src/shared/framework-components.ts46๐ŸŸก C342โ†“ 0โ†‘0%โ€”
packages/1-framework/1-core/framework-components/src/shared/written-value.ts52๐ŸŸก C681โ†“ 2โ†‘100%โ€”
packages/1-framework/1-core/framework-components/src/shared/data-type.ts54๐ŸŸก C646โ†“ 4โ†‘92%โ€”
packages/2-sql/1-core/contract/src/factories.ts54๐ŸŸก C341โ†“ 2โ†‘0%โ€”
packages/1-framework/1-core/errors/src/execution.ts55๐ŸŸก C381โ†“ 1โ†‘89%1 (0 high)
packages/1-framework/1-core/errors/src/control.ts56๐ŸŸก C1183โ†“ 1โ†‘100%2 (0 high)
packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts57๐ŸŸก C351โ†“ 1โ†‘100%โ€”
packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts58๐ŸŸก C341โ†“ 1โ†‘0%โ€”
packages/1-framework/1-core/ts-render/src/render-imports.ts58๐ŸŸก C511โ†“ 1โ†‘100%โ€”

Most Complex Functions

These functions have the highest cyclomatic complexity and are the most likely sources of bugs:

FunctionFileLineComplexity
applyFkDefaults()packages/2-sql/1-core/contract/src/types.ts8874
isWellFormedDescriptor()packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts77044
registerNamedObject()packages/2-sql/1-core/contract/src/validators.ts69137
validateSqlStorageConsistency()packages/2-sql/1-core/contract/src/validators.ts98334
dateTimeStoredText()packages/2-sql/1-core/contract/src/date-time-stored-form.ts30232
planOriginOf()packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts10431
lowerAuthoredIndex()packages/2-sql/1-core/contract/src/index-naming.ts13830
checkMarks()packages/2-sql/1-core/contract/src/sql-data-type.ts15229
buildsUp()packages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts1723
hooksOf()packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts16423
invalid()packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts108323
validateAuthoringArgument()packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts159823
resolveEnumCodecId()packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts33922
buildExtensionLoadOrder()packages/1-framework/1-core/framework-components/src/control/control-stack.ts64421
enforceDataTypeAssemblyInvariants()packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts20119

All Modules by Health Score

Showing 50 of 206 modules (sorted worst-first)

ModuleScoreGradeLinesComplexityFan-InFan-Out
packages/2-sql/1-core/contract/src/types.ts34๐ŸŸ  D43781214
packages/1-framework/1-core/framework-components/src/control/control-stack.ts35๐ŸŸ  D7649918
packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts35๐ŸŸ  D3224441
packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts35๐ŸŸ  D196135451
packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts45๐ŸŸก C3185323
packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts45๐ŸŸก C2974221
packages/2-sql/1-core/contract/src/date-time-stored-form.ts45๐ŸŸก C3957910
packages/2-sql/1-core/contract/src/index-naming.ts45๐ŸŸก C2224732
packages/2-sql/1-core/contract/src/sql-data-type.ts45๐ŸŸก C72213131
packages/2-sql/1-core/contract/src/validators.ts45๐ŸŸก C138419916
packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts46๐ŸŸก C1813831
packages/1-framework/1-core/framework-components/src/shared/framework-components.ts46๐ŸŸก C4083420
packages/1-framework/1-core/framework-components/src/shared/written-value.ts52๐ŸŸก C3916812
packages/1-framework/1-core/framework-components/src/shared/data-type.ts54๐ŸŸก C3716464
packages/2-sql/1-core/contract/src/factories.ts54๐ŸŸก C1373412
packages/1-framework/1-core/errors/src/execution.ts55๐ŸŸก C2403811
packages/1-framework/1-core/errors/src/control.ts56๐ŸŸก C62811831
packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts57๐ŸŸก C2423511
packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts58๐ŸŸก C2583411
packages/1-framework/1-core/ts-render/src/render-imports.ts58๐ŸŸก C2605111
packages/2-sql/1-core/schema-ir/src/naming.ts58๐ŸŸก C3103830
packages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts58๐ŸŸก C2554623
packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts59๐ŸŸก C8053210
packages/1-framework/1-core/framework-components/src/shared/tagged-literal.ts59๐ŸŸก C2253530
packages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts60๐Ÿ”ต B2226023
packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts60๐Ÿ”ต B3205823
packages/2-sql/1-core/contract/src/foreign-key-materialization.ts67๐Ÿ”ต B3002915
packages/1-framework/1-core/framework-components/src/execution/client-activity.ts68๐Ÿ”ต B2422713
packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts68๐Ÿ”ต B1132811
packages/1-framework/1-core/framework-components/src/execution/run-with-middleware.ts70๐Ÿ”ต B2862523
packages/1-framework/1-core/framework-components/src/shared/enum-block-members.ts70๐Ÿ”ต B1832512
packages/1-framework/1-core/framework-components/src/execution/shape.ts71๐Ÿ”ต B1072410
packages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts72๐Ÿ”ต B1572310
packages/2-sql/1-core/contract/src/ir/storage-column.ts75๐Ÿ”ต B802022
packages/1-framework/1-core/config/src/config-types.ts77๐Ÿ”ต B1491510
packages/1-framework/1-core/framework-components/src/control/schema-diff.ts77๐Ÿ”ต B3032920
packages/1-framework/1-core/operations/src/index.ts77๐Ÿ”ต B831801
packages/2-sql/1-core/contract/src/ir/sql-index.ts77๐Ÿ”ต B1041831
packages/2-sql/1-core/contract/src/index-deduplication.ts78๐Ÿ”ต B1702012
packages/2-sql/1-core/contract/src/index-equivalence.ts78๐Ÿ”ต B1522240
packages/2-sql/1-core/contract/src/ir/storage-table.ts78๐Ÿ”ต B841727
packages/2-sql/1-core/schema-ir/src/ir/sql-table-ir.ts79๐Ÿ”ต B1041628
packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts82๐ŸŸข A1582810
packages/1-framework/1-core/framework-components/src/shared/json-readers.ts82๐ŸŸข A1322321
packages/2-sql/1-core/contract/src/index-type-validation.ts82๐ŸŸข A711611
packages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts83๐ŸŸข A1292722
packages/1-framework/1-core/framework-components/src/shared/authoring-type-constructor-call.ts84๐ŸŸข A951812
packages/2-sql/1-core/contract/src/ir/foreign-key.ts84๐ŸŸข A711422
packages/2-sql/1-core/contract/src/index-types.ts85๐ŸŸข A1982031
packages/1-framework/1-core/framework-components/src/shared/enum-members.ts86๐ŸŸข A1312213

Scoring Methodology

The health score (0โ€“100) is computed from four dimensions:

FactorWeightHow It's Measured
Complexityโ€“1/pt above 10, โ€“2/pt above 30Cyclomatic complexity for JavaScript/TypeScript, Python, and Go (regex, not AST)
Function complexityโ€“2/pt above 8 per functionHighest complexity function in the file
Couplingโ€“1/5 units above 20Fan-in ร— Fan-out (import connections)
Documentationโ€“10 if <50%, โ€“5 if <80%JSDoc/TSDoc coverage of exports
Securityโ€“10/high, โ€“5/medium findingSecurity anti-pattern findings in file

Generated by RepoLens code health analysis. Complexity covers JavaScript/TypeScript, Python, and Go. It is regex-based and may differ from AST-based tools. Scores are relative indicators, not absolute quality measures.

<!-- repolens:docs-badge --> ![Docs by RepoLens](https://github.com/CHAPIBUNNY/repolens) ยท Examples