Home / Function/ CodeGraphEnvelopeMetadataToJSON() — typescript-sdk Function Reference

CodeGraphEnvelopeMetadataToJSON() — typescript-sdk Function Reference

Architecture documentation for the CodeGraphEnvelopeMetadataToJSON() function in CodeGraphEnvelopeMetadata.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  3cde4bc3_c310_187f_685b_2facc3baa690["CodeGraphEnvelopeMetadataToJSON()"]
  186d4831_8762_a226_ba9c_56a473680dce["CodeGraphEnvelopeToJSON()"]
  186d4831_8762_a226_ba9c_56a473680dce -->|calls| 3cde4bc3_c310_187f_685b_2facc3baa690
  033450c3_991f_e7ac_481a_06b557be5199["DomainClassificationResponseToJSON()"]
  033450c3_991f_e7ac_481a_06b557be5199 -->|calls| 3cde4bc3_c310_187f_685b_2facc3baa690
  70bf7114_9140_adb0_dcfb_e8e977109f37["SupermodelIRToJSON()"]
  70bf7114_9140_adb0_dcfb_e8e977109f37 -->|calls| 3cde4bc3_c310_187f_685b_2facc3baa690
  style 3cde4bc3_c310_187f_685b_2facc3baa690 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/CodeGraphEnvelopeMetadata.ts lines 72–83

export function CodeGraphEnvelopeMetadataToJSON(value?: CodeGraphEnvelopeMetadata | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'analysisStartTime': value['analysisStartTime'] == null ? undefined : ((value['analysisStartTime']).toISOString()),
        'analysisEndTime': value['analysisEndTime'] == null ? undefined : ((value['analysisEndTime']).toISOString()),
        'fileCount': value['fileCount'],
        'languages': value['languages'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does CodeGraphEnvelopeMetadataToJSON() do?
CodeGraphEnvelopeMetadataToJSON() is a function in the typescript-sdk codebase.
What calls CodeGraphEnvelopeMetadataToJSON()?
CodeGraphEnvelopeMetadataToJSON() is called by 3 function(s): CodeGraphEnvelopeToJSON, DomainClassificationResponseToJSON, SupermodelIRToJSON.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free