DomainFunctionAssignment.ts — typescript-sdk Source File
Architecture documentation for DomainFunctionAssignment.ts, a typescript file in the typescript-sdk codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 9bd1dda1_bf64_8c6c_9e96_d484f85dc173["DomainFunctionAssignment.ts"] 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"] 9bd1dda1_bf64_8c6c_9e96_d484f85dc173 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918 11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"] 9bd1dda1_bf64_8c6c_9e96_d484f85dc173 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c 955dc16b_7f47_35af_4ddd_10aca9358cb7["DomainClassificationResponse.ts"] 955dc16b_7f47_35af_4ddd_10aca9358cb7 --> 9bd1dda1_bf64_8c6c_9e96_d484f85dc173 style 9bd1dda1_bf64_8c6c_9e96_d484f85dc173 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 DomainFunctionAssignment
*/
export interface DomainFunctionAssignment {
/**
* Stable function identifier (matching codegraph/function models)
* @type {string}
* @memberof DomainFunctionAssignment
*/
functionId: string;
/**
* Subdomain assigned to the function
* @type {string}
* @memberof DomainFunctionAssignment
*/
subdomainName: string;
/**
* Optional parent domain containing the subdomain
* @type {string}
* @memberof DomainFunctionAssignment
*/
parentDomain?: string;
}
/**
* Check if a given object implements the DomainFunctionAssignment interface.
*/
export function instanceOfDomainFunctionAssignment(value: object): value is DomainFunctionAssignment {
if (!('functionId' in value) || value['functionId'] === undefined) return false;
if (!('subdomainName' in value) || value['subdomainName'] === undefined) return false;
return true;
}
export function DomainFunctionAssignmentFromJSON(json: any): DomainFunctionAssignment {
return DomainFunctionAssignmentFromJSONTyped(json, false);
}
export function DomainFunctionAssignmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainFunctionAssignment {
if (json == null) {
return json;
}
return {
'functionId': json['functionId'],
'subdomainName': json['subdomainName'],
'parentDomain': json['parentDomain'] == null ? undefined : json['parentDomain'],
};
}
export function DomainFunctionAssignmentToJSON(value?: DomainFunctionAssignment | null): any {
if (value == null) {
return value;
}
return {
'functionId': value['functionId'],
'subdomainName': value['subdomainName'],
'parentDomain': value['parentDomain'],
};
}
Domain
Subdomains
Functions
Types
Dependencies
Imported By
Source
Frequently Asked Questions
What does DomainFunctionAssignment.ts do?
DomainFunctionAssignment.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 DomainFunctionAssignment.ts?
DomainFunctionAssignment.ts defines 4 function(s): DomainFunctionAssignmentFromJSON, DomainFunctionAssignmentFromJSONTyped, DomainFunctionAssignmentToJSON, instanceOfDomainFunctionAssignment.
What does DomainFunctionAssignment.ts depend on?
DomainFunctionAssignment.ts imports 2 module(s): mapValues, runtime.ts.
What files import DomainFunctionAssignment.ts?
DomainFunctionAssignment.ts is imported by 1 file(s): DomainClassificationResponse.ts.
Where is DomainFunctionAssignment.ts in the architecture?
DomainFunctionAssignment.ts is located at src/models/DomainFunctionAssignment.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