revdev 0.114.0 → 0.116.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/list/request.d.ts +2 -2
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +1 -0
- package/lib/common/link.d.ts +14 -0
- package/lib/common/link.js +2 -0
- package/lib/common/request.d.ts +0 -14
- package/lib/front/general/entity.d.ts +1 -1
- package/lib/front/user/entity.d.ts +2 -2
- package/lib/shared/list/request.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateListRequest, UpdateListRequest } from "../../shared";
|
|
2
|
-
export interface BoCreateListRequest extends CreateListRequest {
|
|
2
|
+
export interface BoCreateListRequest extends Omit<CreateListRequest, "isPrivate"> {
|
|
3
3
|
}
|
|
4
|
-
export interface BoUpdateListRequest extends UpdateListRequest {
|
|
4
|
+
export interface BoUpdateListRequest extends Omit<UpdateListRequest, "isPrivate"> {
|
|
5
5
|
}
|
package/lib/common/index.d.ts
CHANGED
package/lib/common/index.js
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface LinkParentRequest {
|
|
2
|
+
link: boolean;
|
|
3
|
+
parentId: string;
|
|
4
|
+
childId: string | string[];
|
|
5
|
+
}
|
|
6
|
+
export interface LinkChildOption {
|
|
7
|
+
id: string;
|
|
8
|
+
link: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface LinkChildrenRequest {
|
|
11
|
+
parentId: string;
|
|
12
|
+
children: LinkChildOption[];
|
|
13
|
+
}
|
|
14
|
+
export declare type LinkRequest = LinkParentRequest | LinkChildrenRequest;
|
package/lib/common/request.d.ts
CHANGED
|
@@ -7,20 +7,6 @@ export interface CodeRequest {
|
|
|
7
7
|
export interface IdRequest {
|
|
8
8
|
id: string;
|
|
9
9
|
}
|
|
10
|
-
export interface UserLinkRequest {
|
|
11
|
-
id: string;
|
|
12
|
-
link: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface EntityLinkRequest {
|
|
15
|
-
parentId: string;
|
|
16
|
-
childId: string | string[];
|
|
17
|
-
link: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface LinkSetRequest {
|
|
20
|
-
destinationId: string;
|
|
21
|
-
sourceIds: string[];
|
|
22
|
-
link: boolean;
|
|
23
|
-
}
|
|
24
10
|
export interface WordSetRequest {
|
|
25
11
|
wordIds: string[];
|
|
26
12
|
skip: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserWordKnowing } from "../general";
|
|
2
2
|
export interface FeUserRelationMeta {
|
|
3
3
|
languageCode?: string;
|
|
4
4
|
listCount: number;
|
|
5
5
|
tableCount: number;
|
|
6
|
-
knowing:
|
|
6
|
+
knowing: UserWordKnowing;
|
|
7
7
|
}
|
|
8
8
|
export interface FeUserEntity {
|
|
9
9
|
id: string;
|