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
At a Glance
| Aspect | Summary |
|---|---|
| What | Prisma is a production-grade command-line tool |
| Built With | general-purpose + TypeScript, Node.js |
| Scale | 9 modules across 206 files |
| Maturity | Production-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:
| Domain | Capability | Scale |
|---|---|---|
| Data Layer | path packages/2-sql/1-core/contract matches sql | 4 modules, 90 files |
| UI Components | path packages/1-framework/1-core/framework-components matches component | 1 modules, 89 files |
| Core Engine | path packages/1-framework/1-core/errors matches core | 3 modules, 21 files |
| Configuration | path packages/1-framework/1-core/config matches config | 1 modules, 6 files |
Technical Foundation
| Layer | Technologies | Purpose |
|---|---|---|
| Language | TypeScript, Node.js | Primary development language |
| Build | Turborepo | Compilation and bundling |
| Testing | Vitest | Quality assurance |
Module Composition
The codebase follows a layered architecture with clear separation of concerns:
| Layer | Count | Key Modules | Responsibility |
|---|---|---|---|
| UI Components | 1 | framework-components | Renders user interface elements and manages component state |
| core | 7 | contract, schema-ir | Supporting application functionality |
| config | 1 | config | Supporting application functionality |
Codebase Health
Overall Health: ๐ข 95/100
| Metric | Value | Status |
|---|---|---|
| Internal imports | 280 edges | โ Connected |
| External Packages | 12 | โ Manageable |
| Circular Dependencies | cycle-free | โ None |
| Orphan Files | 36 | โ ๏ธ 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 -->  ยท Examples
System Overview
The Big Picture
Prisma is a focused codebase with a clear purpose, containing 9 modules spread across 206 files.
| Dimension | Details |
|---|---|
| Total Files | 206 |
| Module Count | 9 |
| Functional Domains | 4 |
| Interface Type | Command-Line Tool |
Technology Stack
The system is built on a modern technology foundation:
| Layer | Technologies | Purpose |
|---|---|---|
| Language | TypeScript, Node.js | Primary development language |
| Build | Turborepo | Compilation and asset processing |
| Quality | Vitest | Automated 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:
| Layer | Modules | Key Examples | Responsibility |
|---|---|---|---|
| UI Components | 1 | framework-components | Renders user interface elements and manages component state |
| core | 7 | contract, schema-ir | Supporting application functionality |
| config | 1 | config | Supporting 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 modulepackages/2-sql/1-core/schema-irโ 19 files โ Data models and schemaspackages/1-framework/1-core/errorsโ 9 files โ Core application modulepackages/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:
| Rank | Domain | Scale | Business Capability |
|---|---|---|---|
| 1 | Data Layer | 90 files | path packages/2-sql/1-core/contract matches sql |
| 2 | UI Components | 89 files | path packages/1-framework/1-core/framework-components matches component |
| 3 | Core Engine | 21 files | path packages/1-framework/1-core/errors matches core |
| 4 | Configuration | 6 files | path packages/1-framework/1-core/config matches config |
Dependency Graph
Codebase Health: ๐ข 95/100
| Metric | Value | Assessment |
|---|---|---|
| Internal Imports | 280 | Modules are connected |
| External Packages | 12 | Lean dependencies |
| Circular Dependencies | 0 | โ Clean |
| Orphan Files | 36 | โ ๏ธ 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 -->  ยท Examples
Business Domains
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:
| Domain | Modules | Files | Primary Capability |
|---|---|---|---|
| Data Layer | 4 | 90 | Data persistence and modeling |
| UI Components | 1 | 89 | Reusable visual interface elements |
| Core Engine | 3 | 21 | Supporting business operations |
| Configuration | 1 | 6 | Application 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
| Module | Purpose |
|---|---|
packages/2-sql/1-core/contract | Core application module |
packages/2-sql/1-core/schema-ir | Data models and schemas |
packages/2-sql/1-core/errors | Core application module |
packages/2-sql/1-core/operations | Core 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
| Module | Purpose |
|---|---|
packages/1-framework/1-core/framework-components | User 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
| Module | Purpose |
|---|---|
packages/1-framework/1-core/errors | Core application module |
packages/1-framework/1-core/ts-render | Rendering and template logic |
packages/1-framework/1-core/operations | Core 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
| Module | Purpose |
|---|---|
packages/1-framework/1-core/config | Configuration management |
Business Impact
- Change Frequency Impact: Low โ Changes here affect 6 files
- Domain Complexity: Simple
Domain Health Summary
| Metric | Value | Assessment |
|---|---|---|
| Total Domains | 4 | Well-balanced |
| Avg Files/Domain | 52 | Appropriate size |
| Largest Domain | Data Layer (90 files) | Reasonable |
| Domain Concentration | 44% 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 -->  ยท Examples
Architecture Overview
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:
| Layer | Responsibility | Scale | Key Insight |
|---|---|---|---|
| Data Layer | path packages/2-sql/1-core/contract matches sql | 90 files | Standard domain |
| UI Components | path packages/1-framework/1-core/framework-components matches component | 89 files | Single large module โ evaluate decomposition |
| Core Engine | path packages/1-framework/1-core/errors matches core | 21 files | Standard domain |
| Configuration | path packages/1-framework/1-core/config matches config | 6 files | Standard domain |
Module Layers
Modules are classified into 3 architectural roles:
UI Components
Role: Renders user interface elements and manages component state
| Module | Files | Description |
|---|---|---|
packages/1-framework/1-core/framework-components | 89 | User interface components |
core
Role: Supporting application functionality
| Module | Files | Description |
|---|---|---|
packages/2-sql/1-core/contract | 64 | Core application module |
packages/2-sql/1-core/schema-ir | 19 | Data models and schemas |
packages/1-framework/1-core/errors | 9 | Core application module |
packages/1-framework/1-core/ts-render | 8 | Rendering and template logic |
packages/1-framework/1-core/operations | 4 | Core application module |
| +2 more | โ | Additional modules |
config
Role: Supporting application functionality
| Module | Files | Description |
|---|---|---|
packages/1-framework/1-core/config | 6 | Configuration management |
Technology Foundation
| Layer | Technologies | Architectural Implication |
|---|---|---|
| Language | TypeScript, Node.js | Static typing enables tooling and refactoring confidence |
| Build | Turborepo | Modern bundling and optimization |
| Quality | Vitest | Enables confident refactoring |
Scale & Complexity Analysis
| Dimension | Value | Assessment |
|---|---|---|
| Total Files | 206 | large project |
| Module Count | 9 | low complexity |
| Domain Spread | 4 domains | Focused scope |
| Interface | CLI | Terminal-driven interaction |
Dependency Health
Architecture Health Score: ๐ข 95/100
| Metric | Value | Status | Recommendation |
|---|---|---|---|
| Import Edges | 280 | โ | Healthy module connectivity |
| External Packages | 12 | โ | Lean dependency set |
| Circular Deps | 0 | โ | Clean module boundaries |
| Orphan Files | 36 | โ ๏ธ | 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 -->  ยท Examples
Module Catalog
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
| Module | Files | Role |
|---|---|---|
packages/1-framework/1-core/framework-components | 89 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/2-sql/1-core/contract | 64 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/2-sql/1-core/schema-ir | 19 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/1-framework/1-core/errors | 9 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/1-framework/1-core/ts-render | 8 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/1-framework/1-core/config | 6 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/1-framework/1-core/operations | 4 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/2-sql/1-core/errors | 4 | Core business logic and shared foundations ยท Isolated (no imports or importers) |
packages/2-sql/1-core/operations | 3 | Core 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 -->  ยท Examples
Route Map
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 -->  ยท Examples
API Surface
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 -->  ยท Examples
Data Flows
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:
| Flow | Type | Complexity | Critical |
|---|---|---|---|
| control Request Flow | Integration | Low (2 steps) | ๐ด Yes |
| runtime Request Flow | Integration | Medium (3 steps) | ๐ด Yes |
| authoring Request Flow | Integration | Medium (3 steps) | ๐ด Yes |
| codec Request Flow | Integration | Medium (3 steps) | ๐ด Yes |
| components Request Flow | Integration | Low (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
| Property | Value |
|---|---|
| Steps | 2 |
| Modules Involved | 2 |
| Criticality | Critical |
Processing Steps
| Step | Action | Purpose |
|---|---|---|
| 1 | control (entry point, imports 14 modules) | Data acquisition |
| 2 | tagged-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
| Module | Role |
|---|---|
control | User interface components |
tagged-literal | User 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
| Property | Value |
|---|---|
| Steps | 3 |
| Modules Involved | 3 |
| Criticality | Critical |
Processing Steps
| Step | Action | Purpose |
|---|---|---|
| 1 | runtime (entry point, imports 13 modules) | Data acquisition |
| 2 | runtime-error (shared infrastructure, used by 7 files) | Processing step |
| 3 | runtime-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
| Module | Role |
|---|---|
runtime | User interface components |
runtime-error | User interface components |
runtime-error | User 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
| Property | Value |
|---|---|
| Steps | 3 |
| Modules Involved | 3 |
| Criticality | Critical |
Processing Steps
| Step | Action | Purpose |
|---|---|---|
| 1 | authoring (entry point, imports 10 modules) | Data acquisition |
| 2 | framework-authoring (shared infrastructure, used by 5 files) | Security check |
| 3 | runtime-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
| Module | Role |
|---|---|
authoring | Authentication and authorization logic |
framework-authoring | Authentication and authorization logic |
runtime-error | User 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
| Property | Value |
|---|---|
| Steps | 3 |
| Modules Involved | 3 |
| Criticality | Critical |
Processing Steps
| Step | Action | Purpose |
|---|---|---|
| 1 | codec (entry point, imports 10 modules) | Data acquisition |
| 2 | data-type (shared infrastructure, used by 6 files) | Processing step |
| 3 | runtime-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
| Module | Role |
|---|---|
codec | User interface components |
data-type | User interface components |
runtime-error | User 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
| Property | Value |
|---|---|
| Steps | 2 |
| Modules Involved | 2 |
| Criticality | Critical |
Processing Steps
| Step | Action | Purpose |
|---|---|---|
| 1 | components (entry point, imports 7 modules) | Data acquisition |
| 2 | runtime-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
| Module | Role |
|---|---|
components | User interface components |
runtime-error | User 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
| Metric | Value | Meaning |
|---|---|---|
| Total Edges | 280 | Direct import relationships |
| Hub Count | 0 | Central integration points |
| Avg Connections | ~1.4 per file | Coupling 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 -->  ยท Examples
Architecture Diff
No changes detected.
<!-- repolens:docs-badge -->  ยท Examples
System Map
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 -->  ยท Examples
Developer Onboarding
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
- โ Repository structure and organization
- โ Technology stack and tools
- โ Key modules to understand first
- โ How data flows through the system
- โ How to start contributing
Quick Reference Card
| Aspect | Details |
|---|---|
| Languages | TypeScript, Node.js |
| Frameworks | general-purpose tools |
| Build Tools | Turborepo |
| Testing | Vitest |
| Size | 9 modules, 206 files |
| Domains | 4 functional areas |
| Type | Command-line interface |
Repository Structure
Understanding the directory layout is your first step to navigating the codebase:
| Directory | Purpose | Start Here? |
|---|---|---|
packages/1-framework/1-core | Project files | โ |
packages/2-sql/1-core | Project 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
| Layer | Technologies | What to Learn |
|---|---|---|
| Language | TypeScript, Node.js | Strong typing โ check types when debugging |
| Build | Turborepo | Understand the build pipeline |
| Testing | Vitest | Run 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:
| Priority | Module | Files | Type | Why It Matters |
|---|---|---|---|---|
| โญ High | packages/1-framework/1-core/framework-components | 89 | UI Components | User experience โ see visible behavior |
| โญ High | packages/2-sql/1-core/contract | 64 | core | Large module โ core functionality |
| โญ High | packages/2-sql/1-core/schema-ir | 19 | core | Key system component |
| Medium | packages/1-framework/1-core/errors | 9 | core | Key system component |
| Medium | packages/1-framework/1-core/ts-render | 8 | core | Key system component |
| Medium | packages/1-framework/1-core/config | 6 | config | Key system component |
| Low | packages/1-framework/1-core/operations | 4 | core | Key system component |
| Low | packages/2-sql/1-core/errors | 4 | core | Key system component |
| Low | packages/2-sql/1-core/operations | 3 | core | Key system component |
How Data Flows
Understanding these flows helps you see how the system processes information end-to-end:
| Flow | Description | Key Modules |
|---|---|---|
| control Request Flow | Import chain starting from `packages/1-framework/1-core/fram... | control, tagged-literal |
| runtime Request Flow | Import chain starting from `packages/1-framework/1-core/fram... | runtime, runtime-error |
| authoring Request Flow | Import chain starting from `packages/1-framework/1-core/fram... | authoring, framework-authoring |
| codec Request Flow | Import chain starting from `packages/1-framework/1-core/fram... | codec, data-type |
| components Request Flow | Import 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.mdfor project-specific instructions - Look for
CONTRIBUTING.mdfor 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:
- Find a small bug or typo to fix
- Make the change in a feature branch
- Run tests to ensure nothing breaks
- Submit a pull request for review
Common Pitfalls
New contributors often run into these issues:
- Environment setup โ Check for
.env.examplefiles and ensure you have all required environment variables. - Branch naming โ Follow the team's branch naming conventions (usually
feature/,fix/,docs/).
Additional Resources
| Resource | Purpose |
|---|---|
README.md | Project overview and quick start |
CONTRIBUTING.md | Contribution guidelines (if exists) |
CHANGELOG.md | Recent changes and release history |
package.json | Available 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 -->  ยท Examples
GraphQL Schema
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 -->  ยท Examples
TypeScript Type Graph
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:
| Interface | Extends | Source |
|---|---|---|
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 |
PslContractSourceProvider | ContractSourceProviderBase | packages/1-framework/1-core/config/src/contract-source-types.ts |
TypeScriptContractSourceProvider | ContractSourceProviderBase | packages/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 |
MigrationPlanWithAuthoringSurface | MigrationPlan | packages/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 |
MigrationPlannerSuccessResult | MigrationPlanSubjects | packages/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 |
MigrationRunnerFailure | StructuredError | packages/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 |
FailedCast | FailedTypeChangeOf | packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts |
FailedConversion | FailedTypeChangeOf | packages/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 |
FieldCoordinate | ModelCoordinate | packages/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 |
MigrationAccessChange | MigrationOperationSubject | packages/1-framework/1-core/framework-components/src/control/migration-statements.ts |
MigrationDataLoss | MigrationOperationSubject | packages/1-framework/1-core/framework-components/src/control/migration-statements.ts |
MigrationTemporaryValue | MigrationOperationSubject | packages/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 |
FieldCoordinateJson | ModelCoordinateJson | packages/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 |
TransactionActivity | ActivityBase | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
ClientActivityRegistry | โ | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
ClientActivityRegistry | Record, 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 |
Namespace | IRNode, StorageNamespace | packages/1-framework/1-core/framework-components/src/ir/namespace.ts |
StorageType | IRNode | packages/1-framework/1-core/framework-components/src/ir/storage-type.ts |
EntityCoordinate | โ | packages/1-framework/1-core/framework-components/src/ir/storage.ts |
Storage | IRNode | packages/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 |
CodecLookupWithDescriptors | CodecLookup | packages/1-framework/1-core/framework-components/src/shared/codec-types.ts |
CodecRegistry | CodecLookupWithDescriptors | packages/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 |
AuthoringFieldPresetOutput | AuthoringStorageTypeTemplate | packages/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 |
AuthoringModelAttributeContext | AuthoringEntityContext | packages/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 |
PslBlockDescriptorEntry | DescriptorEntry | packages/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 |
AssembledControlMutationDefaults | ControlMutationDefaults | packages/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 |
RuntimeErrorEnvelope | Error | packages/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 |
IntegerStep | NumberClassification | packages/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 |
SqlAuthoringContributions | AuthoringContributions | packages/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 |
StorageTypeInstance | StorageType | packages/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:
| Class | Extends | Implements | Source |
|---|---|---|---|
CliStructuredError | Error | StructuredError | packages/1-framework/1-core/errors/src/control.ts |
SchemaTreeNode | โ | โ | packages/1-framework/1-core/framework-components/src/control/control-schema-view.ts |
PslNamespaceNode | โ | PslNamespace | packages/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 | โ | IRNode | packages/1-framework/1-core/framework-components/src/ir/ir-node.ts |
NamespaceBase | IRNodeBase | Namespace | packages/1-framework/1-core/framework-components/src/ir/namespace.ts |
TsExpression | โ | โ | packages/1-framework/1-core/ts-render/src/ts-expression.ts |
IndexTypeRegistryImpl | โ | IndexTypeRegistry | packages/2-sql/1-core/contract/src/index-types.ts |
SqlExpression | โ | โ | packages/2-sql/1-core/contract/src/sql-expression.ts |
CheckConstraint | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/check-constraint.ts |
ForeignKeyReference | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/foreign-key-reference.ts |
ForeignKey | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/foreign-key.ts |
PrimaryKey | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/primary-key.ts |
Index | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/sql-index.ts |
SqlNode | IRNodeBase | โ | packages/2-sql/1-core/contract/src/ir/sql-node.ts |
SqlNamespaceBase | NamespaceBase | SqlNamespace | packages/2-sql/1-core/contract/src/ir/sql-storage.ts |
StorageColumn | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/storage-column.ts |
StorageTable | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/storage-table.ts |
StorageValueSet | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/storage-value-set.ts |
UniqueConstraint | SqlNode | โ | packages/2-sql/1-core/contract/src/ir/unique-constraint.ts |
PrimaryKey | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/primary-key.ts |
SqlCheckConstraintIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-check-constraint-ir.ts |
SqlColumnDefaultIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts |
SqlColumnIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts |
SqlForeignKeyIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts |
SqlIndexIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts |
SqlSchemaIRNode | IRNodeBase | โ | packages/2-sql/1-core/schema-ir/src/ir/sql-schema-ir-node.ts |
SqlSchemaIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-schema-ir.ts |
SqlTableIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-table-ir.ts |
SqlUniqueIR | SqlSchemaIRNode | DiffableNode | packages/2-sql/1-core/schema-ir/src/ir/sql-unique-ir.ts |
Type Aliases
253 type aliases define computed or composite types:
| Type | References | Source |
|---|---|---|
CliDriver | ControlDriverInstance | packages/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 |
ContractSourceProvider | PslContractSourceProvider, TypeScriptContractSourceProvider | packages/1-framework/1-core/config/src/contract-source-types.ts |
OperationKind | โ | packages/1-framework/1-core/framework-components/src/annotations.ts |
AnnotationSource | ReadonlyMap | packages/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 |
MigrationPlannerResult | MigrationPlannerSuccessResult, MigrationPlannerFailureResult | packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts |
FailedTypeChange | FailedCast, FailedConversion | packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts |
MigrationRunnerResult | Result, MigrationRunnerSuccessValue, MigrationRunnerFailure | packages/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 |
SpaceSignature | SpaceSigned, SpaceMarkerConflict | packages/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 |
ResolvedRenameStatement | ResolvedModelRenameStatement, ResolvedFieldRenameStatement | packages/1-framework/1-core/framework-components/src/control/migration-statements.ts |
ResolvedMigrationStatement | ResolvedRenameStatement, ResolvedFieldConvertStatement, ResolvedFieldBackfillStatement | packages/1-framework/1-core/framework-components/src/control/migration-statements.ts |
MigrationSubject | ModelCoordinate, FieldCoordinate | packages/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 |
MigrationSubjectJson | ModelCoordinateJson, FieldCoordinateJson | packages/1-framework/1-core/framework-components/src/control/migration-statements.ts |
OrderNode | SchemaDiffIssue, TNode | packages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts |
PslDefaultValue | PslDefaultFunctionValue, PslDefaultLiteralValue | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslAttributeTarget | โ | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslAttributeArgument | PslAttributePositionalArgument, PslAttributeNamedArgument | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslReferentialAction | โ | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslFieldAttribute | PslAttribute | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslModelAttribute | PslAttribute | packages/1-framework/1-core/framework-components/src/control/psl-ast.ts |
PslNamespaceEntry | PslModel, PslCompositeType, PslExtensionBlock | packages/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 |
VerifierOutcome | VerificationStatus | packages/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 |
Row | ResultType, P, R | packages/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 |
ClientActivityResult | K, ClientActivityRegistry, R | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
Activity | StatementActivity, TransactionActivity, ClientActivity | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
ActivityContextFields | TContext | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
StatementEnded | โ | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
ActivityEndedResult | TransactionEnded, StatementEnded, ClientActivityEnded | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
ParamRefMutator | PARAM_REF_MUTATOR_BRAND | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
CrossFamilyMiddleware | RuntimeMiddleware, TPlan | packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts |
RelationNamesOf | Rel, M | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
Rel | M, RelationKeys, R, Extract | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
Scalars | M, RelationKeys, Rel | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
Shape | ShapeOf, M, Spec | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
ShapeSpec | K, Spec, Exclude, PlusNames, M, ScalarNamesOf, RelationNamesOf, ShapeSpec, RelatedModel, UnknownSpecKey | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
PlusNames | Spec, RelationNamesOf, M, ScalarNamesOf | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
UnknownSpecKey | RelationNamesOf, M, K | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
ScalarNamesOf | M, Scalars | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
RelatedModel | M, K, UnwrapRelation | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
UnwrapRelation | V, Item, NonNullable | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
ShapeOf | ShapeOfEach, M, Spec, PlusNamesAScalar | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
PlusNamesAScalar | Spec, Keep, Extract, ScalarNamesOf, M | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
ShapeOfEach | M, Flatten, KeptScalars, Spec, Narrow, K, IncludedRelations, WrapLike, ShapeOf, RelatedModel, NestedSpec | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
KeptScalars | Narrow, Spec, Keep, Scalars, M, Extract, Drop, PropertyKey | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
IncludedRelations | Extract, Spec, Keep, RelationNamesOf, M | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
NestedSpec | K, Spec | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
WrapLike | V, R | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
Flatten | K, T | packages/1-framework/1-core/framework-components/src/execution/shape.ts |
TransactionSettlement | โ | packages/1-framework/1-core/framework-components/src/execution/transaction-activity.ts |
DefaultNamespaceEntries | TStorage, UNBOUND_NAMESPACE_ID, E | packages/1-framework/1-core/framework-components/src/ir/contract-view.ts |
SingleNamespaceView | K, TBuiltinKinds, TEntries, NonNullable | packages/1-framework/1-core/framework-components/src/ir/contract-view.ts |
EntriesOf | TNamespace, E | packages/1-framework/1-core/framework-components/src/ir/contract-view.ts |
NamespacedEntities | Ns, TStorage, SingleNamespaceView, EntriesOf, TBuiltinKinds | packages/1-framework/1-core/framework-components/src/ir/contract-view.ts |
AnyEntityKindDescriptor | EntityKindDescriptor | packages/1-framework/1-core/framework-components/src/ir/entity-kind.ts |
AggregateInputMatch | โ | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AggregateOutputCodec | SelfAggregateOutput, NamedAggregateOutput | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AggregateResultNullability | โ | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AggregateDescriptorBase | AggregateResultNullability, The | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
NoInputAggregateDescriptor | AggregateDescriptorBase | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AnyInputAggregateDescriptor | AggregateDescriptorBase | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
ValueInputAggregateDescriptor | AggregateDescriptorBase | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AggregateDescriptor | NoInputAggregateDescriptor, AnyInputAggregateDescriptor, ValueInputAggregateDescriptor | packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts |
AuthoringTypeConstructorOutput | ReturnType | packages/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 |
AnyCodecDescriptorTemplate | CodecDescriptorTemplate | packages/1-framework/1-core/framework-components/src/shared/codec-descriptor.ts |
AnyCodecDescriptor | CodecDescriptor | packages/1-framework/1-core/framework-components/src/shared/codec-descriptor.ts |
CodecTrait | CODEC_TRAITS | packages/1-framework/1-core/framework-components/src/shared/codec-types.ts |
ColumnTypeDescriptor | TCodecId | packages/1-framework/1-core/framework-components/src/shared/column-spec.ts |
EntityRef | โ | packages/1-framework/1-core/framework-components/src/shared/column-spec.ts |
AuthoringTree | D, AuthoringTree | packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts |
DataTypeId | DataTypeId | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
Cast | JsonValue | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
DataTypeParams | โ | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
DataTypeValue | DataTypeValueRecord, J | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
DataTypeReader | JsonValue, DataTypeParams | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
DataTypeSpelling | JsonValue, DataTypeParams | packages/1-framework/1-core/framework-components/src/shared/data-type.ts |
SchemaProp | PropertyKey | packages/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 |
AuthoringTemplateValue | AuthoringArgRef, AuthoringSelectRef, AuthoringTemplateValue | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringArgumentDescriptor | AuthoringArgumentDescriptorCommon, ValueArgumentKind | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringValueArgument | Extract, AuthoringArgumentDescriptor | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringColumnDefaultTemplate | AuthoringColumnDefaultTemplateLiteral, AuthoringColumnDefaultTemplateFunction | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringTypeNamespace | AuthoringTypeConstructorDescriptor, AuthoringTypeNamespace | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringFieldNamespace | AuthoringFieldPresetDescriptor, AuthoringFieldNamespace | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
WrittenValueReading | โ | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringEntityTypeNamespace | AuthoringEntityTypeDescriptor, AuthoringEntityTypeNamespace | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringPslBlockDescriptorNamespace | AuthoringPslBlockDescriptor, AuthoringPslBlockDescriptorNamespace | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringModelAttributeLoweringOutput | AuthoringModelAttributeEntityOutput, AuthoringModelAttributeIndexOutput | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringModelAttributeDescriptorNamespace | AuthoringModelAttributeDescriptor, AuthoringModelAttributeDescriptorNamespace | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
DataTypeWrittenForm | โ | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
AuthoringNamespaceTree | D, AuthoringNamespaceTree | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts |
CodecTypes | Example, Vector, N, ReadonlyArray, TypesImportSpec | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
FamilyPackRef | PackRefBase, TFamilyId | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
TargetPackRef | PackRefBase, TFamilyId, TTargetId | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
AdapterPackRef | PackRefBase, TFamilyId, TTargetId | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
ExtensionPackRef | PackRefBase, TFamilyId, TTargetId | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
DriverPackRef | PackRefBase, TFamilyId, TTargetId | packages/1-framework/1-core/framework-components/src/shared/framework-components.ts |
TargetBoundComponentDescriptor | TargetDescriptor, TFamilyId, TTargetId, AdapterDescriptor, DriverDescriptor, ExtensionDescriptor | packages/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 |
ArgumentOut | Type, SignatureArgumentOutput, Out, Exclude | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
PositionalArguments | Params, Head, Rest, Type, SignatureOptionalArgument, ArgumentOut, PositionalArguments | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
SignatureObject | Signature, Built | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
GeneratorHelper | SignatureObject, Signature, Params, PositionalArguments, GeneratorFunctionCall | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
ContributionsOf | Component, Contributions | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
Declared | Contribution | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
ExtensionPackValues | Extensions, Pack | packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts |
GeneratorHelpersOf | Contribution, Declared, ContributionsOf, Component, GeneratorHelper | packages/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 |
ControlMutationDefaultRegistry | ReadonlyMap, ControlMutationDefaultEntry | packages/1-framework/1-core/framework-components/src/shared/mutation-default-types.ts |
PslDiagnosticCode | PSL_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_STRING | packages/1-framework/1-core/framework-components/src/shared/psl-extension-block.ts |
ContributedPslDiagnosticCode | PSL_ | 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 |
PresetStorageTemplate | ScalarTypeConstructorOutput, AuthoringStorageTypeTemplate | packages/1-framework/1-core/framework-components/src/shared/temporal-presets.ts |
WrittenValue | โ | packages/1-framework/1-core/framework-components/src/shared/written-value.ts |
WrittenScalar | Exclude, WrittenValue | packages/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 |
ContractCode | CONTRACT, ContractSubcode | packages/1-framework/1-core/operations/src/contract-errors.ts |
ContractSubcode | PACK_CONTRIBUTION_INVALID | packages/1-framework/1-core/operations/src/contract-errors.ts |
SelfSpec | โ | packages/1-framework/1-core/operations/src/index.ts |
OperationDescriptor | T | packages/1-framework/1-core/operations/src/index.ts |
OperationDescriptors | OperationDescriptor, T | packages/1-framework/1-core/operations/src/index.ts |
ContractCode | CONTRACT, ContractSubcode | packages/1-framework/1-core/ts-render/src/contract-errors.ts |
ContractSubcode | PACK_CONTRIBUTION_INVALID | packages/1-framework/1-core/ts-render/src/contract-errors.ts |
JsonValue | JsonValue, JsonObject | packages/1-framework/1-core/ts-render/src/json-to-ts-source.ts |
JsonObject | JsonValue | packages/1-framework/1-core/ts-render/src/json-to-ts-source.ts |
AuthoredCheckInput | โ | packages/2-sql/1-core/contract/src/authored-check-naming.ts |
StorageColumnMapAt | SCT, NsId, TableName | packages/2-sql/1-core/contract/src/column-type-resolution.ts |
StorageColumnTypeAcrossNamespaces | Ns, SCT, TableName, ColumnName | packages/2-sql/1-core/contract/src/column-type-resolution.ts |
ContractCode | CONTRACT, ContractSubcode | packages/2-sql/1-core/contract/src/contract-errors.ts |
ContractSubcode | ARGUMENT_INVALID, CODEC_DESCRIPTOR_MISSING, DATA_TYPE_UNREGISTERED, INDEX_INVALID, PACK_CONTRIBUTION_INVALID, SQL_EXPRESSION_INTERPOLATION, SQL_EXPRESSION_INVALID, TABLE_AMBIGUOUS, TYPE_PARAMS_INVALID, VALIDATION_FAILED | packages/2-sql/1-core/contract/src/contract-errors.ts |
SqlBuiltinKind | SQL_BUILTIN_KINDS | packages/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 |
HydratableStorageTable | StorageTableInput, ReadonlyArray, Index, SerializedIndex | packages/2-sql/1-core/contract/src/entity-kinds.ts |
ColumnMultiplicityOptions | โ | packages/2-sql/1-core/contract/src/factories.ts |
BackingObject | ServingKey, IndexCandidate, UniqueConstraintInput, PrimaryKeyInput | packages/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 |
NamedKey | Keyed | packages/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 |
AuthoredIndexInput | AuthoredIndexElements, AuthoredIndexMethod | packages/2-sql/1-core/contract/src/index-naming.ts |
CodecTraitsLookup | โ | packages/2-sql/1-core/contract/src/index-type-validation.ts |
IndexTypeDeclaration | Type, TOpts | packages/2-sql/1-core/contract/src/index-types.ts |
IndexTypeMap | K | packages/2-sql/1-core/contract/src/index-types.ts |
SqlToOneRelationStorage | N | packages/2-sql/1-core/contract/src/relation-storage.ts |
SerializedIndex | IndexElements | packages/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 |
AggregateOperationTypes | AggregateResultType | packages/2-sql/1-core/contract/src/types.ts |
AggregateTypesBase | AggregateOperationTypes | packages/2-sql/1-core/contract/src/types.ts |
AggregateOverload | โ | packages/2-sql/1-core/contract/src/types.ts |
OverloadResult | Descriptor | packages/2-sql/1-core/contract/src/types.ts |
OperationsOf | Descriptors, Name | packages/2-sql/1-core/contract/src/types.ts |
ExactCodecIds | Descriptors | packages/2-sql/1-core/contract/src/types.ts |
ExactOverloads | Descriptors | packages/2-sql/1-core/contract/src/types.ts |
ClaimedTraits | Descriptors | packages/2-sql/1-core/contract/src/types.ts |
TraitOverloads | Descriptors | packages/2-sql/1-core/contract/src/types.ts |
InputlessOverload | Extract, Descriptors, Kind | packages/2-sql/1-core/contract/src/types.ts |
OperationOverloads | CodecId, ExactCodecIds, Descriptors, OverloadResult, ExactOverloads | packages/2-sql/1-core/contract/src/types.ts |
OverloadTable | Operation, OperationsOf, Descriptors, OperationOverloads, Extract | packages/2-sql/1-core/contract/src/types.ts |
IsUnionOf | T, Whole | packages/2-sql/1-core/contract/src/types.ts |
CodecTraitsOfId | CodecId, CodecTypes, Traits | packages/2-sql/1-core/contract/src/types.ts |
SettledRow | Result, Output, CodecId | packages/2-sql/1-core/contract/src/types.ts |
SettledAggregateTypes | Operation, Table, Overloads, OperationOverloads, SettledOperation, CodecTypes | packages/2-sql/1-core/contract/src/types.ts |
TypeMaps | TQueryOperationTypes, TFieldOutputTypes, NamespacedFieldTypeMap, TFieldInputTypes, TStorageColumnTypes, NamespacedStorageColumnTypeMap, TStorageColumnInputTypes, TAggregateTypes, AggregateTypesBase, TCodecTypes | packages/2-sql/1-core/contract/src/types.ts |
AggregateTypesOf | T, A, AggregateTypesBase | packages/2-sql/1-core/contract/src/types.ts |
CodecTypesOf | T, C | packages/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 |
QueryOperationTypeEntry | QueryOperationSelfSpec | packages/2-sql/1-core/contract/src/types.ts |
QueryOperationTypesBase | QueryOperationTypeEntry | packages/2-sql/1-core/contract/src/types.ts |
QueryOperationTypesOf | T, Q | packages/2-sql/1-core/contract/src/types.ts |
TypeMapsPhantomKey | โ | packages/2-sql/1-core/contract/src/types.ts |
ContractWithTypeMaps | TContract, K, TypeMapsPhantomKey, TTypeMaps | packages/2-sql/1-core/contract/src/types.ts |
ExtractTypeMapsFromContract | TypeMapsPhantomKey, T, NonNullable | packages/2-sql/1-core/contract/src/types.ts |
FieldOutputTypesOf | T, F, NamespacedFieldTypeMap | packages/2-sql/1-core/contract/src/types.ts |
FieldInputTypesOf | T, F, NamespacedFieldTypeMap | packages/2-sql/1-core/contract/src/types.ts |
StorageColumnTypesOf | T, F, NamespacedStorageColumnTypeMap | packages/2-sql/1-core/contract/src/types.ts |
StorageColumnInputTypesOf | T, F, NamespacedStorageColumnTypeMap | packages/2-sql/1-core/contract/src/types.ts |
ExtractCodecTypes | CodecTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractQueryOperationTypes | QueryOperationTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractFieldOutputTypes | FieldOutputTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractFieldInputTypes | FieldInputTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractStorageColumnTypes | StorageColumnTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractStorageColumnInputTypes | StorageColumnInputTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ExtractAggregateTypes | AggregateTypesOf, ExtractTypeMapsFromContract, T | packages/2-sql/1-core/contract/src/types.ts |
ResolveCodecTypes | TTypeMaps, ExtractCodecTypes, TContract, CodecTypesOf | packages/2-sql/1-core/contract/src/types.ts |
NamespacedStorageWalk | Namespace | packages/2-sql/1-core/contract/src/validators.ts |
Lookup | Key, T | packages/2-sql/1-core/contract/src/value-type-maps.ts |
TypeParamsOf | T, TypeParams | packages/2-sql/1-core/contract/src/value-type-maps.ts |
ColumnTypeParams | Column, TypeParams | packages/2-sql/1-core/contract/src/value-type-maps.ts |
TablesOf | Lookup, Namespace | packages/2-sql/1-core/contract/src/value-type-maps.ts |
ColumnTypesFromStorage | Ns, Lookup, Storage, T, TablesOf, C, Column, StoredValueType, ColumnTypeParams, NonNullable, Overrides, CodecTypes, ParameterizedOutputs, Side | packages/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 |
IndexElements | Column | packages/2-sql/1-core/contract/src/ir/sql-index.ts |
IndexInput | IndexElements, The, Read, SqlObjectNaming | packages/2-sql/1-core/contract/src/ir/sql-index.ts |
SqlStorageTypeEntry | StorageTypeInstance, StorageTypeInstanceInput | packages/2-sql/1-core/contract/src/ir/sql-storage.ts |
SqlNamespaceFactory | SqlNamespaceInput, Namespace | packages/2-sql/1-core/contract/src/ir/sql-storage.ts |
SqlNamespaceEntries | StorageTable | packages/2-sql/1-core/contract/src/ir/sql-storage.ts |
StorageColumnMultiplicity | โ | packages/2-sql/1-core/contract/src/ir/storage-column.ts |
StorageColumnInput | The | packages/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 |
AuthoredStorageTypeInstance | StorageTypeInstance | packages/2-sql/1-core/contract/src/ir/storage-type-instance.ts |
StorageTypeInstanceInput | StorageTypeInstance | packages/2-sql/1-core/contract/src/ir/storage-type-instance.ts |
SqlOperationEntry | QueryOperationTypeEntry | packages/2-sql/1-core/operations/src/index.ts |
SqlOperationDescriptor | OperationDescriptor, SqlOperationEntry | packages/2-sql/1-core/operations/src/index.ts |
SqlOperationDescriptors | OperationDescriptors, SqlOperationEntry | packages/2-sql/1-core/operations/src/index.ts |
SqlOperationRegistry | OperationRegistry, SqlOperationEntry | packages/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 |
RelationalSchemaNodeKind | RelationalSchemaNodeKind | packages/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 |
SqlColumnType | SqlColumnIR | packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts |
SqlDefaultValue | DataTypeValue | packages/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 |
SqlIndexElements | Column | packages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts |
SqlIndexIRInput | SqlIndexElements, The, Read, SqlObjectNaming | packages/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 -->  ยท Examples
Dependency Graph
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
| Metric | Value |
|---|---|
| Source files | 206 |
| Import edges | 280 |
| External packages | 12 |
| Circular dependencies | 0 |
| 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 -->  ยท Examples
Architecture Drift
No baseline found. Run
repolens publishonce 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:
| Dimension | What is Tracked |
|---|---|
| Modules | New, removed, or significantly resized modules |
| API Endpoints | Added or removed backend routes |
| Dependencies | Changes to external package imports |
| Frameworks | Technology stack additions or removals |
| Circular Dependencies | Increases in dependency cycles |
| GraphQL Schema | Type additions or removals |
| Codebase Scale | Overall file count changes |
<!-- repolens:docs-badge -->  ยท Examples
Security Hotspots
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
| Severity | Count |
|---|---|
| ๐ก Medium | 1 |
| ๐ต Low | 8 |
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.
| File | Line | Pattern | Severity | CWE |
|---|---|---|---|---|
packages/1-framework/1-core/errors/src/control.ts | 95 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
packages/1-framework/1-core/errors/src/control.ts | 440 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
packages/1-framework/1-core/framework-components/src/annotations.ts | 189 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts | 416 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
packages/1-framework/1-core/framework-components/src/execution/runtime-error.ts | 37 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
packages/1-framework/1-core/framework-components/src/shared/runtime-error.ts | 37 | Recursive object merge without prototype check | ๐ต Low | CWE-1321 |
SQL Injection
Template literals with SQL and variable interpolation may be vulnerable. Use parameterized queries.
| File | Line | Pattern | Severity | CWE |
|---|---|---|---|---|
packages/1-framework/1-core/errors/src/execution.ts | 92 | SQL in template literals with interpolation | ๐ก Medium | CWE-89 |
ReDoS
Dynamic regex construction from user input can cause ReDoS. Use static regex or input validation.
| File | Line | Pattern | Severity | CWE |
|---|---|---|---|---|
packages/2-sql/1-core/contract/src/sql-data-type.ts | 115 | Potentially catastrophic regex | ๐ต Low | CWE-1333 |
packages/2-sql/1-core/contract/src/sql-raw.ts | 23 | Potentially catastrophic regex | ๐ต Low | CWE-1333 |
Affected Files
packages/1-framework/1-core/errors/src/control.tspackages/1-framework/1-core/errors/src/execution.tspackages/1-framework/1-core/framework-components/src/annotations.tspackages/1-framework/1-core/framework-components/src/control/control-migration-types.tspackages/1-framework/1-core/framework-components/src/execution/runtime-error.tspackages/1-framework/1-core/framework-components/src/shared/runtime-error.tspackages/2-sql/1-core/contract/src/sql-data-type.tspackages/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 -->  ยท Examples
Code Health Report
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
| Metric | Value |
|---|---|
| Files analyzed | 206 |
| Average health score | 90/100 |
| Average complexity | 15 |
| Hotspots (score < 60) | 20 |
Grade Distribution
| Grade | Count | Meaning |
|---|---|---|
| ๐ข A (80โ100) | 164 | Healthy โ low complexity, well-documented |
| ๐ต B (60โ79) | 18 | Acceptable โ minor improvements possible |
| ๐ก C (40โ59) | 20 | Needs attention โ elevated complexity or coupling |
| ๐ D (20โ39) | 4 | At risk โ multiple quality signals degraded |
| ๐ด F (0โ19) | 0 | Critical โ immediate refactoring recommended |
Hotspots โ Priority Refactoring Targets
These modules have the lowest health scores and should be prioritized for improvement:
| Module | Score | Grade | Complexity | Coupling | Doc% | Security |
|---|---|---|---|---|---|---|
packages/2-sql/1-core/contract/src/types.ts | 34 | ๐ D | 81 | 2โ 14โ | 0% | โ |
packages/1-framework/1-core/framework-components/src/control/control-stack.ts | 35 | ๐ D | 99 | 1โ 8โ | 33% | โ |
packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts | 35 | ๐ D | 44 | 4โ 1โ | 33% | โ |
packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 35 | ๐ D | 354 | 5โ 1โ | 39% | โ |
packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts | 45 | ๐ก C | 53 | 2โ 3โ | 100% | โ |
packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts | 45 | ๐ก C | 42 | 2โ 1โ | 100% | โ |
packages/2-sql/1-core/contract/src/date-time-stored-form.ts | 45 | ๐ก C | 79 | 1โ 0โ | 100% | โ |
packages/2-sql/1-core/contract/src/index-naming.ts | 45 | ๐ก C | 47 | 3โ 2โ | 100% | โ |
packages/2-sql/1-core/contract/src/sql-data-type.ts | 45 | ๐ก C | 131 | 3โ 1โ | 100% | 1 (0 high) |
packages/2-sql/1-core/contract/src/validators.ts | 45 | ๐ก C | 199 | 1โ 6โ | 91% | โ |
packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts | 46 | ๐ก C | 38 | 3โ 1โ | 100% | โ |
packages/1-framework/1-core/framework-components/src/shared/framework-components.ts | 46 | ๐ก C | 34 | 2โ 0โ | 0% | โ |
packages/1-framework/1-core/framework-components/src/shared/written-value.ts | 52 | ๐ก C | 68 | 1โ 2โ | 100% | โ |
packages/1-framework/1-core/framework-components/src/shared/data-type.ts | 54 | ๐ก C | 64 | 6โ 4โ | 92% | โ |
packages/2-sql/1-core/contract/src/factories.ts | 54 | ๐ก C | 34 | 1โ 2โ | 0% | โ |
packages/1-framework/1-core/errors/src/execution.ts | 55 | ๐ก C | 38 | 1โ 1โ | 89% | 1 (0 high) |
packages/1-framework/1-core/errors/src/control.ts | 56 | ๐ก C | 118 | 3โ 1โ | 100% | 2 (0 high) |
packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts | 57 | ๐ก C | 35 | 1โ 1โ | 100% | โ |
packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts | 58 | ๐ก C | 34 | 1โ 1โ | 0% | โ |
packages/1-framework/1-core/ts-render/src/render-imports.ts | 58 | ๐ก C | 51 | 1โ 1โ | 100% | โ |
Most Complex Functions
These functions have the highest cyclomatic complexity and are the most likely sources of bugs:
| Function | File | Line | Complexity |
|---|---|---|---|
applyFkDefaults() | packages/2-sql/1-core/contract/src/types.ts | 88 | 74 |
isWellFormedDescriptor() | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 770 | 44 |
registerNamedObject() | packages/2-sql/1-core/contract/src/validators.ts | 691 | 37 |
validateSqlStorageConsistency() | packages/2-sql/1-core/contract/src/validators.ts | 983 | 34 |
dateTimeStoredText() | packages/2-sql/1-core/contract/src/date-time-stored-form.ts | 302 | 32 |
planOriginOf() | packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts | 104 | 31 |
lowerAuthoredIndex() | packages/2-sql/1-core/contract/src/index-naming.ts | 138 | 30 |
checkMarks() | packages/2-sql/1-core/contract/src/sql-data-type.ts | 152 | 29 |
buildsUp() | packages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts | 17 | 23 |
hooksOf() | packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts | 164 | 23 |
invalid() | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 1083 | 23 |
validateAuthoringArgument() | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 1598 | 23 |
resolveEnumCodecId() | packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 339 | 22 |
buildExtensionLoadOrder() | packages/1-framework/1-core/framework-components/src/control/control-stack.ts | 644 | 21 |
enforceDataTypeAssemblyInvariants() | packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts | 201 | 19 |
All Modules by Health Score
Showing 50 of 206 modules (sorted worst-first)
| Module | Score | Grade | Lines | Complexity | Fan-In | Fan-Out |
|---|---|---|---|---|---|---|
packages/2-sql/1-core/contract/src/types.ts | 34 | ๐ D | 437 | 81 | 2 | 14 |
packages/1-framework/1-core/framework-components/src/control/control-stack.ts | 35 | ๐ D | 764 | 99 | 1 | 8 |
packages/1-framework/1-core/framework-components/src/execution/activity-lifecycle.ts | 35 | ๐ D | 322 | 44 | 4 | 1 |
packages/1-framework/1-core/framework-components/src/shared/framework-authoring.ts | 35 | ๐ D | 1961 | 354 | 5 | 1 |
packages/1-framework/1-core/framework-components/src/shared/data-type-support.ts | 45 | ๐ก C | 318 | 53 | 2 | 3 |
packages/1-framework/1-core/framework-components/src/shared/generator-functions.ts | 45 | ๐ก C | 297 | 42 | 2 | 1 |
packages/2-sql/1-core/contract/src/date-time-stored-form.ts | 45 | ๐ก C | 395 | 79 | 1 | 0 |
packages/2-sql/1-core/contract/src/index-naming.ts | 45 | ๐ก C | 222 | 47 | 3 | 2 |
packages/2-sql/1-core/contract/src/sql-data-type.ts | 45 | ๐ก C | 722 | 131 | 3 | 1 |
packages/2-sql/1-core/contract/src/validators.ts | 45 | ๐ก C | 1384 | 199 | 1 | 6 |
packages/1-framework/1-core/framework-components/src/shared/aggregate-descriptor.ts | 46 | ๐ก C | 181 | 38 | 3 | 1 |
packages/1-framework/1-core/framework-components/src/shared/framework-components.ts | 46 | ๐ก C | 408 | 34 | 2 | 0 |
packages/1-framework/1-core/framework-components/src/shared/written-value.ts | 52 | ๐ก C | 391 | 68 | 1 | 2 |
packages/1-framework/1-core/framework-components/src/shared/data-type.ts | 54 | ๐ก C | 371 | 64 | 6 | 4 |
packages/2-sql/1-core/contract/src/factories.ts | 54 | ๐ก C | 137 | 34 | 1 | 2 |
packages/1-framework/1-core/errors/src/execution.ts | 55 | ๐ก C | 240 | 38 | 1 | 1 |
packages/1-framework/1-core/errors/src/control.ts | 56 | ๐ก C | 628 | 118 | 3 | 1 |
packages/1-framework/1-core/framework-components/src/execution/mutation-defaults.ts | 57 | ๐ก C | 242 | 35 | 1 | 1 |
packages/1-framework/1-core/framework-components/src/execution/runtime-middleware.ts | 58 | ๐ก C | 258 | 34 | 1 | 1 |
packages/1-framework/1-core/ts-render/src/render-imports.ts | 58 | ๐ก C | 260 | 51 | 1 | 1 |
packages/2-sql/1-core/schema-ir/src/naming.ts | 58 | ๐ก C | 310 | 38 | 3 | 0 |
packages/2-sql/1-core/schema-ir/src/ir/sql-index-ir.ts | 58 | ๐ก C | 255 | 46 | 2 | 3 |
packages/1-framework/1-core/framework-components/src/control/control-migration-types.ts | 59 | ๐ก C | 805 | 32 | 1 | 0 |
packages/1-framework/1-core/framework-components/src/shared/tagged-literal.ts | 59 | ๐ก C | 225 | 35 | 3 | 0 |
packages/2-sql/1-core/schema-ir/src/ir/sql-column-default-ir.ts | 60 | ๐ต B | 222 | 60 | 2 | 3 |
packages/2-sql/1-core/schema-ir/src/ir/sql-column-ir.ts | 60 | ๐ต B | 320 | 58 | 2 | 3 |
packages/2-sql/1-core/contract/src/foreign-key-materialization.ts | 67 | ๐ต B | 300 | 29 | 1 | 5 |
packages/1-framework/1-core/framework-components/src/execution/client-activity.ts | 68 | ๐ต B | 242 | 27 | 1 | 3 |
packages/1-framework/1-core/framework-components/src/shared/generator-helpers.ts | 68 | ๐ต B | 113 | 28 | 1 | 1 |
packages/1-framework/1-core/framework-components/src/execution/run-with-middleware.ts | 70 | ๐ต B | 286 | 25 | 2 | 3 |
packages/1-framework/1-core/framework-components/src/shared/enum-block-members.ts | 70 | ๐ต B | 183 | 25 | 1 | 2 |
packages/1-framework/1-core/framework-components/src/execution/shape.ts | 71 | ๐ต B | 107 | 24 | 1 | 0 |
packages/1-framework/1-core/framework-components/src/control/order-issues-by-dependencies.ts | 72 | ๐ต B | 157 | 23 | 1 | 0 |
packages/2-sql/1-core/contract/src/ir/storage-column.ts | 75 | ๐ต B | 80 | 20 | 2 | 2 |
packages/1-framework/1-core/config/src/config-types.ts | 77 | ๐ต B | 149 | 15 | 1 | 0 |
packages/1-framework/1-core/framework-components/src/control/schema-diff.ts | 77 | ๐ต B | 303 | 29 | 2 | 0 |
packages/1-framework/1-core/operations/src/index.ts | 77 | ๐ต B | 83 | 18 | 0 | 1 |
packages/2-sql/1-core/contract/src/ir/sql-index.ts | 77 | ๐ต B | 104 | 18 | 3 | 1 |
packages/2-sql/1-core/contract/src/index-deduplication.ts | 78 | ๐ต B | 170 | 20 | 1 | 2 |
packages/2-sql/1-core/contract/src/index-equivalence.ts | 78 | ๐ต B | 152 | 22 | 4 | 0 |
packages/2-sql/1-core/contract/src/ir/storage-table.ts | 78 | ๐ต B | 84 | 17 | 2 | 7 |
packages/2-sql/1-core/schema-ir/src/ir/sql-table-ir.ts | 79 | ๐ต B | 104 | 16 | 2 | 8 |
packages/1-framework/1-core/framework-components/src/control/control-operation-results.ts | 82 | ๐ข A | 158 | 28 | 1 | 0 |
packages/1-framework/1-core/framework-components/src/shared/json-readers.ts | 82 | ๐ข A | 132 | 23 | 2 | 1 |
packages/2-sql/1-core/contract/src/index-type-validation.ts | 82 | ๐ข A | 71 | 16 | 1 | 1 |
packages/2-sql/1-core/schema-ir/src/ir/sql-foreign-key-ir.ts | 83 | ๐ข A | 129 | 27 | 2 | 2 |
packages/1-framework/1-core/framework-components/src/shared/authoring-type-constructor-call.ts | 84 | ๐ข A | 95 | 18 | 1 | 2 |
packages/2-sql/1-core/contract/src/ir/foreign-key.ts | 84 | ๐ข A | 71 | 14 | 2 | 2 |
packages/2-sql/1-core/contract/src/index-types.ts | 85 | ๐ข A | 198 | 20 | 3 | 1 |
packages/1-framework/1-core/framework-components/src/shared/enum-members.ts | 86 | ๐ข A | 131 | 22 | 1 | 3 |
Scoring Methodology
The health score (0โ100) is computed from four dimensions:
| Factor | Weight | How It's Measured |
|---|---|---|
| Complexity | โ1/pt above 10, โ2/pt above 30 | Cyclomatic complexity for JavaScript/TypeScript, Python, and Go (regex, not AST) |
| Function complexity | โ2/pt above 8 per function | Highest complexity function in the file |
| Coupling | โ1/5 units above 20 | Fan-in ร Fan-out (import connections) |
| Documentation | โ10 if <50%, โ5 if <80% | JSDoc/TSDoc coverage of exports |
| Security | โ10/high, โ5/medium finding | Security 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 -->  ยท Examples