revdev 0.126.0 → 0.129.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,4 @@
1
1
  import { FeWordSetRequest, FeedRequest } from "../../feed";
2
- import { EntryWord } from "../../shared";
3
2
  export interface FeListWordFeedRequest extends FeedRequest, FeWordSetRequest {
4
3
  slug: string;
5
4
  }
@@ -16,8 +15,3 @@ export interface FeUpdateListRequest extends Omit<FeCreateListRequest, "language
16
15
  export interface FeListModifier extends FeCreateListRequest {
17
16
  id: string;
18
17
  }
19
- export interface FeListLinkWordRequest {
20
- listId: string;
21
- word: EntryWord;
22
- link: boolean;
23
- }
@@ -1,5 +1,5 @@
1
1
  import { FeWordSetRequest, FeedRequest, ShortFeedRequest } from "../../feed";
2
- import { CreateWordRequest, EntryWord } from "../../shared";
2
+ import { CreateWordRequest } from "../../shared";
3
3
  export interface FeWordEntityRequest {
4
4
  languageCode: string;
5
5
  text: string;
@@ -30,10 +30,6 @@ export interface FeWordOptionRequest {
30
30
  }
31
31
  export interface FeCreateWordRequest extends CreateWordRequest {
32
32
  }
33
- export interface FeInitWordRequest {
34
- languageCode: string;
35
- word: EntryWord;
36
- }
37
33
  export interface FeWordsRequest {
38
34
  wordIds: string[];
39
35
  }
@@ -1,3 +1,4 @@
1
+ import { EntryWord } from "../word";
1
2
  export interface CreateListRequest {
2
3
  name: string;
3
4
  description?: string;
@@ -15,3 +16,8 @@ export interface CreateListRequest {
15
16
  export interface UpdateListRequest extends CreateListRequest {
16
17
  id: string;
17
18
  }
19
+ export interface ListWordLinkRequest {
20
+ listId: string;
21
+ word: EntryWord;
22
+ link: boolean;
23
+ }
@@ -1,6 +1,11 @@
1
+ import { EntryWord } from "./entity";
1
2
  export interface CreateWordRequest {
2
3
  languageCode: string;
3
4
  text: string;
4
5
  mode?: string;
5
6
  rate?: number;
6
7
  }
8
+ export interface InitWordRequest {
9
+ languageCode: string;
10
+ word: EntryWord;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.126.0",
3
+ "version": "0.129.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",