revdev 0.1.2 → 0.2.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/admin/entity/index.d.ts +1 -1
- package/lib/admin/entity/index.js +1 -1
- package/lib/admin/entity/{translation.d.ts → tran.d.ts} +3 -3
- package/lib/feed/index.d.ts +1 -1
- package/lib/units/quiz/entity.d.ts +2 -2
- package/lib/units/translation/entity.d.ts +1 -1
- package/lib/units/translation/params.d.ts +1 -1
- package/lib/units/word/entity.d.ts +5 -5
- package/lib/units/word/params.d.ts +1 -1
- package/package.json +1 -1
- /package/lib/admin/entity/{translation.js → tran.js} +0 -0
|
@@ -12,7 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./list"), exports);
|
|
14
14
|
__exportStar(require("./word"), exports);
|
|
15
|
-
__exportStar(require("./
|
|
15
|
+
__exportStar(require("./tran"), exports);
|
|
16
16
|
__exportStar(require("./tag"), exports);
|
|
17
17
|
__exportStar(require("./user"), exports);
|
|
18
18
|
__exportStar(require("./general"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BoTranWord {
|
|
2
2
|
tranId: number;
|
|
3
3
|
wordId: number;
|
|
4
4
|
text: string;
|
|
@@ -6,10 +6,10 @@ export interface BoTranslationWord {
|
|
|
6
6
|
imageFileName: string;
|
|
7
7
|
imageThumbnailFileName: string;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface BoTran {
|
|
10
10
|
tranId: number;
|
|
11
11
|
created: string;
|
|
12
12
|
userId?: number;
|
|
13
13
|
speechPartCode?: string;
|
|
14
|
-
words:
|
|
14
|
+
words: BoTranWord[];
|
|
15
15
|
}
|
package/lib/feed/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { QuizModeCode } from "../../general";
|
|
2
2
|
import { FeWordDirect } from "../common";
|
|
3
3
|
import { FeWordImage } from "../image";
|
|
4
|
-
import {
|
|
4
|
+
import { FeTran } from "../translation";
|
|
5
5
|
import { FeWord } from "../word";
|
|
6
6
|
export interface FeQuizData {
|
|
7
7
|
mode?: QuizModeCode;
|
|
@@ -10,7 +10,7 @@ export interface FeQuizData {
|
|
|
10
10
|
}
|
|
11
11
|
export interface FeQuizPair {
|
|
12
12
|
word: FeWordDirect;
|
|
13
|
-
trans:
|
|
13
|
+
trans: FeTran[];
|
|
14
14
|
images: FeWordImage[];
|
|
15
15
|
cellWords: FeWordDirect[];
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@ import { Feed } from "../../feed";
|
|
|
2
2
|
import { QuizCode, QuizModeCode, UserWordState } from "../../general";
|
|
3
3
|
import { FeWordImage } from "../image";
|
|
4
4
|
import { FeEntityAccess, FeEntityContribution, FeReactionDirect } from "../common";
|
|
5
|
-
import {
|
|
5
|
+
import { FeTran } from "../translation";
|
|
6
6
|
export interface FeWord {
|
|
7
7
|
id: number;
|
|
8
8
|
text: string;
|
|
@@ -13,7 +13,7 @@ export interface FeWord {
|
|
|
13
13
|
images: FeWordImage[];
|
|
14
14
|
audios: FeWordAudio[];
|
|
15
15
|
tags: FeWordTag[];
|
|
16
|
-
trans:
|
|
16
|
+
trans: FeTran[];
|
|
17
17
|
}
|
|
18
18
|
export interface FeWordTag {
|
|
19
19
|
id: number;
|
|
@@ -42,9 +42,9 @@ export interface FeWordAudio {
|
|
|
42
42
|
}
|
|
43
43
|
export interface FeWordSpeechPart {
|
|
44
44
|
speechPartCode?: string;
|
|
45
|
-
tranFeed: Feed<
|
|
45
|
+
tranFeed: Feed<FeTran>;
|
|
46
46
|
}
|
|
47
|
-
export interface
|
|
47
|
+
export interface FeWordTranCode {
|
|
48
48
|
langCode: string;
|
|
49
49
|
count: number;
|
|
50
50
|
}
|
|
@@ -62,5 +62,5 @@ export interface FeWordEntity {
|
|
|
62
62
|
audioFeed: Feed<FeWordAudio>;
|
|
63
63
|
tagFeed: Feed<FeWordTag>;
|
|
64
64
|
tranLangCode?: string;
|
|
65
|
-
tranCodes:
|
|
65
|
+
tranCodes: FeWordTranCode[];
|
|
66
66
|
}
|
package/package.json
CHANGED
|
File without changes
|