revdev 0.222.0 → 0.223.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/request.d.ts
CHANGED
|
@@ -16,12 +16,8 @@ export interface WordIdsRequest {
|
|
|
16
16
|
skip: number;
|
|
17
17
|
}
|
|
18
18
|
export interface ReactionRequest {
|
|
19
|
-
id: string;
|
|
20
19
|
reaction: UserReaction;
|
|
21
20
|
}
|
|
22
|
-
export interface ReactionModifier extends ReactionRequest {
|
|
23
|
-
rate: number;
|
|
24
|
-
}
|
|
25
21
|
export interface PinRequest {
|
|
26
22
|
pin: boolean;
|
|
27
23
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { PinRequest } from "../../common";
|
|
1
|
+
import { PinRequest, ReactionRequest } from "../../common";
|
|
2
2
|
export interface FeTranWordPinRequest extends PinRequest {
|
|
3
3
|
tranWordId: string;
|
|
4
4
|
}
|
|
5
5
|
export interface FeTranWordPinModifier extends FeTranWordPinRequest {
|
|
6
6
|
tranId: string;
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface FeTranReactionRequest extends ReactionRequest {
|
|
10
|
+
tranId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface FeTranReactionModifier extends FeTranReactionRequest {
|
|
13
|
+
rate: number;
|
|
14
|
+
id: string;
|
|
7
15
|
}
|