feat(ai): queue strategy snapshots

This commit is contained in:
cesnimda
2026-08-09 12:51:46 +02:00
parent 5eb9b3cb96
commit a62122640c
12 changed files with 790 additions and 158 deletions
+23
View File
@@ -198,6 +198,29 @@ export interface FocusPlanResponse {
strategicSummary: string;
}
export interface UserOperation {
id: string;
taskType: string;
status: "queued" | "running" | "waiting_for_retry" | "waiting_for_external_fallback" | "succeeded" | "failed" | "cancelled";
subjectType?: string | null;
createdAtUtc: string;
startedAtUtc?: string | null;
completedAtUtc?: string | null;
deadlineAtUtc?: string | null;
cancellationRequestedAtUtc?: string | null;
progressStage?: string | null;
progressPercent?: number | null;
failureCategory?: string | null;
canCancel: boolean;
canRetry: boolean;
}
export interface StrategySnapshotOperationResponse {
operation: UserOperation;
statusUrl: string;
created: boolean;
}
export interface InterviewPrepResponse {
summary: string;
talkingPoints: string[];