revdev 0.18.0 → 0.20.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.
@@ -46,7 +46,7 @@ export interface UpdatedEntity {
46
46
  id: string;
47
47
  slug: string;
48
48
  }
49
- export interface EntityOption {
49
+ export interface PotentialWord {
50
50
  id?: string;
51
51
  text: string;
52
52
  }
@@ -1,4 +1,4 @@
1
- import { FeEntityAccess, FeEntityContribution, FeWordKnowledge, EntityOption } from "../common";
1
+ import { FeEntityAccess, FeEntityContribution, FeWordKnowledge, PotentialWord } from "../common";
2
2
  export interface FeList {
3
3
  id: string;
4
4
  slug: string;
@@ -12,7 +12,7 @@ export interface FeList {
12
12
  }
13
13
  export interface FeListJoinWordsParams {
14
14
  listId: string;
15
- words: EntityOption[];
15
+ words: PotentialWord[];
16
16
  join: boolean;
17
17
  }
18
18
  export interface FeListEntity {
@@ -1,4 +1,4 @@
1
- import { FeEntityAccess, FeEntityContribution, FeWordKnowledge, EntityOption, FeWordDirect } from "../common";
1
+ import { FeEntityAccess, FeEntityContribution, FeWordKnowledge, PotentialWord, FeWordDirect } from "../common";
2
2
  import { FeWord } from "../word";
3
3
  export interface FeTable {
4
4
  id: string;
@@ -26,7 +26,6 @@ export interface FeTableEntity {
26
26
  languageCode: string;
27
27
  description: string;
28
28
  metaKeywords: string;
29
- rowCount: number;
30
29
  access: FeEntityAccess;
31
30
  contribution: FeEntityContribution;
32
31
  knowledge: FeWordKnowledge;
@@ -43,20 +42,17 @@ export interface FeCreateTableParams {
43
42
  export interface FeUpdateTableParams extends Omit<FeCreateTableParams, "languageCode"> {
44
43
  id: string;
45
44
  }
46
- export interface FeUpdateTableCell {
47
- tableId: string;
48
- columnIndex: number;
49
- columnName?: string;
50
- words: EntityOption[];
45
+ export interface FeUpdateTableRowColumn {
46
+ index: number;
47
+ words: PotentialWord[];
51
48
  }
52
49
  export interface FeUpdateTableRow {
53
50
  tableId: string;
54
51
  rowId?: string;
55
- languageCode?: string;
56
- cells: FeUpdateTableCell[];
52
+ columns: FeUpdateTableRowColumn[];
57
53
  }
58
54
  export interface FeTableRowWord {
59
- id: string;
55
+ rowId: string;
60
56
  columnIndex: string;
61
57
  word: FeWordDirect;
62
58
  count: number;
@@ -1,7 +1,7 @@
1
- import { EntityOption } from "../common";
1
+ import { PotentialWord } from "../common";
2
2
  export interface FeCreateTranslationParams {
3
3
  wordId: string;
4
- words: EntityOption[];
4
+ words: PotentialWord[];
5
5
  languageCode: string;
6
6
  speechPartCode?: string;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.18.0",
3
+ "version": "0.20.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",