File size: 507 Bytes
4e23b01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import type { PromptId } from './ids';

export type TranscriptPromptStatus =
  | 'running'
  | 'queued'
  | 'blocked'
  | 'completed'
  | 'failed'
  | 'aborted';

export interface TranscriptPrompt {
  readonly promptId: PromptId;
  readonly status: TranscriptPromptStatus;
  readonly userMessageId?: string;
  readonly content?: unknown;
  readonly clientMetadata?: readonly Readonly<Record<string, unknown>>[];
  readonly createdAt: string;
  readonly finishedAt?: string;
  readonly steeredAt?: string;
}