Home / Type/ DomainRelationship Type — typescript-sdk Architecture

DomainRelationship Type — typescript-sdk Architecture

Architecture documentation for the DomainRelationship type/interface in DomainRelationship.ts from the typescript-sdk codebase.

Entity Profile

Dependency Diagram

graph TD
  840fca78_1dc2_7905_653c_27b71fa73179["DomainRelationship"]
  1a2cd39a_179c_b61a_238c_8da30a7b72f4["DomainRelationship.ts"]
  840fca78_1dc2_7905_653c_27b71fa73179 -->|defined in| 1a2cd39a_179c_b61a_238c_8da30a7b72f4
  style 840fca78_1dc2_7905_653c_27b71fa73179 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/models/DomainRelationship.ts lines 21–52

export interface DomainRelationship {
    /**
     * Source domain or subdomain name/id
     * @type {string}
     * @memberof DomainRelationship
     */
    from: string;
    /**
     * Target domain or subdomain name/id
     * @type {string}
     * @memberof DomainRelationship
     */
    to: string;
    /**
     * Relationship type (e.g., aggregates, dependsOn, relatesTo)
     * @type {string}
     * @memberof DomainRelationship
     */
    type: string;
    /**
     * Numeric strength/weight (0-1 or small integer)
     * @type {number}
     * @memberof DomainRelationship
     */
    strength: number;
    /**
     * Optional explanation for the relationship
     * @type {string}
     * @memberof DomainRelationship
     */
    reason?: string;
}

Frequently Asked Questions

What is the DomainRelationship type?
DomainRelationship is a type/interface in the typescript-sdk codebase, defined in src/models/DomainRelationship.ts.
Where is DomainRelationship defined?
DomainRelationship is defined in src/models/DomainRelationship.ts at line 21.

Analyze Your Own Codebase

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

Try Supermodel Free