revdev 0.6.0 → 0.8.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.
@@ -3,5 +3,5 @@ export interface BoWordFeedParams extends LanguageFeedParams {
3
3
  mode?: number;
4
4
  }
5
5
  export interface BoListWordFeedParams extends FeedParams {
6
- listId?: number;
6
+ listId?: string;
7
7
  }
@@ -46,7 +46,7 @@ export interface UpdatedEntity {
46
46
  id: string;
47
47
  slug: string;
48
48
  }
49
- export interface EntityOption<T = number | undefined> {
49
+ export interface EntityOption<T = string | undefined> {
50
50
  id: T;
51
51
  text: string;
52
52
  }
@@ -24,7 +24,7 @@ export interface FeDiscoverMetaParams extends FeUserInfoParams {
24
24
  tableSlug?: string;
25
25
  }
26
26
  export interface FeDiscoverStateParams {
27
- wordIds?: number[];
27
+ wordIds?: string[];
28
28
  tagCodes?: [string, string][];
29
29
  listSlugs?: string[];
30
30
  tableSlugs?: string[];
@@ -7,9 +7,9 @@ export interface FeQuizDataParams {
7
7
  languageCode?: string;
8
8
  listSlug?: string;
9
9
  tagCode?: string;
10
- learnColumnId?: number;
11
- translationColumnId?: number;
12
- wordIds?: number[];
10
+ learnColumnId?: string;
11
+ translationColumnId?: string;
12
+ wordIds?: string[];
13
13
  }
14
14
  export interface FeQuizAttemptResultParams {
15
15
  wordId: string;
@@ -54,7 +54,7 @@ export interface FeUpdateTableCell {
54
54
  }
55
55
  export interface FeUpdateTableRow {
56
56
  tableId: string;
57
- rowId?: number;
57
+ rowId?: string;
58
58
  languageCode?: string;
59
59
  cells: FeUpdateTableCell[];
60
60
  }
@@ -10,5 +10,5 @@ export interface FeTableFeedParams extends LanguageFeedParams {
10
10
  }
11
11
  export interface FeUpdateTableRowParams {
12
12
  tableId: string;
13
- rowId?: number;
13
+ rowId?: string;
14
14
  }
@@ -24,8 +24,8 @@ export interface FeWordFeedParams extends FeedParams, FeWordSetParams {
24
24
  export interface FeWordOptionParams {
25
25
  text: string;
26
26
  languageCode?: string;
27
- ignoreIds?: number[];
28
- listId?: number;
27
+ ignoreIds?: string[];
28
+ listId?: string;
29
29
  }
30
30
  export interface FeCreateWordParams {
31
31
  languageCode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",