revdev 0.23.0 → 0.24.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.
@@ -11,13 +11,13 @@ export interface FeTable {
11
11
  access: FeEntityAccess;
12
12
  knowledge: FeWordKnowledge;
13
13
  }
14
- export interface FeTableRowColumn {
14
+ export interface FeCell {
15
15
  columnIndex: number;
16
16
  words: FeWord[];
17
17
  }
18
- export interface FeTableRow {
18
+ export interface FeRow {
19
19
  id: string;
20
- columns: FeTableRowColumn[];
20
+ cells: FeCell[];
21
21
  }
22
22
  export interface FeTableEntity {
23
23
  id: string;
@@ -31,12 +31,12 @@ export interface FeTableEntity {
31
31
  knowledge: FeWordKnowledge;
32
32
  columns: string[];
33
33
  }
34
- export interface FeTableRowColumnInfo {
35
- index: number;
34
+ export interface FeCellInfo {
35
+ columnIndex: number;
36
36
  words: RealWord[];
37
37
  }
38
- export interface FeTableRowInfo {
38
+ export interface FeRowInfo {
39
39
  tableId: string;
40
40
  rowId: string;
41
- columns: FeTableRowColumnInfo[];
41
+ cells: FeCellInfo[];
42
42
  }
@@ -1,6 +1,6 @@
1
1
  import { FeWordSetRequest, FeedRequest, LanguageFeedRequest } from "../../feed";
2
2
  import { EntryWord } from "../common";
3
- export interface FeTableRowFeedRequest extends FeedRequest {
3
+ export interface FeRowFeedRequest extends FeedRequest {
4
4
  slug: string;
5
5
  }
6
6
  export interface FeTableWordFeedRequest extends FeWordSetRequest, FeedRequest {
@@ -9,7 +9,7 @@ export interface FeTableWordFeedRequest extends FeWordSetRequest, FeedRequest {
9
9
  export interface FeTableFeedRequest extends LanguageFeedRequest {
10
10
  userSlug?: string;
11
11
  }
12
- export interface FeTableRowRequest {
12
+ export interface FeRowUpdateRequest {
13
13
  tableId: string;
14
14
  rowId?: string;
15
15
  }
@@ -24,12 +24,12 @@ export interface FeCreateTableRequest {
24
24
  export interface FeUpdateTableRequest extends Omit<FeCreateTableRequest, "languageCode"> {
25
25
  id: string;
26
26
  }
27
- export interface FeUpdateTableRowColumnRequest {
27
+ export interface FeUpdateCellRequest {
28
28
  index: number;
29
29
  words: EntryWord;
30
30
  }
31
- export interface FeUpdateTableRowRequest {
31
+ export interface FeUpdateRowRequest {
32
32
  tableId: string;
33
33
  rowId?: string;
34
- columns: FeUpdateTableRowColumnRequest[];
34
+ cells: FeUpdateCellRequest[];
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",