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

FunctionDescription.ts — typescript-sdk Source File

Architecture documentation for FunctionDescription.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
  6f8892c3_e0d0_81c8_5f2c_2e0fd6696786["FunctionDescription.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  6f8892c3_e0d0_81c8_5f2c_2e0fd6696786 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  6f8892c3_e0d0_81c8_5f2c_2e0fd6696786 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"]
  955dc16b_7f47_35af_4ddd_10aca9358cb7 --> 6f8892c3_e0d0_81c8_5f2c_2e0fd6696786
  style 6f8892c3_e0d0_81c8_5f2c_2e0fd6696786 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 FunctionDescription
 */
export interface FunctionDescription {
    /**
     * Function identifier
     * @type {string}
     * @memberof FunctionDescription
     */
    functionId: string;
    /**
     * Short summary of behavior
     * @type {string}
     * @memberof FunctionDescription
     */
    descriptionSummary: string;
    /**
     * Optional domain/subdomain association
     * @type {string}
     * @memberof FunctionDescription
     */
    domainName?: string;
}

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

export function FunctionDescriptionFromJSON(json: any): FunctionDescription {
    return FunctionDescriptionFromJSONTyped(json, false);
}

export function FunctionDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionDescription {
    if (json == null) {
        return json;
    }
    return {
        
        'functionId': json['functionId'],
        'descriptionSummary': json['descriptionSummary'],
        'domainName': json['domainName'] == null ? undefined : json['domainName'],
    };
}

export function FunctionDescriptionToJSON(value?: FunctionDescription | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'functionId': value['functionId'],
        'descriptionSummary': value['descriptionSummary'],
        'domainName': value['domainName'],
    };
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does FunctionDescription.ts do?
FunctionDescription.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 FunctionDescription.ts?
FunctionDescription.ts defines 4 function(s): FunctionDescriptionFromJSON, FunctionDescriptionFromJSONTyped, FunctionDescriptionToJSON, instanceOfFunctionDescription.
What does FunctionDescription.ts depend on?
FunctionDescription.ts imports 2 module(s): mapValues, runtime.ts.
What files import FunctionDescription.ts?
FunctionDescription.ts is imported by 1 file(s): DomainClassificationResponse.ts.
Where is FunctionDescription.ts in the architecture?
FunctionDescription.ts is located at src/models/FunctionDescription.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