DeadCodeAnalysisResponseAsync.ts — typescript-sdk Source File
Architecture documentation for DeadCodeAnalysisResponseAsync.ts, a typescript file in the typescript-sdk codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR de57e938_e739_3e50_69bc_11b2efed3375["DeadCodeAnalysisResponseAsync.ts"] 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918["runtime.ts"] de57e938_e739_3e50_69bc_11b2efed3375 --> 41b6b5c2_aa5b_90b9_c373_84e0a8cd9918 11568abc_c5bd_8b5d_1ce1_6d595e449b9c["mapValues"] de57e938_e739_3e50_69bc_11b2efed3375 --> 11568abc_c5bd_8b5d_1ce1_6d595e449b9c cf3c46e4_2683_0d9b_ec4b_2d29dfee4adf["DeadCodeAnalysisResponse.ts"] de57e938_e739_3e50_69bc_11b2efed3375 --> cf3c46e4_2683_0d9b_ec4b_2d29dfee4adf de2b092c_21f7_e736_69a7_7474a4cd93ce["DeadCodeAnalysisResponseFromJSON"] de57e938_e739_3e50_69bc_11b2efed3375 --> de2b092c_21f7_e736_69a7_7474a4cd93ce bc0fa298_5a77_c826_7597_25381136339b["DeadCodeAnalysisResponseFromJSONTyped"] de57e938_e739_3e50_69bc_11b2efed3375 --> bc0fa298_5a77_c826_7597_25381136339b a0e46626_2c72_f78d_b77f_b9f726f956e8["DeadCodeAnalysisResponseToJSON"] de57e938_e739_3e50_69bc_11b2efed3375 --> a0e46626_2c72_f78d_b77f_b9f726f956e8 style de57e938_e739_3e50_69bc_11b2efed3375 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';
import type { DeadCodeAnalysisResponse } from './DeadCodeAnalysisResponse';
import {
DeadCodeAnalysisResponseFromJSON,
DeadCodeAnalysisResponseFromJSONTyped,
DeadCodeAnalysisResponseToJSON,
} from './DeadCodeAnalysisResponse';
/**
*
* @export
* @interface DeadCodeAnalysisResponseAsync
*/
export interface DeadCodeAnalysisResponseAsync {
/**
* Current status of the job.
* @type {string}
* @memberof DeadCodeAnalysisResponseAsync
*/
status: DeadCodeAnalysisResponseAsyncStatusEnum;
/**
* Unique identifier for the job.
* @type {string}
* @memberof DeadCodeAnalysisResponseAsync
*/
jobId: string;
/**
* Recommended seconds to wait before polling again.
* @type {number}
* @memberof DeadCodeAnalysisResponseAsync
*/
retryAfter?: number;
/**
* Error message (present when status is failed).
* @type {string}
* @memberof DeadCodeAnalysisResponseAsync
*/
error?: string;
/**
*
* @type {DeadCodeAnalysisResponse}
* @memberof DeadCodeAnalysisResponseAsync
*/
result?: DeadCodeAnalysisResponse;
}
/**
* @export
*/
export const DeadCodeAnalysisResponseAsyncStatusEnum = {
Pending: 'pending',
Processing: 'processing',
Completed: 'completed',
Failed: 'failed'
} as const;
export type DeadCodeAnalysisResponseAsyncStatusEnum = typeof DeadCodeAnalysisResponseAsyncStatusEnum[keyof typeof DeadCodeAnalysisResponseAsyncStatusEnum];
/**
* Check if a given object implements the DeadCodeAnalysisResponseAsync interface.
*/
export function instanceOfDeadCodeAnalysisResponseAsync(value: object): value is DeadCodeAnalysisResponseAsync {
if (!('status' in value) || value['status'] === undefined) return false;
if (!('jobId' in value) || value['jobId'] === undefined) return false;
return true;
}
export function DeadCodeAnalysisResponseAsyncFromJSON(json: any): DeadCodeAnalysisResponseAsync {
return DeadCodeAnalysisResponseAsyncFromJSONTyped(json, false);
}
export function DeadCodeAnalysisResponseAsyncFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeadCodeAnalysisResponseAsync {
if (json == null) {
return json;
}
return {
'status': json['status'],
'jobId': json['jobId'],
'retryAfter': json['retryAfter'] == null ? undefined : json['retryAfter'],
'error': json['error'] == null ? undefined : json['error'],
'result': json['result'] == null ? undefined : DeadCodeAnalysisResponseFromJSON(json['result']),
};
}
export function DeadCodeAnalysisResponseAsyncToJSON(value?: DeadCodeAnalysisResponseAsync | null): any {
if (value == null) {
return value;
}
return {
'status': value['status'],
'jobId': value['jobId'],
'retryAfter': value['retryAfter'],
'error': value['error'],
'result': DeadCodeAnalysisResponseToJSON(value['result']),
};
}
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does DeadCodeAnalysisResponseAsync.ts do?
DeadCodeAnalysisResponseAsync.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 DeadCodeAnalysisResponseAsync.ts?
DeadCodeAnalysisResponseAsync.ts defines 4 function(s): DeadCodeAnalysisResponseAsyncFromJSON, DeadCodeAnalysisResponseAsyncFromJSONTyped, DeadCodeAnalysisResponseAsyncToJSON, instanceOfDeadCodeAnalysisResponseAsync.
What does DeadCodeAnalysisResponseAsync.ts depend on?
DeadCodeAnalysisResponseAsync.ts imports 6 module(s): DeadCodeAnalysisResponse.ts, DeadCodeAnalysisResponseFromJSON, DeadCodeAnalysisResponseFromJSONTyped, DeadCodeAnalysisResponseToJSON, mapValues, runtime.ts.
Where is DeadCodeAnalysisResponseAsync.ts in the architecture?
DeadCodeAnalysisResponseAsync.ts is located at src/models/DeadCodeAnalysisResponseAsync.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