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

SubdomainSummary.ts — typescript-sdk Source File

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

File typescript CodeGraph IR 2 imports 1 dependents 4 functions

Entity Profile

Dependency Diagram

graph LR
  d7dd44e1_08c1_542a_2f89_d68b48b05146["SubdomainSummary.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  d7dd44e1_08c1_542a_2f89_d68b48b05146 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  d7dd44e1_08c1_542a_2f89_d68b48b05146 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  0cbe7678_840d_80b1_60f6_16cb80a7dcda["DomainSummary.ts"]
  0cbe7678_840d_80b1_60f6_16cb80a7dcda --> d7dd44e1_08c1_542a_2f89_d68b48b05146
  style d7dd44e1_08c1_542a_2f89_d68b48b05146 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 SubdomainSummary
 */
export interface SubdomainSummary {
    /**
     * Subdomain name
     * @type {string}
     * @memberof SubdomainSummary
     */
    name: string;
    /**
     * Concise description of the subdomain
     * @type {string}
     * @memberof SubdomainSummary
     */
    descriptionSummary: string;
    /**
     * List of file paths assigned to this subdomain
     * @type {Array<string>}
     * @memberof SubdomainSummary
     */
    files: Array<string>;
    /**
     * List of function IDs assigned to this subdomain
     * @type {Array<string>}
     * @memberof SubdomainSummary
     */
    functions: Array<string>;
    /**
     * List of class IDs assigned to this subdomain
     * @type {Array<string>}
     * @memberof SubdomainSummary
     */
    classes: Array<string>;
}

/**
 * Check if a given object implements the SubdomainSummary interface.
 */
export function instanceOfSubdomainSummary(value: object): value is SubdomainSummary {
    if (!('name' in value) || value['name'] === undefined) return false;
    if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined) return false;
    if (!('files' in value) || value['files'] === undefined) return false;
    if (!('functions' in value) || value['functions'] === undefined) return false;
    if (!('classes' in value) || value['classes'] === undefined) return false;
    return true;
}

export function SubdomainSummaryFromJSON(json: any): SubdomainSummary {
    return SubdomainSummaryFromJSONTyped(json, false);
}

export function SubdomainSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubdomainSummary {
    if (json == null) {
        return json;
    }
    return {
        
        'name': json['name'],
        'descriptionSummary': json['descriptionSummary'],
        'files': json['files'],
        'functions': json['functions'],
        'classes': json['classes'],
    };
}

export function SubdomainSummaryToJSON(value?: SubdomainSummary | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'name': value['name'],
        'descriptionSummary': value['descriptionSummary'],
        'files': value['files'],
        'functions': value['functions'],
        'classes': value['classes'],
    };
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does SubdomainSummary.ts do?
SubdomainSummary.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 SubdomainSummary.ts?
SubdomainSummary.ts defines 4 function(s): SubdomainSummaryFromJSON, SubdomainSummaryFromJSONTyped, SubdomainSummaryToJSON, instanceOfSubdomainSummary.
What does SubdomainSummary.ts depend on?
SubdomainSummary.ts imports 2 module(s): mapValues, runtime.ts.
What files import SubdomainSummary.ts?
SubdomainSummary.ts is imported by 1 file(s): DomainSummary.ts.
Where is SubdomainSummary.ts in the architecture?
SubdomainSummary.ts is located at src/models/SubdomainSummary.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