revdev 0.196.0 → 0.198.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/back/common/entity.d.ts +2 -1
- package/lib/back/index.d.ts +2 -1
- package/lib/back/index.js +2 -1
- package/lib/back/speechPart/entity.d.ts +7 -0
- package/lib/back/speechPart/entity.js +2 -0
- package/lib/back/speechPart/index.d.ts +2 -0
- package/lib/back/speechPart/index.js +14 -0
- package/lib/back/speechPart/request.d.ts +10 -0
- package/lib/back/speechPart/request.js +2 -0
- package/lib/back/tran/entity.d.ts +1 -1
- package/lib/back/tran/request.d.ts +9 -1
- package/lib/common/options.d.ts +4 -0
- package/lib/front/general/entity.d.ts +2 -1
- package/lib/front/tran/entity.d.ts +1 -1
- package/lib/front/word/entity.d.ts +1 -1
- package/lib/front/word/request.d.ts +1 -1
- package/lib/shared/tran/entity.d.ts +1 -1
- package/lib/shared/tran/request.d.ts +1 -1
- package/package.json +1 -1
- /package/lib/back/{locale-text → localeText}/index.d.ts +0 -0
- /package/lib/back/{locale-text → localeText}/index.js +0 -0
- /package/lib/back/{locale-text → localeText}/request.d.ts +0 -0
- /package/lib/back/{locale-text → localeText}/request.js +0 -0
package/lib/back/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./localeText";
|
|
2
2
|
export * from "./common";
|
|
3
3
|
export * from "./list";
|
|
4
4
|
export * from "./word";
|
|
5
5
|
export * from "./tran";
|
|
6
|
+
export * from "./speechPart";
|
|
6
7
|
export * from "./tag";
|
|
7
8
|
export * from "./user";
|
|
8
9
|
export * from "./general";
|
package/lib/back/index.js
CHANGED
|
@@ -10,11 +10,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./
|
|
13
|
+
__exportStar(require("./localeText"), exports);
|
|
14
14
|
__exportStar(require("./common"), exports);
|
|
15
15
|
__exportStar(require("./list"), exports);
|
|
16
16
|
__exportStar(require("./word"), exports);
|
|
17
17
|
__exportStar(require("./tran"), exports);
|
|
18
|
+
__exportStar(require("./speechPart"), exports);
|
|
18
19
|
__exportStar(require("./tag"), exports);
|
|
19
20
|
__exportStar(require("./user"), exports);
|
|
20
21
|
__exportStar(require("./general"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./entity"), exports);
|
|
14
|
+
__exportStar(require("./request"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface BoCreateSpeechPartRequest {
|
|
2
|
+
code: string;
|
|
3
|
+
rate: number;
|
|
4
|
+
active: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface BoUpdateSpeechPartRequest extends BoCreateSpeechPartRequest {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BoSpeechPartModifier extends BoUpdateSpeechPartRequest {
|
|
10
|
+
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { EntryStatus } from "../../common";
|
|
1
2
|
import { FeedRequest } from "../../feed";
|
|
2
3
|
export interface BoTranFeedRequest extends FeedRequest {
|
|
3
4
|
langCode?: string;
|
|
4
|
-
|
|
5
|
+
speechPartId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BoTranStatusUpdateRequest {
|
|
8
|
+
id: string;
|
|
9
|
+
status: EntryStatus;
|
|
10
|
+
}
|
|
11
|
+
export interface BoTranStatusUpdateModifier extends BoTranStatusUpdateRequest {
|
|
12
|
+
active: boolean;
|
|
5
13
|
}
|
package/lib/common/options.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { IdCodeOption } from "../../common";
|
|
1
2
|
import { FeLangRecord } from "../lang";
|
|
2
3
|
import { FeListRecord } from "../list";
|
|
3
4
|
import { FeTableRecord } from "../table";
|
|
4
5
|
import { WordDataGen } from "../word";
|
|
5
6
|
export interface FeInitData {
|
|
6
7
|
langCodes: string[];
|
|
7
|
-
|
|
8
|
+
speechPartOptions: IdCodeOption[];
|
|
8
9
|
quizCodes: string[];
|
|
9
10
|
localeCodes: string[];
|
|
10
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EntryWord, RealWord } from "../word";
|
|
2
2
|
interface BaseCreateTranRequest<TWord> {
|
|
3
3
|
sourceWordId: string;
|
|
4
|
-
|
|
4
|
+
speechPartId?: string;
|
|
5
5
|
destWord: TWord;
|
|
6
6
|
}
|
|
7
7
|
export interface CreateTextTranRequest extends BaseCreateTranRequest<EntryWord> {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|