revdev 0.16.0 → 0.18.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.
@@ -16,13 +16,9 @@ export interface FeTableRow {
16
16
  cells: FeTableCell[];
17
17
  }
18
18
  export interface FeTableCell {
19
- columnId: string;
19
+ columnIndex: number;
20
20
  words: FeWord[];
21
21
  }
22
- export interface FeTableColumnHeader {
23
- columnId: string;
24
- text: string;
25
- }
26
22
  export interface FeTableEntity {
27
23
  id: string;
28
24
  slug: string;
@@ -34,7 +30,7 @@ export interface FeTableEntity {
34
30
  access: FeEntityAccess;
35
31
  contribution: FeEntityContribution;
36
32
  knowledge: FeWordKnowledge;
37
- columnHeaders: FeTableColumnHeader[];
33
+ columns: string[];
38
34
  }
39
35
  export interface FeCreateTableParams {
40
36
  languageCode: string;
@@ -42,13 +38,14 @@ export interface FeCreateTableParams {
42
38
  description?: string;
43
39
  slug?: string;
44
40
  isPublic: boolean;
45
- columns: EntityOption[];
41
+ columns: string[];
46
42
  }
47
43
  export interface FeUpdateTableParams extends Omit<FeCreateTableParams, "languageCode"> {
48
44
  id: string;
49
45
  }
50
46
  export interface FeUpdateTableCell {
51
- columnId: string;
47
+ tableId: string;
48
+ columnIndex: number;
52
49
  columnName?: string;
53
50
  words: EntityOption[];
54
51
  }
@@ -60,7 +57,7 @@ export interface FeUpdateTableRow {
60
57
  }
61
58
  export interface FeTableRowWord {
62
59
  id: string;
63
- columnId: string;
60
+ columnIndex: string;
64
61
  word: FeWordDirect;
65
62
  count: number;
66
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",