SupermodelIR Type — typescript-sdk Architecture
Architecture documentation for the SupermodelIR type/interface in SupermodelIR.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 167ecba3_1ed0_511e_5bfa_e46099457872["SupermodelIR"] 8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3["SupermodelIR.ts"] 167ecba3_1ed0_511e_5bfa_e46099457872 -->|defined in| 8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3 style 167ecba3_1ed0_511e_5bfa_e46099457872 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/SupermodelIR.ts lines 52–113
export interface SupermodelIR {
/**
* Repository slug the IR was generated from.
* @type {string}
* @memberof SupermodelIR
*/
repo: string;
/**
* Version identifier for the IR content.
* @type {string}
* @memberof SupermodelIR
*/
version: string;
/**
* Version of the IR schema.
* @type {string}
* @memberof SupermodelIR
*/
schemaVersion: string;
/**
* Timestamp when the IR was generated.
* @type {Date}
* @memberof SupermodelIR
*/
generatedAt: Date;
/**
* High-level metadata and summary insights including filesProcessed, classes, functions, types, primaryLanguage, and domains count.
* @type {{ [key: string]: any; }}
* @memberof SupermodelIR
*/
summary?: { [key: string]: any; };
/**
*
* @type {SupermodelIRStats}
* @memberof SupermodelIR
*/
stats: SupermodelIRStats;
/**
*
* @type {CodeGraphEnvelopeMetadata}
* @memberof SupermodelIR
*/
metadata: CodeGraphEnvelopeMetadata;
/**
* Array of discovered domain entities
* @type {Array<DomainSummary>}
* @memberof SupermodelIR
*/
domains: Array<DomainSummary>;
/**
*
* @type {SupermodelIRGraph}
* @memberof SupermodelIR
*/
graph: SupermodelIRGraph;
/**
* Per-source statistics and metadata for parse graph, call graph, and domain classification.
* @type {Array<SupermodelArtifact>}
* @memberof SupermodelIR
*/
artifacts?: Array<SupermodelArtifact>;
}
Defined In
Source
Frequently Asked Questions
What is the SupermodelIR type?
SupermodelIR is a type/interface in the typescript-sdk codebase, defined in src/models/SupermodelIR.ts.
Where is SupermodelIR defined?
SupermodelIR is defined in src/models/SupermodelIR.ts at line 52.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free