Task 008 implement boundary questions loop

This commit is contained in:
2026-05-21 19:46:26 +03:00
parent 8aa92ea728
commit b7e2fa34b2
27 changed files with 1883 additions and 24 deletions
+26
View File
@@ -68,6 +68,7 @@ export type ArticleDetailResponse = {
agent_jobs?: AgentJobSummary[];
article: ArticleSummary;
assets?: AssetSummary[];
boundary_questions?: BoundaryQuestionSummary[];
claims?: ClaimSummary[];
draft?: DraftSummary | null;
evidence?: EvidenceSummary[];
@@ -116,6 +117,31 @@ export type AssetSummary = {
export type AssetType = "hero_image" | "diagram" | "table" | "inline_image";
export type BoundaryQuestionListResponse = {
job?: AgentJobSummary | null;
questions: BoundaryQuestionSummary[];
};
export type BoundaryQuestionResponse = {
question: BoundaryQuestionSummary;
};
export type BoundaryQuestionSummary = {
answer?: string | null;
article_id: string;
category: string;
created_at: string;
id: string;
is_required?: boolean;
question: string;
sort_order: number;
updated_at: string;
};
export type BoundaryQuestionUpdateRequest = {
answer?: string | null;
};
export type ClaimRiskLevel = "low" | "medium" | "high";
export type ClaimSummary = {