Next.js app with Hoeren, Lesen, Schreiben, Sprechen, Grammatik and Wortschatz sections, flashcards with spaced repetition, speaking chat, XP/streaks/badges, daily reminders (PWA) and Docker Compose setup for Coolify.
22 lines
321 B
TypeScript
22 lines
321 B
TypeScript
export type Question =
|
|
| {
|
|
kind: "mc";
|
|
q: string;
|
|
qAr: string;
|
|
options: string[];
|
|
answer: number;
|
|
why?: string;
|
|
}
|
|
| {
|
|
kind: "tf";
|
|
q: string;
|
|
qAr: string;
|
|
answer: boolean;
|
|
why?: string;
|
|
};
|
|
|
|
export interface Pair {
|
|
de: string;
|
|
ar: string;
|
|
}
|