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.
@@ -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
  }
@@ -5,3 +5,4 @@ export * from "./literals";
5
5
  export * from "./request";
6
6
  export * from "./entity";
7
7
  export * from "./gen";
8
+ export * from "./link";
@@ -17,3 +17,4 @@ __exportStar(require("./literals"), exports);
17
17
  __exportStar(require("./request"), exports);
18
18
  __exportStar(require("./entity"), exports);
19
19
  __exportStar(require("./gen"), exports);
20
+ __exportStar(require("./link"), exports);
@@ -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;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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;
@@ -9,7 +9,7 @@ export interface WordKnowledge {
9
9
  known: number;
10
10
  unknown: number;
11
11
  }
12
- export declare type WordKnowing = [number, number];
12
+ export declare type UserWordKnowing = [number, number];
13
13
  export interface WordGen {
14
14
  id: string;
15
15
  text: string;
@@ -1,9 +1,9 @@
1
- import { WordKnowing } from "../general";
1
+ import { UserWordKnowing } from "../general";
2
2
  export interface FeUserRelationMeta {
3
3
  languageCode?: string;
4
4
  listCount: number;
5
5
  tableCount: number;
6
- knowing: WordKnowing;
6
+ knowing: UserWordKnowing;
7
7
  }
8
8
  export interface FeUserEntity {
9
9
  id: string;
@@ -2,7 +2,7 @@ export interface CreateListRequest {
2
2
  name: string;
3
3
  description?: string;
4
4
  languageCode: string;
5
- isPrivate: boolean;
5
+ isPrivate?: boolean;
6
6
  slug?: string;
7
7
  baseListId?: string;
8
8
  isSuper?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.114.0",
3
+ "version": "0.116.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",