CodeGraphNode.ts — typescript-sdk Source File
Architecture documentation for CodeGraphNode.ts, a typescript file in the typescript-sdk codebase. 2 imports, 3 dependents.
Entity Profile
Dependency Diagram
graph LR 5ee535a3_4e10_908a_b4b1_41d305e8a135["CodeGraphNode.ts"] 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"] 5ee535a3_4e10_908a_b4b1_41d305e8a135 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918 11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"] 5ee535a3_4e10_908a_b4b1_41d305e8a135 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c 98e5e5a2_ec1f_ec59_7fda_2b7180d49cfb["CodeGraphEnvelopeGraph.ts"] 98e5e5a2_ec1f_ec59_7fda_2b7180d49cfb --> 5ee535a3_4e10_908a_b4b1_41d305e8a135 3374dfb1_1973_ce24_3f6a_0cfd3d063ae4["DomainClassificationResponseGraph.ts"] 3374dfb1_1973_ce24_3f6a_0cfd3d063ae4 --> 5ee535a3_4e10_908a_b4b1_41d305e8a135 16665b9d_716b_53d2_ad0f_8f224211e5bc["SupermodelIRGraph.ts"] 16665b9d_716b_53d2_ad0f_8f224211e5bc --> 5ee535a3_4e10_908a_b4b1_41d305e8a135 style 5ee535a3_4e10_908a_b4b1_41d305e8a135 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';
/**
*
* @export
* @interface CodeGraphNode
*/
export interface CodeGraphNode {
/**
*
* @type {string}
* @memberof CodeGraphNode
*/
id: string;
/**
*
* @type {Array<string>}
* @memberof CodeGraphNode
*/
labels?: Array<string>;
/**
*
* @type {{ [key: string]: any; }}
* @memberof CodeGraphNode
*/
properties?: { [key: string]: any; };
}
/**
* Check if a given object implements the CodeGraphNode interface.
*/
export function instanceOfCodeGraphNode(value: object): value is CodeGraphNode {
if (!('id' in value) || value['id'] === undefined) return false;
return true;
}
export function CodeGraphNodeFromJSON(json: any): CodeGraphNode {
return CodeGraphNodeFromJSONTyped(json, false);
}
export function CodeGraphNodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphNode {
if (json == null) {
return json;
}
return {
'id': json['id'],
'labels': json['labels'] == null ? undefined : json['labels'],
'properties': json['properties'] == null ? undefined : json['properties'],
};
}
export function CodeGraphNodeToJSON(value?: CodeGraphNode | null): any {
if (value == null) {
return value;
}
return {
'id': value['id'],
'labels': value['labels'],
'properties': value['properties'],
};
}
Domain
Subdomains
Functions
Types
Dependencies
Imported By
Source
Frequently Asked Questions
What does CodeGraphNode.ts do?
CodeGraphNode.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 CodeGraphNode.ts?
CodeGraphNode.ts defines 4 function(s): CodeGraphNodeFromJSON, CodeGraphNodeFromJSONTyped, CodeGraphNodeToJSON, instanceOfCodeGraphNode.
What does CodeGraphNode.ts depend on?
CodeGraphNode.ts imports 2 module(s): mapValues, runtime.ts.
What files import CodeGraphNode.ts?
CodeGraphNode.ts is imported by 3 file(s): CodeGraphEnvelopeGraph.ts, DomainClassificationResponseGraph.ts, SupermodelIRGraph.ts.
Where is CodeGraphNode.ts in the architecture?
CodeGraphNode.ts is located at src/models/CodeGraphNode.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