Refactor PK page and add Trellis setup
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
export type Team = "red" | "blue";
|
||||
export type AnswerState = "idle" | "correct" | "wrong";
|
||||
export type Grade = "小班" | "中班" | "大班";
|
||||
|
||||
export type ClassType = {
|
||||
id: number;
|
||||
name: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export type WordItem = {
|
||||
id: number;
|
||||
grade: Grade;
|
||||
classTypeId: number;
|
||||
classTypeName: string;
|
||||
english: string;
|
||||
chinese: string;
|
||||
image: string;
|
||||
audio: string;
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
export type AppSettings = {
|
||||
ttsVoice: string;
|
||||
ttsRate: string;
|
||||
scorePerCorrect: number;
|
||||
scorePerWrong: number;
|
||||
autoSpeak: boolean;
|
||||
wordDisplayMode: "uppercase" | "capitalize" | "input";
|
||||
pkWordCount: number;
|
||||
pkOptionCount: number;
|
||||
};
|
||||
Reference in New Issue
Block a user