Add tabs for lemmas #23

This commit is contained in:
Alexander Bentkamp
2023-03-02 12:15:34 +01:00
parent 7748eefa4a
commit a783e1dffc
7 changed files with 103 additions and 42 deletions
+10 -3
View File
@@ -10,13 +10,20 @@ interface GameInfo {
conclusion: null|string,
}
export interface ComputedInventoryItem {
name: string,
category: string,
disabled: boolean,
locked: boolean
}
interface LevelInfo {
title: null|string,
introduction: null|string,
index: number,
tactics: {name: string, disabled: boolean, locked: boolean}[],
lemmas: {name: string, disabled: boolean, locked: boolean}[],
definitions: {name: string, disabled: boolean, locked: boolean}[],
tactics: ComputedInventoryItem[],
lemmas: ComputedInventoryItem[],
definitions: ComputedInventoryItem[],
descrText: null|string,
descrFormat: null|string,
}