JobStatusToJSON() — typescript-sdk Function Reference
Architecture documentation for the JobStatusToJSON() function in JobStatus.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD ce5f7bf8_895c_6c96_687a_0286629b3b3e["JobStatusToJSON()"] 7631b867_12e8_d1db_8a91_be2f324b8463["JobStatus.ts"] ce5f7bf8_895c_6c96_687a_0286629b3b3e -->|defined in| 7631b867_12e8_d1db_8a91_be2f324b8463 style ce5f7bf8_895c_6c96_687a_0286629b3b3e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/JobStatus.ts lines 87–98
export function JobStatusToJSON(value?: JobStatus | null): any {
if (value == null) {
return value;
}
return {
'status': value['status'],
'jobId': value['jobId'],
'retryAfter': value['retryAfter'],
'error': value['error'],
};
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does JobStatusToJSON() do?
JobStatusToJSON() is a function in the typescript-sdk codebase, defined in src/models/JobStatus.ts.
Where is JobStatusToJSON() defined?
JobStatusToJSON() is defined in src/models/JobStatus.ts at line 87.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free