FE-0: Projektgrundgerüst (SvelteKit, Tailwind, Docker, Caddy)
This commit is contained in:
41
src/lib/types.ts
Normal file
41
src/lib/types.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
export interface ResearchStatus {
|
||||
id: string;
|
||||
status: string;
|
||||
progress?: number;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export interface ResearchSummary {
|
||||
id: string;
|
||||
query: string;
|
||||
status: string;
|
||||
created_at: string;
|
||||
completed_at?: string;
|
||||
}
|
||||
|
||||
export interface SourceInfo {
|
||||
id: string;
|
||||
url: string;
|
||||
title: string;
|
||||
domain?: string;
|
||||
source_type?: string;
|
||||
independence_score?: number;
|
||||
}
|
||||
|
||||
export interface ClaimInfo {
|
||||
id: string;
|
||||
claim: string;
|
||||
claim_type: string;
|
||||
confidence: number;
|
||||
source_id?: string;
|
||||
evidence_span?: string;
|
||||
}
|
||||
|
||||
export interface EvidenceScore {
|
||||
source_independence: number;
|
||||
primary_source_proximity: number;
|
||||
cross_source_support: number;
|
||||
contradiction_level: number;
|
||||
evidence_directness: number;
|
||||
date_relevance: number;
|
||||
}
|
||||
Reference in New Issue
Block a user