Files
artcraft/app/enums/JobStatus.ts
T
wilandwil 65b91ce54e Continue - Inference Job for Pre-loading User Media (#434)
- Raised these signals for background loaded media to the app level
- Raised the enums and types for these signals to the app level
- Delete the old useInferenceManager that only specifically handles
audio inferences
- Use the new signal and its implementation pattern to handle audio
inferences
- Clean up and simplify the implementation pattern to this new signal
- Variable polling frequencies depending what kind of active jobs exist
in the list

---------

Co-authored-by: wil <wil@storyteller.ai>
2024-05-29 18:08:03 -04:00

17 lines
434 B
TypeScript

export enum JobStatus {
PENDING = "pending",
STARTED = "started",
ATTEMPT_FAILED = "attempt_failed",
COMPLETE_SUCCESS = "complete_success",
COMPLETE_FAILURE = "complete_failure",
DEAD = "dead",
CANCELLED_BY_USER = "cancelled_by_user",
CANCCELLED_BY_SYSTEM = "cancelled_by_system",
}
export enum JobType {
TextToSpeech = "text_to_speech",
VoiceConversion = "voice_conversion",
VideoStyleTransfer = "workflow",
}