trans3 / ui /lib /api /schemas /appEvent.ts
Mayo
feat: Codex integration
dab69e9 unverified
Raw
History Blame Contribute Delete
1.06 kB
/**
* Generated by orval v8.8.1 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.1
*/
import type { DownloadProgress } from './downloadProgress'
import type { JobFinishedEvent } from './jobFinishedEvent'
import type { JobWarningEvent } from './jobWarningEvent'
import type { LlmTarget } from './llmTarget'
import type { PipelineProgress } from './pipelineProgress'
import type { SnapshotEvent } from './snapshotEvent'
export type AppEvent =
| {
event: 'jobStarted'
id: string
kind: string
}
| (PipelineProgress & {
event: 'jobProgress'
})
| (JobWarningEvent & {
event: 'jobWarning'
})
| (JobFinishedEvent & {
event: 'jobFinished'
})
| (DownloadProgress & {
event: 'downloadProgress'
})
| {
event: 'llmLoading'
target: LlmTarget
}
| {
event: 'llmLoaded'
target: LlmTarget
}
| {
event: 'llmFailed'
target?: null | LlmTarget
}
| {
event: 'llmUnloaded'
}
| (SnapshotEvent & {
event: 'snapshot'
})