revdev 0.102.0 → 0.104.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/{backoffice → back}/list/entity.d.ts +2 -2
- package/lib/{backoffice → back}/list/request.d.ts +6 -2
- package/lib/{backoffice → back}/locale-text/request.d.ts +2 -2
- package/lib/{backoffice → back}/table/entity.d.ts +1 -1
- package/lib/{backoffice → back}/tag/entity.d.ts +2 -2
- package/lib/{backoffice → back}/translation/entity.d.ts +3 -3
- package/lib/{backoffice → back}/user/entity.d.ts +3 -3
- package/lib/{backoffice → back}/word/entity.d.ts +4 -4
- package/lib/{backoffice → back}/word/request.d.ts +6 -3
- package/lib/common/entity.d.ts +6 -0
- package/lib/feed/index.d.ts +1 -1
- package/lib/{units → front}/common/entity.d.ts +9 -9
- package/lib/{units → front}/common/request.d.ts +1 -1
- package/lib/{units → front}/discover/entity.d.ts +6 -6
- package/lib/{units → front}/discover/request.d.ts +1 -1
- package/lib/{units → front}/image/entity.d.ts +1 -1
- package/lib/{units → front}/language/entity.d.ts +7 -7
- package/lib/{units → front}/list/entity.d.ts +2 -7
- package/lib/{units → front}/list/request.d.ts +6 -0
- package/lib/front/quiz/entity.d.ts +19 -0
- package/lib/{units → front}/quiz/request.d.ts +1 -1
- package/lib/{units → front}/table/entity.d.ts +4 -4
- package/lib/{units → front}/tag/entity.d.ts +1 -1
- package/lib/{units → front}/translation/entity.d.ts +3 -3
- package/lib/{units → front}/translation/request.d.ts +1 -1
- package/lib/{units → front}/user/request.d.ts +1 -1
- package/lib/{units → front}/word/entity.d.ts +8 -8
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/package.json +2 -1
- package/lib/shared/entity.d.ts +0 -3
- package/lib/units/quiz/entity.d.ts +0 -19
- /package/lib/{backoffice → back}/auth/entity.d.ts +0 -0
- /package/lib/{backoffice → back}/auth/entity.js +0 -0
- /package/lib/{backoffice → back}/auth/index.d.ts +0 -0
- /package/lib/{backoffice → back}/auth/index.js +0 -0
- /package/lib/{backoffice → back}/common/entity.d.ts +0 -0
- /package/lib/{backoffice → back}/common/entity.js +0 -0
- /package/lib/{backoffice → back}/common/index.d.ts +0 -0
- /package/lib/{backoffice → back}/common/index.js +0 -0
- /package/lib/{backoffice → back}/general/entity.d.ts +0 -0
- /package/lib/{backoffice → back}/general/entity.js +0 -0
- /package/lib/{backoffice → back}/general/index.d.ts +0 -0
- /package/lib/{backoffice → back}/general/index.js +0 -0
- /package/lib/{backoffice → back}/image/index.d.ts +0 -0
- /package/lib/{backoffice → back}/image/index.js +0 -0
- /package/lib/{backoffice → back}/image/request.d.ts +0 -0
- /package/lib/{backoffice → back}/image/request.js +0 -0
- /package/lib/{backoffice → back}/index.d.ts +0 -0
- /package/lib/{backoffice → back}/index.js +0 -0
- /package/lib/{backoffice → back}/list/entity.js +0 -0
- /package/lib/{backoffice → back}/list/index.d.ts +0 -0
- /package/lib/{backoffice → back}/list/index.js +0 -0
- /package/lib/{backoffice → back}/list/request.js +0 -0
- /package/lib/{backoffice → back}/locale-text/index.d.ts +0 -0
- /package/lib/{backoffice → back}/locale-text/index.js +0 -0
- /package/lib/{backoffice → back}/locale-text/request.js +0 -0
- /package/lib/{backoffice → back}/table/entity.js +0 -0
- /package/lib/{backoffice → back}/table/index.d.ts +0 -0
- /package/lib/{backoffice → back}/table/index.js +0 -0
- /package/lib/{backoffice → back}/tag/entity.js +0 -0
- /package/lib/{backoffice → back}/tag/index.d.ts +0 -0
- /package/lib/{backoffice → back}/tag/index.js +0 -0
- /package/lib/{backoffice → back}/translation/entity.js +0 -0
- /package/lib/{backoffice → back}/translation/index.d.ts +0 -0
- /package/lib/{backoffice → back}/translation/index.js +0 -0
- /package/lib/{backoffice → back}/user/entity.js +0 -0
- /package/lib/{backoffice → back}/user/index.d.ts +0 -0
- /package/lib/{backoffice → back}/user/index.js +0 -0
- /package/lib/{backoffice → back}/word/entity.js +0 -0
- /package/lib/{backoffice → back}/word/index.d.ts +0 -0
- /package/lib/{backoffice → back}/word/index.js +0 -0
- /package/lib/{backoffice → back}/word/request.js +0 -0
- /package/lib/{shared → common}/api.d.ts +0 -0
- /package/lib/{shared → common}/api.js +0 -0
- /package/lib/{shared → common}/entity.js +0 -0
- /package/lib/{shared → common}/enums.d.ts +0 -0
- /package/lib/{shared → common}/enums.js +0 -0
- /package/lib/{shared → common}/index.d.ts +0 -0
- /package/lib/{shared → common}/index.js +0 -0
- /package/lib/{shared → common}/literals.d.ts +0 -0
- /package/lib/{shared → common}/literals.js +0 -0
- /package/lib/{shared → common}/options.d.ts +0 -0
- /package/lib/{shared → common}/options.js +0 -0
- /package/lib/{shared → common}/request.d.ts +0 -0
- /package/lib/{shared → common}/request.js +0 -0
- /package/lib/{units → front}/audio/index.d.ts +0 -0
- /package/lib/{units → front}/audio/index.js +0 -0
- /package/lib/{units → front}/audio/request.d.ts +0 -0
- /package/lib/{units → front}/audio/request.js +0 -0
- /package/lib/{units → front}/auth/entity.d.ts +0 -0
- /package/lib/{units → front}/auth/entity.js +0 -0
- /package/lib/{units → front}/auth/index.d.ts +0 -0
- /package/lib/{units → front}/auth/index.js +0 -0
- /package/lib/{units → front}/auth/request.d.ts +0 -0
- /package/lib/{units → front}/auth/request.js +0 -0
- /package/lib/{units → front}/common/entity.js +0 -0
- /package/lib/{units → front}/common/index.d.ts +0 -0
- /package/lib/{units → front}/common/index.js +0 -0
- /package/lib/{units → front}/common/request.js +0 -0
- /package/lib/{units → front}/discover/entity.js +0 -0
- /package/lib/{units → front}/discover/index.d.ts +0 -0
- /package/lib/{units → front}/discover/index.js +0 -0
- /package/lib/{units → front}/discover/request.js +0 -0
- /package/lib/{units → front}/image/entity.js +0 -0
- /package/lib/{units → front}/image/index.d.ts +0 -0
- /package/lib/{units → front}/image/index.js +0 -0
- /package/lib/{units → front}/image/request.d.ts +0 -0
- /package/lib/{units → front}/image/request.js +0 -0
- /package/lib/{units → front}/index.d.ts +0 -0
- /package/lib/{units → front}/index.js +0 -0
- /package/lib/{units → front}/language/entity.js +0 -0
- /package/lib/{units → front}/language/index.d.ts +0 -0
- /package/lib/{units → front}/language/index.js +0 -0
- /package/lib/{units → front}/list/entity.js +0 -0
- /package/lib/{units → front}/list/index.d.ts +0 -0
- /package/lib/{units → front}/list/index.js +0 -0
- /package/lib/{units → front}/list/request.js +0 -0
- /package/lib/{units → front}/progress/entity.d.ts +0 -0
- /package/lib/{units → front}/progress/entity.js +0 -0
- /package/lib/{units → front}/progress/index.d.ts +0 -0
- /package/lib/{units → front}/progress/index.js +0 -0
- /package/lib/{units → front}/progress/request.d.ts +0 -0
- /package/lib/{units → front}/progress/request.js +0 -0
- /package/lib/{units → front}/quiz/entity.js +0 -0
- /package/lib/{units → front}/quiz/index.d.ts +0 -0
- /package/lib/{units → front}/quiz/index.js +0 -0
- /package/lib/{units → front}/quiz/request.js +0 -0
- /package/lib/{units → front}/settings/entity.d.ts +0 -0
- /package/lib/{units → front}/settings/entity.js +0 -0
- /package/lib/{units → front}/settings/index.d.ts +0 -0
- /package/lib/{units → front}/settings/index.js +0 -0
- /package/lib/{units → front}/settings/request.d.ts +0 -0
- /package/lib/{units → front}/settings/request.js +0 -0
- /package/lib/{units → front}/table/entity.js +0 -0
- /package/lib/{units → front}/table/index.d.ts +0 -0
- /package/lib/{units → front}/table/index.js +0 -0
- /package/lib/{units → front}/table/request.d.ts +0 -0
- /package/lib/{units → front}/table/request.js +0 -0
- /package/lib/{units → front}/tag/entity.js +0 -0
- /package/lib/{units → front}/tag/index.d.ts +0 -0
- /package/lib/{units → front}/tag/index.js +0 -0
- /package/lib/{units → front}/tag/request.d.ts +0 -0
- /package/lib/{units → front}/tag/request.js +0 -0
- /package/lib/{units → front}/translation/entity.js +0 -0
- /package/lib/{units → front}/translation/index.d.ts +0 -0
- /package/lib/{units → front}/translation/index.js +0 -0
- /package/lib/{units → front}/translation/request.js +0 -0
- /package/lib/{units → front}/user/entity.d.ts +0 -0
- /package/lib/{units → front}/user/entity.js +0 -0
- /package/lib/{units → front}/user/index.d.ts +0 -0
- /package/lib/{units → front}/user/index.js +0 -0
- /package/lib/{units → front}/user/request.js +0 -0
- /package/lib/{units → front}/word/entity.js +0 -0
- /package/lib/{units → front}/word/index.d.ts +0 -0
- /package/lib/{units → front}/word/index.js +0 -0
- /package/lib/{units → front}/word/request.d.ts +0 -0
- /package/lib/{units → front}/word/request.js +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export interface BoCreateListRequest {
|
|
2
|
+
name: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
languageCode: string;
|
|
5
|
+
isPrivate: boolean;
|
|
6
|
+
slug?: string;
|
|
3
7
|
baseListId?: string;
|
|
4
8
|
isSuper?: boolean;
|
|
5
9
|
metaKeywords?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BoLocaleTextRecord {
|
|
2
2
|
languageCode: string;
|
|
3
3
|
code: string;
|
|
4
4
|
text: string;
|
|
5
5
|
}
|
|
6
6
|
export interface BoUpdateLocaleTextRequest {
|
|
7
|
-
localeText:
|
|
7
|
+
localeText: BoLocaleTextRecord | BoLocaleTextRecord[];
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BoTagWordRecord {
|
|
2
2
|
wordId: string;
|
|
3
3
|
text: string;
|
|
4
4
|
languageCode: string;
|
|
@@ -7,7 +7,7 @@ export interface BoTagWord {
|
|
|
7
7
|
createdUsername: string;
|
|
8
8
|
rate: number;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface BoTagRecord {
|
|
11
11
|
code: string;
|
|
12
12
|
created: string;
|
|
13
13
|
createdUsername: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface BoTranslationWordRecord {
|
|
2
2
|
translationId: string;
|
|
3
3
|
wordId: string;
|
|
4
4
|
text: string;
|
|
@@ -6,10 +6,10 @@ export interface BoTranslationWord {
|
|
|
6
6
|
imageFileName: string;
|
|
7
7
|
imageThumbnailFileName: string;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface BoTranslationRecord {
|
|
10
10
|
translationId: string;
|
|
11
11
|
created: string;
|
|
12
12
|
userId?: string;
|
|
13
13
|
speechPartCode?: string;
|
|
14
|
-
words:
|
|
14
|
+
words: BoTranslationWordRecord[];
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QuizMode } from "../../
|
|
2
|
-
export interface
|
|
1
|
+
import { QuizMode } from "../../common";
|
|
2
|
+
export interface BoUserRecord {
|
|
3
3
|
userId: string;
|
|
4
4
|
email: string;
|
|
5
5
|
name: string;
|
|
@@ -9,7 +9,7 @@ export interface BoUser {
|
|
|
9
9
|
learnLanguageCode: string;
|
|
10
10
|
translationLanguageCode: string;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface BoAttemptRecord {
|
|
13
13
|
attemptId: string;
|
|
14
14
|
quizCode: string;
|
|
15
15
|
username: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FeEntityContribution, FeWordDirect } from "../../
|
|
2
|
-
export interface
|
|
1
|
+
import { FeEntityContribution, FeWordDirect } from "../../front";
|
|
2
|
+
export interface BoWordRecord {
|
|
3
3
|
id: string;
|
|
4
4
|
text: string;
|
|
5
5
|
languageCode: string;
|
|
@@ -22,7 +22,7 @@ export interface BoWordEntity {
|
|
|
22
22
|
rate?: number;
|
|
23
23
|
tags?: string[];
|
|
24
24
|
}
|
|
25
|
-
export interface
|
|
25
|
+
export interface BoWordImageRecord {
|
|
26
26
|
word: FeWordDirect;
|
|
27
27
|
imageId: string;
|
|
28
28
|
fileName: string;
|
|
@@ -31,7 +31,7 @@ export interface BoWordImage {
|
|
|
31
31
|
wordCount: number;
|
|
32
32
|
rate: number;
|
|
33
33
|
}
|
|
34
|
-
export interface
|
|
34
|
+
export interface BoWordAudioRecord {
|
|
35
35
|
wordId: string;
|
|
36
36
|
text: string;
|
|
37
37
|
languageCode: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LanguageFeedRequest } from "../../feed";
|
|
2
|
-
import { FeCreateWordRequest } from "../../units";
|
|
3
2
|
export interface BoWordImageFeedRequest extends LanguageFeedRequest {
|
|
4
3
|
wordId?: string;
|
|
5
4
|
}
|
|
@@ -10,9 +9,13 @@ export interface BoWordUpdateRequest {
|
|
|
10
9
|
mode?: string;
|
|
11
10
|
rate?: number;
|
|
12
11
|
}
|
|
13
|
-
export interface BoCreateWordRequest
|
|
12
|
+
export interface BoCreateWordRequest {
|
|
13
|
+
languageCode: string;
|
|
14
|
+
text: string;
|
|
15
|
+
mode?: string;
|
|
16
|
+
rate?: number;
|
|
14
17
|
}
|
|
15
|
-
export interface BoUpdateWordRequest extends
|
|
18
|
+
export interface BoUpdateWordRequest extends BoCreateWordRequest {
|
|
16
19
|
id: string;
|
|
17
20
|
}
|
|
18
21
|
export interface BoUpdateWordTagRequest {
|
package/lib/feed/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Knowing } from "../../
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { Knowing } from "../../common";
|
|
2
|
+
import { FeLanguageRecord } from "../language";
|
|
3
|
+
import { FeListRecord } from "../list";
|
|
4
|
+
import { FeTableRecord } from "../table";
|
|
5
|
+
import { FeWordRecord } from "../word";
|
|
6
6
|
export interface FeWordKnowledge {
|
|
7
7
|
total: number;
|
|
8
8
|
learn: number;
|
|
@@ -38,12 +38,12 @@ export interface FeInitData {
|
|
|
38
38
|
localeVersion: number;
|
|
39
39
|
}
|
|
40
40
|
export interface FeIntroductionData {
|
|
41
|
-
languages:
|
|
41
|
+
languages: FeLanguageRecord[];
|
|
42
42
|
}
|
|
43
43
|
export interface FeSearchResult {
|
|
44
|
-
words:
|
|
45
|
-
lists:
|
|
46
|
-
tables:
|
|
44
|
+
words: FeWordRecord[];
|
|
45
|
+
lists: FeListRecord[];
|
|
46
|
+
tables: FeTableRecord[];
|
|
47
47
|
}
|
|
48
48
|
export interface UpdatedEntity {
|
|
49
49
|
id: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Knowing } from "../../
|
|
1
|
+
import { Knowing } from "../../common";
|
|
2
2
|
import { FeWordKnowledge } from "../common";
|
|
3
|
-
import {
|
|
3
|
+
import { FeWordRecord } from "../word";
|
|
4
4
|
export interface FeDiscoverProveEntity {
|
|
5
|
-
word:
|
|
6
|
-
images?:
|
|
7
|
-
translations?:
|
|
5
|
+
word: FeWordRecord;
|
|
6
|
+
images?: FeWordRecord[];
|
|
7
|
+
translations?: FeWordRecord[];
|
|
8
8
|
}
|
|
9
9
|
export interface FeDiscoverKnowingOld {
|
|
10
10
|
words?: [string, Knowing][];
|
|
@@ -20,7 +20,7 @@ export interface FeEntityKnowing extends FeWordKnowledge {
|
|
|
20
20
|
export interface FeDiscoverMeta extends FeWordKnowledge {
|
|
21
21
|
columns: FeEntityKnowing[];
|
|
22
22
|
}
|
|
23
|
-
export interface ProveWordMeta extends
|
|
23
|
+
export interface ProveWordMeta extends FeWordRecord {
|
|
24
24
|
isImage: number;
|
|
25
25
|
isTranslation: boolean;
|
|
26
26
|
inTag: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Feed } from "../../feed";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { FeListRecord } from "../list";
|
|
3
|
+
import { FeTableRecord } from "../table";
|
|
4
|
+
import { FeTagRecord } from "../tag";
|
|
5
5
|
import { FeUserRelationMeta } from "../user";
|
|
6
|
-
export interface
|
|
6
|
+
export interface FeLanguageRecord {
|
|
7
7
|
code: string;
|
|
8
8
|
wordCount: number;
|
|
9
9
|
knownWordCount: number;
|
|
@@ -16,7 +16,7 @@ export interface FeLanguageEntity {
|
|
|
16
16
|
nativeName: string;
|
|
17
17
|
wordCount: number;
|
|
18
18
|
relation?: FeUserRelationMeta;
|
|
19
|
-
listFeed: Feed<
|
|
20
|
-
tagFeed: Feed<
|
|
21
|
-
tableFeed: Feed<
|
|
19
|
+
listFeed: Feed<FeListRecord>;
|
|
20
|
+
tagFeed: Feed<FeTagRecord>;
|
|
21
|
+
tableFeed: Feed<FeTableRecord>;
|
|
22
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FeEntityAccess, FeEntityContribution
|
|
2
|
-
export interface
|
|
1
|
+
import { FeEntityAccess, FeEntityContribution } from "../common";
|
|
2
|
+
export interface FeListRecord {
|
|
3
3
|
id: string;
|
|
4
4
|
slug: string;
|
|
5
5
|
languageCode: string;
|
|
@@ -10,11 +10,6 @@ export interface FeList {
|
|
|
10
10
|
contribution: FeEntityContribution;
|
|
11
11
|
access: FeEntityAccess;
|
|
12
12
|
}
|
|
13
|
-
export interface FeListLinkWordRequest {
|
|
14
|
-
listId: string;
|
|
15
|
-
word: EntryWord;
|
|
16
|
-
link: boolean;
|
|
17
|
-
}
|
|
18
13
|
export interface FeListEntity {
|
|
19
14
|
id: string;
|
|
20
15
|
slug: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FeWordSetRequest, FeedRequest } from "../../feed";
|
|
2
|
+
import { EntryWord } from "../common";
|
|
2
3
|
export interface FeListWordFeedRequest extends FeedRequest, FeWordSetRequest {
|
|
3
4
|
slug: string;
|
|
4
5
|
}
|
|
@@ -12,3 +13,8 @@ export interface FeCreateListRequest {
|
|
|
12
13
|
export interface FeUpdateListRequest extends Omit<FeCreateListRequest, "languageCode"> {
|
|
13
14
|
id: string;
|
|
14
15
|
}
|
|
16
|
+
export interface FeListLinkWordRequest {
|
|
17
|
+
listId: string;
|
|
18
|
+
word: EntryWord;
|
|
19
|
+
link: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QuizMode } from "../../common";
|
|
2
|
+
import { FeWordDirect } from "../common";
|
|
3
|
+
import { FeWordImageRecord } from "../image";
|
|
4
|
+
import { FeTranslationRecord } from "../translation";
|
|
5
|
+
import { FeWordRecord } from "../word";
|
|
6
|
+
export interface FeQuizEntity {
|
|
7
|
+
mode?: QuizMode;
|
|
8
|
+
isTable?: boolean;
|
|
9
|
+
pairs: FeQuizPair[];
|
|
10
|
+
}
|
|
11
|
+
export interface FeQuizPair {
|
|
12
|
+
word: FeWordDirect;
|
|
13
|
+
translations?: FeTranslationRecord[];
|
|
14
|
+
images?: FeWordImageRecord[];
|
|
15
|
+
cellWords?: FeWordDirect[];
|
|
16
|
+
}
|
|
17
|
+
export interface FeQuizRack {
|
|
18
|
+
words: FeWordRecord[];
|
|
19
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FeEntityAccess, FeEntityContribution, RealWord } from "../common";
|
|
2
|
-
import {
|
|
2
|
+
import { FeWordRecord } from "../word";
|
|
3
3
|
export interface BasicCellStruct<TWords> {
|
|
4
4
|
columnIndex: number;
|
|
5
5
|
words: TWords;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface FeTableRecord {
|
|
8
8
|
id: string;
|
|
9
9
|
slug: string;
|
|
10
10
|
languageCode: string;
|
|
@@ -15,9 +15,9 @@ export interface FeTable {
|
|
|
15
15
|
contribution: FeEntityContribution;
|
|
16
16
|
access: FeEntityAccess;
|
|
17
17
|
}
|
|
18
|
-
export interface FeCell extends BasicCellStruct<
|
|
18
|
+
export interface FeCell extends BasicCellStruct<FeWordRecord[]> {
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface FeRowRecord {
|
|
21
21
|
id: string;
|
|
22
22
|
cells: FeCell[];
|
|
23
23
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FeEntityContribution, FeReactionInfo } from "../common";
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { FeWordRecord } from "../word";
|
|
3
|
+
export interface FeTranslationRecord {
|
|
4
4
|
id: string;
|
|
5
5
|
wordId: string;
|
|
6
6
|
speechPartCode?: string;
|
|
7
|
-
destination:
|
|
7
|
+
destination: FeWordRecord;
|
|
8
8
|
reaction?: FeReactionInfo;
|
|
9
9
|
contribution?: FeEntityContribution;
|
|
10
10
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Feed } from "../../feed";
|
|
2
|
-
import { QuizCode, QuizMode, Knowing } from "../../
|
|
3
|
-
import {
|
|
2
|
+
import { QuizCode, QuizMode, Knowing } from "../../common";
|
|
3
|
+
import { FeWordImageRecord } from "../image";
|
|
4
4
|
import { FeEntityAccess, FeEntityContribution, FeReactionInfo } from "../common";
|
|
5
|
-
import {
|
|
6
|
-
export interface
|
|
5
|
+
import { FeTranslationRecord } from "../translation";
|
|
6
|
+
export interface FeWordRecord {
|
|
7
7
|
id: string;
|
|
8
8
|
text: string;
|
|
9
9
|
languageCode: string;
|
|
10
10
|
mode?: string;
|
|
11
11
|
knowing?: Knowing;
|
|
12
12
|
attempts?: FeWordAttempt[];
|
|
13
|
-
images?:
|
|
13
|
+
images?: FeWordImageRecord[];
|
|
14
14
|
audios?: FeWordAudio[];
|
|
15
15
|
tags?: FeWordTag[];
|
|
16
|
-
translations?:
|
|
16
|
+
translations?: FeTranslationRecord[];
|
|
17
17
|
}
|
|
18
18
|
export interface FeWordTag {
|
|
19
19
|
wordId: string;
|
|
@@ -41,7 +41,7 @@ export interface FeWordAudio {
|
|
|
41
41
|
}
|
|
42
42
|
export interface FeWordSpeechPart {
|
|
43
43
|
speechPartCode?: string;
|
|
44
|
-
translationFeed: Feed<
|
|
44
|
+
translationFeed: Feed<FeTranslationRecord>;
|
|
45
45
|
}
|
|
46
46
|
export interface FeWordTranslationCode {
|
|
47
47
|
languageCode: string;
|
|
@@ -57,7 +57,7 @@ export interface FeWordEntity {
|
|
|
57
57
|
access?: FeEntityAccess;
|
|
58
58
|
attempts?: FeWordAttempt[];
|
|
59
59
|
speechParts?: FeWordSpeechPart[];
|
|
60
|
-
imageFeed?: Feed<
|
|
60
|
+
imageFeed?: Feed<FeWordImageRecord>;
|
|
61
61
|
audioFeed?: Feed<FeWordAudio>;
|
|
62
62
|
tagFeed?: Feed<FeWordTag>;
|
|
63
63
|
translationLanguageCode?: string;
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./feed"), exports);
|
|
14
|
-
__exportStar(require("./
|
|
15
|
-
__exportStar(require("./
|
|
16
|
-
__exportStar(require("./
|
|
14
|
+
__exportStar(require("./back"), exports);
|
|
15
|
+
__exportStar(require("./front"), exports);
|
|
16
|
+
__exportStar(require("./common"), exports);
|
|
17
17
|
__exportStar(require("./utils"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "revdev",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"lint": "eslint .",
|
|
11
11
|
"lint:fix": "eslint . --fix",
|
|
12
12
|
"v": "npm --no-git-tag-version version minor",
|
|
13
|
+
"pm": "npm run lint:fix && git add * && git commit -m\"update\" && git push origin master",
|
|
13
14
|
"p": "npm run v && npm run lint:fix && git add * && git commit -m\"v\" && git push origin master"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
package/lib/shared/entity.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { QuizMode } from "../../shared";
|
|
2
|
-
import { FeWordDirect } from "../common";
|
|
3
|
-
import { FeWordImage } from "../image";
|
|
4
|
-
import { FeTranslation } from "../translation";
|
|
5
|
-
import { FeWord } from "../word";
|
|
6
|
-
export interface FeQuizEntity {
|
|
7
|
-
mode?: QuizMode;
|
|
8
|
-
isTable?: boolean;
|
|
9
|
-
pairs: FeQuizPair[];
|
|
10
|
-
}
|
|
11
|
-
export interface FeQuizPair {
|
|
12
|
-
word: FeWordDirect;
|
|
13
|
-
translations?: FeTranslation[];
|
|
14
|
-
images?: FeWordImage[];
|
|
15
|
-
cellWords?: FeWordDirect[];
|
|
16
|
-
}
|
|
17
|
-
export interface FeQuizRack {
|
|
18
|
-
words: FeWord[];
|
|
19
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|