revdev 0.272.0 → 0.273.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,6 +11,12 @@ export interface BoListRecord {
11
11
  contrib: DualContribGen;
12
12
  wordTotal: number;
13
13
  userTotal: number;
14
+ fileName?: string;
15
+ thumbnailFileName?: string;
16
+ imageUrl?: string;
17
+ imageThumbnailUrl?: string;
14
18
  }
15
19
  export interface BoListModifier extends BoUpdateListRequest {
20
+ imageUrl?: string;
21
+ imageThumbnailUrl?: string;
16
22
  }
@@ -10,4 +10,8 @@ export interface BoTableRecord {
10
10
  contrib: DualContribGen;
11
11
  wordTotal: number;
12
12
  userTotal: number;
13
+ fileName?: string;
14
+ thumbnailFileName?: string;
15
+ imageUrl?: string;
16
+ imageThumbnailUrl?: string;
13
17
  }
@@ -22,4 +22,8 @@ export interface FeListEntity {
22
22
  userTotal: number;
23
23
  wordTotal: number;
24
24
  knownWordTotal: number;
25
+ fileName?: string;
26
+ thumbnailFileName?: string;
27
+ imageUrl?: string;
28
+ imageThumbnailUrl?: string;
25
29
  }
@@ -16,6 +16,10 @@ export interface FeTableEntity {
16
16
  langCode: string;
17
17
  description?: string;
18
18
  metaKeywords: string;
19
+ fileName?: string;
20
+ thumbnailFileName?: string;
21
+ imageUrl?: string;
22
+ imageThumbnailUrl?: string;
19
23
  access: AccessGen;
20
24
  contrib: ContribGen;
21
25
  rowTotal: number;
@@ -21,9 +21,9 @@ export interface AppSettings {
21
21
  readonly proveKnowingWords: number;
22
22
  readonly wordSetTake: number;
23
23
  readonly wordAttemptTake: number;
24
- readonly wordImageMinDimension: number;
25
- readonly wordImageOptimalDimension: number;
26
- readonly wordImageThumbnailSize: number;
24
+ readonly imageMinDimension: number;
25
+ readonly imageOptimalDimension: number;
26
+ readonly imageThumbnailSize: number;
27
27
  readonly initRateRange: [number, number];
28
28
  readonly maxTranWordPins: number;
29
29
  readonly maxWordImagePins: number;
@@ -27,6 +27,8 @@ export interface UpdateTableRequest extends Omit<CreateTableRequest, "langCode"
27
27
  }
28
28
  export interface TableModifier extends CreateTableRequest {
29
29
  id: string;
30
+ imageUrl?: string;
31
+ imageThumbnailUrl?: string;
30
32
  }
31
33
  export interface UpdateTableCellRequest extends TableCellSkeleton<LiteralWord> {
32
34
  }
@@ -1,7 +1,3 @@
1
- import { Base64Image } from "../../common";
2
1
  export interface UploadWordImageRequest {
3
2
  wordId: string;
4
3
  }
5
- export interface UploadWordImageBase64Request extends Base64Image {
6
- wordId: string;
7
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev",
3
- "version": "0.272.0",
3
+ "version": "0.273.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",