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

SupermodelArtifactToJSON() — typescript-sdk Function Reference

Architecture documentation for the SupermodelArtifactToJSON() function in SupermodelArtifact.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  dfd8e190_b7d8_8633_832c_d66da7dfae6d["SupermodelArtifactToJSON()"]
  9304565f_42d3_68a0_a8b9_0e2f54de3150["SupermodelArtifact.ts"]
  dfd8e190_b7d8_8633_832c_d66da7dfae6d -->|defined in| 9304565f_42d3_68a0_a8b9_0e2f54de3150
  style dfd8e190_b7d8_8633_832c_d66da7dfae6d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/SupermodelArtifact.ts lines 75–86

export function SupermodelArtifactToJSON(value?: SupermodelArtifact | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'id': value['id'],
        'kind': value['kind'],
        'label': value['label'],
        'metadata': value['metadata'],
    };
}

Domain

Subdomains

Frequently Asked Questions

What does SupermodelArtifactToJSON() do?
SupermodelArtifactToJSON() is a function in the typescript-sdk codebase, defined in src/models/SupermodelArtifact.ts.
Where is SupermodelArtifactToJSON() defined?
SupermodelArtifactToJSON() is defined in src/models/SupermodelArtifact.ts at line 75.

Analyze Your Own Codebase

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

Try Supermodel Free