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

DomainRelationshipToJSON() — typescript-sdk Function Reference

Architecture documentation for the DomainRelationshipToJSON() function in DomainRelationship.ts from the typescript-sdk codebase.

Entity Profile

Relationship Graph

Source Code

src/models/DomainRelationship.ts lines 83–95

export function DomainRelationshipToJSON(value?: DomainRelationship | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'from': value['from'],
        'to': value['to'],
        'type': value['type'],
        'strength': value['strength'],
        'reason': value['reason'],
    };
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free