feat:keep a record of historical practice

This commit is contained in:
Zyronon
2025-09-26 01:37:46 +08:00
parent 676417bbc1
commit 6a99fda66a
14 changed files with 185 additions and 154 deletions

View File

@@ -176,22 +176,21 @@ export const SlideType = {
VERTICAL: 1,
}
export interface StudyData {
export interface PracticeData {
index: number,
words: any[],
wrongWords: any[],
}
export interface TaskWords {
new: Word[],
review: Word[],
write: Word[],
}
export class DictId {
static wordCollect = 'wordCollect'
static wordWrong = 'wordWrong'
static wordKnown = 'wordKnown'
static articleCollect = 'articleCollect'
}
export enum DictId2 {
wordCollect = 'wordCollect',
wordWrong = 'wordWrong',
wordKnown = 'wordKnown',
articleCollect = 'articleCollect'
}
}