revdev 0.271.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.
- package/lib/back/list/entity.d.ts +6 -0
- package/lib/back/table/entity.d.ts +4 -0
- package/lib/front/list/entity.d.ts +4 -3
- package/lib/front/list/request.d.ts +0 -2
- package/lib/front/table/entity.d.ts +4 -3
- package/lib/front/table/request.d.ts +0 -1
- package/lib/front/tag/entity.d.ts +0 -2
- package/lib/front/tag/request.d.ts +0 -1
- package/lib/shared/general/entity.d.ts +3 -3
- package/lib/shared/table/request.d.ts +2 -0
- package/lib/shared/wordImage/request.d.ts +0 -4
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Feed, WordDataGen } from "../..";
|
|
2
1
|
import { AccessGen, ContribGen } from "../../common";
|
|
3
2
|
export interface FeListRecord {
|
|
4
3
|
id: string;
|
|
@@ -23,6 +22,8 @@ export interface FeListEntity {
|
|
|
23
22
|
userTotal: number;
|
|
24
23
|
wordTotal: number;
|
|
25
24
|
knownWordTotal: number;
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
fileName?: string;
|
|
26
|
+
thumbnailFileName?: string;
|
|
27
|
+
imageUrl?: string;
|
|
28
|
+
imageThumbnailUrl?: string;
|
|
28
29
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { AccessGen, ContribGen } from "../../common";
|
|
2
|
-
import { Feed } from "../../feed";
|
|
3
|
-
import { TableRowRecord } from "../../shared";
|
|
4
2
|
export interface FeTableRecord {
|
|
5
3
|
id: string;
|
|
6
4
|
slug: string;
|
|
@@ -18,11 +16,14 @@ export interface FeTableEntity {
|
|
|
18
16
|
langCode: string;
|
|
19
17
|
description?: string;
|
|
20
18
|
metaKeywords: string;
|
|
19
|
+
fileName?: string;
|
|
20
|
+
thumbnailFileName?: string;
|
|
21
|
+
imageUrl?: string;
|
|
22
|
+
imageThumbnailUrl?: string;
|
|
21
23
|
access: AccessGen;
|
|
22
24
|
contrib: ContribGen;
|
|
23
25
|
rowTotal: number;
|
|
24
26
|
userTotal: number;
|
|
25
27
|
wordTotal: number;
|
|
26
28
|
columns: string[];
|
|
27
|
-
rowFeed: Feed<TableRowRecord>;
|
|
28
29
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SlugRequest } from "../..";
|
|
2
2
|
import { WordFeedExtension, FeedRequest, LangFeedRequest } from "../../feed";
|
|
3
3
|
export interface FeTableEntityRequest extends SlugRequest {
|
|
4
|
-
page?: number;
|
|
5
4
|
}
|
|
6
5
|
export interface FeTableWordFeedRequest extends WordFeedExtension, FeedRequest {
|
|
7
6
|
slug: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Feed, TagWordRecord } from "../..";
|
|
2
1
|
import { ContribGen } from "../../common";
|
|
3
2
|
export interface FeTagRecord {
|
|
4
3
|
id: string;
|
|
@@ -14,5 +13,4 @@ export interface FeTagEntity {
|
|
|
14
13
|
langCode?: string;
|
|
15
14
|
wordTotal: number;
|
|
16
15
|
knownWordTotal: number;
|
|
17
|
-
wordFeed: Feed<TagWordRecord>;
|
|
18
16
|
}
|
|
@@ -21,9 +21,9 @@ export interface AppSettings {
|
|
|
21
21
|
readonly proveKnowingWords: number;
|
|
22
22
|
readonly wordSetTake: number;
|
|
23
23
|
readonly wordAttemptTake: number;
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
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
|
}
|