Home / File/ DomainClassificationResponseGraph.ts — typescript-sdk Source File

DomainClassificationResponseGraph.ts — typescript-sdk Source File

Architecture documentation for DomainClassificationResponseGraph.ts, a typescript file in the typescript-sdk codebase. 10 imports, 1 dependents.

File typescript CodeGraph IR 10 imports 1 dependents 4 functions

Entity Profile

Dependency Diagram

graph LR
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4["DomainClassificationResponseGraph.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  5ee535a3_4e10_908a_b4b1_41d305e8a135["CodeGraphNode.ts"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 5ee535a3_4e10_908a_b4b1_41d305e8a135
  ba2ac4ac_910b_2de9_fbf2_d95bbef3dd6a["CodeGraphNodeFromJSON"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> ba2ac4ac_910b_2de9_fbf2_d95bbef3dd6a
  3238fcd6_2c78_66f0_0d3e_1684d56be65e["CodeGraphNodeFromJSONTyped"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 3238fcd6_2c78_66f0_0d3e_1684d56be65e
  b458e8b1_61c2_9c93_3918_291343d6e350["CodeGraphNodeToJSON"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> b458e8b1_61c2_9c93_3918_291343d6e350
  109a46b6_2452_c13f_dc0b_2a268faf72b6["CodeGraphRelationship.ts"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 109a46b6_2452_c13f_dc0b_2a268faf72b6
  7a4a0602_4533_aa81_0abb_78e1b1d8f6ac["CodeGraphRelationshipFromJSON"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 7a4a0602_4533_aa81_0abb_78e1b1d8f6ac
  bbdc7fd6_86bd_6f7b_9ca5_ec8893cfb4fc["CodeGraphRelationshipFromJSONTyped"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> bbdc7fd6_86bd_6f7b_9ca5_ec8893cfb4fc
  4fbc54b1_a31c_9266_80ea_4a2d1aef1380["CodeGraphRelationshipToJSON"]
  3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 4fbc54b1_a31c_9266_80ea_4a2d1aef1380
  955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"]
  955dc16b_7f47_35af_4ddd_10aca9358cb7 --> 3374dfb1_1973_ce24_3f6a_0cfd3d063ae4
  style 3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/* tslint:disable */
/* eslint-disable */
/**
 * Supermodel
 * Code Graphing & Analysis API
 *
 * The version of the OpenAPI document: 0.9.3
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { mapValues } from '../runtime';
import type { CodeGraphNode } from './CodeGraphNode';
import {
    CodeGraphNodeFromJSON,
    CodeGraphNodeFromJSONTyped,
    CodeGraphNodeToJSON,
} from './CodeGraphNode';
import type { CodeGraphRelationship } from './CodeGraphRelationship';
import {
    CodeGraphRelationshipFromJSON,
    CodeGraphRelationshipFromJSONTyped,
    CodeGraphRelationshipToJSON,
} from './CodeGraphRelationship';

/**
 * Graph representation with Domain and Subdomain nodes
 * @export
 * @interface DomainClassificationResponseGraph
 */
export interface DomainClassificationResponseGraph {
    /**
     * 
     * @type {Array<CodeGraphNode>}
     * @memberof DomainClassificationResponseGraph
     */
    nodes: Array<CodeGraphNode>;
    /**
     * 
     * @type {Array<CodeGraphRelationship>}
     * @memberof DomainClassificationResponseGraph
     */
    relationships: Array<CodeGraphRelationship>;
}

/**
 * Check if a given object implements the DomainClassificationResponseGraph interface.
 */
export function instanceOfDomainClassificationResponseGraph(value: object): value is DomainClassificationResponseGraph {
    if (!('nodes' in value) || value['nodes'] === undefined) return false;
    if (!('relationships' in value) || value['relationships'] === undefined) return false;
    return true;
}

export function DomainClassificationResponseGraphFromJSON(json: any): DomainClassificationResponseGraph {
    return DomainClassificationResponseGraphFromJSONTyped(json, false);
}

export function DomainClassificationResponseGraphFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainClassificationResponseGraph {
    if (json == null) {
        return json;
    }
    return {
        
        'nodes': ((json['nodes'] as Array<any>).map(CodeGraphNodeFromJSON)),
        'relationships': ((json['relationships'] as Array<any>).map(CodeGraphRelationshipFromJSON)),
    };
}

export function DomainClassificationResponseGraphToJSON(value?: DomainClassificationResponseGraph | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'nodes': ((value['nodes'] as Array<any>).map(CodeGraphNodeToJSON)),
        'relationships': ((value['relationships'] as Array<any>).map(CodeGraphRelationshipToJSON)),
    };
}

Domain

Subdomains

Frequently Asked Questions

What does DomainClassificationResponseGraph.ts do?
DomainClassificationResponseGraph.ts is a source file in the typescript-sdk codebase, written in typescript. It belongs to the CodeGraph domain, IR subdomain.
What functions are defined in DomainClassificationResponseGraph.ts?
DomainClassificationResponseGraph.ts defines 4 function(s): DomainClassificationResponseGraphFromJSON, DomainClassificationResponseGraphFromJSONTyped, DomainClassificationResponseGraphToJSON, instanceOfDomainClassificationResponseGraph.
What does DomainClassificationResponseGraph.ts depend on?
DomainClassificationResponseGraph.ts imports 10 module(s): CodeGraphNode.ts, CodeGraphNodeFromJSON, CodeGraphNodeFromJSONTyped, CodeGraphNodeToJSON, CodeGraphRelationship.ts, CodeGraphRelationshipFromJSON, CodeGraphRelationshipFromJSONTyped, CodeGraphRelationshipToJSON, and 2 more.
What files import DomainClassificationResponseGraph.ts?
DomainClassificationResponseGraph.ts is imported by 1 file(s): DomainClassificationResponse.ts.
Where is DomainClassificationResponseGraph.ts in the architecture?
DomainClassificationResponseGraph.ts is located at src/models/DomainClassificationResponseGraph.ts (domain: CodeGraph, subdomain: IR, directory: src/models).

Analyze Your Own Codebase

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

Try Supermodel Free