Files
human-archive/src/lib/types.ts

23 lines
508 B
TypeScript
Raw Normal View History

2026-06-26 21:31:46 +02:00
export type SupportedLanguage = "DE" | "EN";
export type SourceInput = {
title: string;
url: string;
author?: string;
institution?: string;
license?: string;
language: SupportedLanguage;
trustLevel?: "UNKNOWN" | "LOW" | "MEDIUM" | "HIGH" | "PRIMARY";
notes?: string;
};
export type ModerationResult = {
outcome: "APPROVE" | "REJECT" | "ESCALATE";
riskCategories: string[];
confidence: number;
reasoning: string;
model: string;
promptVersion: string;
rawResponse?: unknown;
};