revdev 0.221.0 → 0.222.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ContribGen, UserReaction } from "../../common";
|
|
2
2
|
import { TranRecord } from "../../shared";
|
|
3
3
|
import { WordDataGen } from "../word";
|
|
4
4
|
export interface FeTranRecord extends Omit<TranRecord, "dest"> {
|
|
@@ -6,5 +6,5 @@ export interface FeTranRecord extends Omit<TranRecord, "dest"> {
|
|
|
6
6
|
reaction?: UserReaction;
|
|
7
7
|
tranWordId: string;
|
|
8
8
|
pinned: boolean;
|
|
9
|
-
contrib?:
|
|
9
|
+
contrib?: ContribGen;
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PinRequest } from "../../common";
|
|
2
|
-
export interface
|
|
2
|
+
export interface FeTranWordPinRequest extends PinRequest {
|
|
3
3
|
tranWordId: string;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
6
|
-
|
|
5
|
+
export interface FeTranWordPinModifier extends FeTranWordPinRequest {
|
|
6
|
+
tranId: string;
|
|
7
7
|
}
|
|
@@ -15,9 +15,15 @@ export declare type FeWordEntityRequest = FeWordEntityTextRequest | FeWordEntity
|
|
|
15
15
|
export interface FeTranFeedRequest {
|
|
16
16
|
skip: number;
|
|
17
17
|
wordId: string;
|
|
18
|
-
|
|
18
|
+
tranId?: string;
|
|
19
|
+
langCode?: string;
|
|
20
|
+
useSpeechPart?: boolean;
|
|
19
21
|
speechPartId?: string;
|
|
20
22
|
}
|
|
23
|
+
export interface FeTranRecordRequest {
|
|
24
|
+
wordId: string;
|
|
25
|
+
tranId: string;
|
|
26
|
+
}
|
|
21
27
|
export interface FeWordAttemptRequest {
|
|
22
28
|
wordIds: string[];
|
|
23
29
|
}
|