aboutsummaryrefslogtreecommitdiff
path: root/src/i18n/lesson-text.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/i18n/lesson-text.ts')
-rw-r--r--src/i18n/lesson-text.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/i18n/lesson-text.ts b/src/i18n/lesson-text.ts
new file mode 100644
index 0000000..0ed290c
--- /dev/null
+++ b/src/i18n/lesson-text.ts
@@ -0,0 +1,22 @@
+export interface ControlText { label: string; options?: Record<string, string> }
+
+export interface LessonText {
+ title: string;
+ shortTitle: string;
+ description: string;
+ explanation: string;
+ challenge: string;
+ limits: string;
+ sceneNote: string;
+ legend: string[];
+ sourceTitle: string;
+ controls: Record<string, ControlText>;
+ equations?: string[];
+}
+
+export interface TestCopy extends LessonText {
+ questions: string[];
+ answers: { title: string; steps: string[] }[];
+ prediction: string;
+ predictionAnswer: string;
+}