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

CodeGraphEnvelopeMetadata.ts — typescript-sdk Source File

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

File typescript CodeGraph Envelope 2 imports 3 dependents 4 functions

Entity Profile

Dependency Diagram

graph LR
  c0022130_cf41_62fc_1bd0_253fdceac2db["CodeGraphEnvelopeMetadata.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  c0022130_cf41_62fc_1bd0_253fdceac2db --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  c0022130_cf41_62fc_1bd0_253fdceac2db --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  f036a4cc_da40_f015_3b8a_3f6d8e0198c7["CodeGraphEnvelope.ts"]
  f036a4cc_da40_f015_3b8a_3f6d8e0198c7 --> c0022130_cf41_62fc_1bd0_253fdceac2db
  955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"]
  955dc16b_7f47_35af_4ddd_10aca9358cb7 --> c0022130_cf41_62fc_1bd0_253fdceac2db
  8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3["SupermodelIR.ts"]
  8ffa46c4_6e6e_a02b_f3e7_7fe17cc2b8d3 --> c0022130_cf41_62fc_1bd0_253fdceac2db
  style c0022130_cf41_62fc_1bd0_253fdceac2db 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';
/**
 * Analysis metadata including timing and file information
 * @export
 * @interface CodeGraphEnvelopeMetadata
 */
export interface CodeGraphEnvelopeMetadata {
    /**
     * 
     * @type {Date}
     * @memberof CodeGraphEnvelopeMetadata
     */
    analysisStartTime?: Date;
    /**
     * 
     * @type {Date}
     * @memberof CodeGraphEnvelopeMetadata
     */
    analysisEndTime?: Date;
    /**
     * 
     * @type {number}
     * @memberof CodeGraphEnvelopeMetadata
     */
    fileCount?: number;
    /**
     * 
     * @type {Array<string>}
     * @memberof CodeGraphEnvelopeMetadata
     */
    languages?: Array<string>;
}

/**
 * Check if a given object implements the CodeGraphEnvelopeMetadata interface.
 */
export function instanceOfCodeGraphEnvelopeMetadata(value: object): value is CodeGraphEnvelopeMetadata {
    return true;
}

export function CodeGraphEnvelopeMetadataFromJSON(json: any): CodeGraphEnvelopeMetadata {
    return CodeGraphEnvelopeMetadataFromJSONTyped(json, false);
}

export function CodeGraphEnvelopeMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeGraphEnvelopeMetadata {
    if (json == null) {
        return json;
    }
    return {
        
        'analysisStartTime': json['analysisStartTime'] == null ? undefined : (new Date(json['analysisStartTime'])),
        'analysisEndTime': json['analysisEndTime'] == null ? undefined : (new Date(json['analysisEndTime'])),
        'fileCount': json['fileCount'] == null ? undefined : json['fileCount'],
        'languages': json['languages'] == null ? undefined : json['languages'],
    };
}

export function CodeGraphEnvelopeMetadataToJSON(value?: CodeGraphEnvelopeMetadata | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'analysisStartTime': value['analysisStartTime'] == null ? undefined : ((value['analysisStartTime']).toISOString()),
        'analysisEndTime': value['analysisEndTime'] == null ? undefined : ((value['analysisEndTime']).toISOString()),
        'fileCount': value['fileCount'],
        'languages': value['languages'],
    };
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does CodeGraphEnvelopeMetadata.ts do?
CodeGraphEnvelopeMetadata.ts is a source file in the typescript-sdk codebase, written in typescript. It belongs to the CodeGraph domain, Envelope subdomain.
What functions are defined in CodeGraphEnvelopeMetadata.ts?
CodeGraphEnvelopeMetadata.ts defines 4 function(s): CodeGraphEnvelopeMetadataFromJSON, CodeGraphEnvelopeMetadataFromJSONTyped, CodeGraphEnvelopeMetadataToJSON, instanceOfCodeGraphEnvelopeMetadata.
What does CodeGraphEnvelopeMetadata.ts depend on?
CodeGraphEnvelopeMetadata.ts imports 2 module(s): mapValues, runtime.ts.
What files import CodeGraphEnvelopeMetadata.ts?
CodeGraphEnvelopeMetadata.ts is imported by 3 file(s): CodeGraphEnvelope.ts, DomainClassificationResponse.ts, SupermodelIR.ts.
Where is CodeGraphEnvelopeMetadata.ts in the architecture?
CodeGraphEnvelopeMetadata.ts is located at src/models/CodeGraphEnvelopeMetadata.ts (domain: CodeGraph, subdomain: Envelope, directory: src/models).

Analyze Your Own Codebase

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

Try Supermodel Free