revdev 0.227.0 → 0.230.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/common/enums.d.ts
CHANGED
package/lib/common/enums.js
CHANGED
|
@@ -23,6 +23,7 @@ var QuizMode;
|
|
|
23
23
|
QuizMode[QuizMode["Tran"] = 1] = "Tran";
|
|
24
24
|
QuizMode[QuizMode["Image"] = 2] = "Image";
|
|
25
25
|
// Audio = 3,
|
|
26
|
+
QuizMode[QuizMode["Table"] = 4] = "Table";
|
|
26
27
|
})(QuizMode = exports.QuizMode || (exports.QuizMode = {}));
|
|
27
28
|
var EntryStatus;
|
|
28
29
|
(function (EntryStatus) {
|
|
@@ -4,8 +4,7 @@ import { FeWordImageRecord } from "../image";
|
|
|
4
4
|
import { FeTranRecord } from "../tran";
|
|
5
5
|
import { WordDataGen } from "../word";
|
|
6
6
|
export interface FeQuizEntity {
|
|
7
|
-
mode
|
|
8
|
-
isTable?: boolean;
|
|
7
|
+
mode: QuizMode;
|
|
9
8
|
pairs: FeQuizPair[];
|
|
10
9
|
}
|
|
11
10
|
export interface FeQuizPair {
|
|
@@ -19,8 +19,7 @@ export interface FeQuizAttemptResultRequest {
|
|
|
19
19
|
export interface FeQuizAttemptRequest {
|
|
20
20
|
code: QuizCode;
|
|
21
21
|
mode: QuizMode;
|
|
22
|
-
tranLangCode
|
|
23
|
-
isTable?: boolean;
|
|
22
|
+
tranLangCode?: string;
|
|
24
23
|
attempts: FeQuizAttemptResultRequest[];
|
|
25
24
|
}
|
|
26
25
|
export interface FeQuizRackRequest {
|
|
@@ -4,9 +4,9 @@ export interface FeTableRecord {
|
|
|
4
4
|
slug: string;
|
|
5
5
|
langCode: string;
|
|
6
6
|
name: string;
|
|
7
|
+
isSuper: boolean;
|
|
7
8
|
userTotal: number;
|
|
8
9
|
wordTotal: number;
|
|
9
|
-
knownWordTotal: number;
|
|
10
10
|
contrib: ContribGen;
|
|
11
11
|
access: AccessGen;
|
|
12
12
|
}
|
|
@@ -15,13 +15,13 @@ export interface FeTableEntity {
|
|
|
15
15
|
slug: string;
|
|
16
16
|
name: string;
|
|
17
17
|
langCode: string;
|
|
18
|
-
|
|
18
|
+
isSuper: boolean;
|
|
19
|
+
description?: string;
|
|
19
20
|
metaKeywords: string;
|
|
20
21
|
access: AccessGen;
|
|
21
22
|
contrib: ContribGen;
|
|
22
23
|
rowTotal: number;
|
|
23
24
|
userTotal: number;
|
|
24
25
|
wordTotal: number;
|
|
25
|
-
knownWordTotal: number;
|
|
26
26
|
columns: string[];
|
|
27
27
|
}
|