SupermodelIRFromJSONTyped() — typescript-sdk Function Reference
Architecture documentation for the SupermodelIRFromJSONTyped() function in SupermodelIR.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 914557b1_7084_93da_cf5f_82ead0e36098["SupermodelIRFromJSONTyped()"] 8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3["SupermodelIR.ts"] 914557b1_7084_93da_cf5f_82ead0e36098 -->|defined in| 8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3 570102ba_50d4_f2e2_4f6d_4d05331e8bd5["SupermodelIRFromJSON()"] 570102ba_50d4_f2e2_4f6d_4d05331e8bd5 -->|calls| 914557b1_7084_93da_cf5f_82ead0e36098 a9c25351_663c_2b0f_5b98_624485b92f3e["SupermodelIRStatsFromJSON()"] 914557b1_7084_93da_cf5f_82ead0e36098 -->|calls| a9c25351_663c_2b0f_5b98_624485b92f3e 47d91c4e_9ddc_84bd_0e0e_d1f7d2df6917["CodeGraphEnvelopeMetadataFromJSON()"] 914557b1_7084_93da_cf5f_82ead0e36098 -->|calls| 47d91c4e_9ddc_84bd_0e0e_d1f7d2df6917 60731f7f_b055_315c_fdde_8543b6ec9de8["SupermodelIRGraphFromJSON()"] 914557b1_7084_93da_cf5f_82ead0e36098 -->|calls| 60731f7f_b055_315c_fdde_8543b6ec9de8 style 914557b1_7084_93da_cf5f_82ead0e36098 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/SupermodelIR.ts lines 134–151
export function SupermodelIRFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelIR {
if (json == null) {
return json;
}
return {
'repo': json['repo'],
'version': json['version'],
'schemaVersion': json['schemaVersion'],
'generatedAt': (new Date(json['generatedAt'])),
'summary': json['summary'] == null ? undefined : json['summary'],
'stats': SupermodelIRStatsFromJSON(json['stats']),
'metadata': CodeGraphEnvelopeMetadataFromJSON(json['metadata']),
'domains': ((json['domains'] as Array<any>).map(DomainSummaryFromJSON)),
'graph': SupermodelIRGraphFromJSON(json['graph']),
'artifacts': json['artifacts'] == null ? undefined : ((json['artifacts'] as Array<any>).map(SupermodelArtifactFromJSON)),
};
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does SupermodelIRFromJSONTyped() do?
SupermodelIRFromJSONTyped() is a function in the typescript-sdk codebase, defined in src/models/SupermodelIR.ts.
Where is SupermodelIRFromJSONTyped() defined?
SupermodelIRFromJSONTyped() is defined in src/models/SupermodelIR.ts at line 134.
What does SupermodelIRFromJSONTyped() call?
SupermodelIRFromJSONTyped() calls 3 function(s): CodeGraphEnvelopeMetadataFromJSON, SupermodelIRGraphFromJSON, SupermodelIRStatsFromJSON.
What calls SupermodelIRFromJSONTyped()?
SupermodelIRFromJSONTyped() is called by 1 function(s): SupermodelIRFromJSON.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free