Initial human archive app
Some checks failed
Build and publish Docker image / docker (push) Failing after 2m33s

This commit is contained in:
2026-06-26 21:31:46 +02:00
parent ee2a0202d7
commit f29339cf12
38 changed files with 3644 additions and 112 deletions

22
src/lib/types.ts Normal file
View File

@@ -0,0 +1,22 @@
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;
};