Task 008 implement boundary questions loop
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user