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

DomainFileAssignment.ts — typescript-sdk Source File

Architecture documentation for DomainFileAssignment.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
  23cea969_5ebc_f835_3fd5_afd3a6a1ca39["DomainFileAssignment.ts"]
  41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"]
  23cea969_5ebc_f835_3fd5_afd3a6a1ca39 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918
  11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"]
  23cea969_5ebc_f835_3fd5_afd3a6a1ca39 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c
  955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"]
  955dc16b_7f47_35af_4ddd_10aca9358cb7 --> 23cea969_5ebc_f835_3fd5_afd3a6a1ca39
  style 23cea969_5ebc_f835_3fd5_afd3a6a1ca39 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 DomainFileAssignment
 */
export interface DomainFileAssignment {
    /**
     * Repository-relative file path
     * @type {string}
     * @memberof DomainFileAssignment
     */
    filePath: string;
    /**
     * Assigned domain
     * @type {string}
     * @memberof DomainFileAssignment
     */
    domainName: string;
}

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

export function DomainFileAssignmentFromJSON(json: any): DomainFileAssignment {
    return DomainFileAssignmentFromJSONTyped(json, false);
}

export function DomainFileAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFileAssignment {
    if (json == null) {
        return json;
    }
    return {
        
        'filePath': json['filePath'],
        'domainName': json['domainName'],
    };
}

export function DomainFileAssignmentToJSON(value?: DomainFileAssignment | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'filePath': value['filePath'],
        'domainName': value['domainName'],
    };
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

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