@quesmed/types 2.5.7 → 2.5.9
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/dist/cjs/models/Concept.d.ts +2 -1
- package/dist/cjs/models/Product.d.ts +7 -0
- package/dist/cjs/models/Product.js +9 -1
- package/dist/cjs/models/User.d.ts +6 -6
- package/dist/cjs/models/User.js +5 -4
- package/dist/mjs/models/Concept.d.ts +2 -1
- package/dist/mjs/models/Product.d.ts +7 -0
- package/dist/mjs/models/Product.js +8 -0
- package/dist/mjs/models/User.d.ts +6 -6
- package/dist/mjs/models/User.js +5 -4
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IChapter } from './Chapter';
|
|
2
2
|
import { ITopic } from './Topic';
|
|
3
3
|
import { Id } from './Type';
|
|
4
|
+
import { EUserLearningStatus } from './User';
|
|
4
5
|
import { IVideo } from './Video';
|
|
5
6
|
export interface IConcept {
|
|
6
7
|
id: Id;
|
|
@@ -21,5 +22,5 @@ export interface IConcept {
|
|
|
21
22
|
yellowCards?: number | null;
|
|
22
23
|
redCards?: number | null;
|
|
23
24
|
dailyFeedCards?: number | null;
|
|
24
|
-
status?:
|
|
25
|
+
status?: EUserLearningStatus | null;
|
|
25
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EProductType = void 0;
|
|
3
|
+
exports.EAppType = exports.EProductType = void 0;
|
|
4
4
|
var EProductType;
|
|
5
5
|
(function (EProductType) {
|
|
6
6
|
EProductType[EProductType["QBANK"] = 1] = "QBANK";
|
|
@@ -13,3 +13,11 @@ var EProductType;
|
|
|
13
13
|
EProductType[EProductType["MSRA"] = 8] = "MSRA";
|
|
14
14
|
EProductType[EProductType["INTERVIEW"] = 9] = "INTERVIEW";
|
|
15
15
|
})(EProductType = exports.EProductType || (exports.EProductType = {}));
|
|
16
|
+
var EAppType;
|
|
17
|
+
(function (EAppType) {
|
|
18
|
+
EAppType[EAppType["AMS"] = 1] = "AMS";
|
|
19
|
+
EAppType[EAppType["CM_UKMLA"] = 2] = "CM_UKMLA";
|
|
20
|
+
EAppType[EAppType["MRCP"] = 3] = "MRCP";
|
|
21
|
+
EAppType[EAppType["INTERVIEW"] = 4] = "INTERVIEW";
|
|
22
|
+
EAppType[EAppType["MSRA"] = 5] = "MSRA";
|
|
23
|
+
})(EAppType = exports.EAppType || (exports.EAppType = {}));
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ICard } from './Card';
|
|
2
2
|
import { IConcept } from './Concept';
|
|
3
3
|
import { IMarksheet, IMarksheetMark } from './Marksheet';
|
|
4
|
-
import { IQuestionHighlights } from './Question';
|
|
5
4
|
import { INotification } from './Notification';
|
|
6
|
-
import { IQuestion } from './Question';
|
|
5
|
+
import { IQuestion, IQuestionHighlights } from './Question';
|
|
7
6
|
import { ISubscription } from './Subscription';
|
|
8
7
|
import { ITodo } from './Todo';
|
|
9
8
|
import { Id } from './Type';
|
|
@@ -16,10 +15,11 @@ export declare enum EClassYearGroup {
|
|
|
16
15
|
CLINICAL = 1
|
|
17
16
|
}
|
|
18
17
|
export declare enum EUserLearningStatus {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
ALL = 0,
|
|
19
|
+
UNREAD = 1,
|
|
20
|
+
COMPLETED = 2,
|
|
21
|
+
REVISING = 3,
|
|
22
|
+
URGENT = 4
|
|
23
23
|
}
|
|
24
24
|
export declare const classYearGroup: {
|
|
25
25
|
[key: string]: EClassYearGroup;
|
package/dist/cjs/models/User.js
CHANGED
|
@@ -17,10 +17,11 @@ var EClassYearGroup;
|
|
|
17
17
|
})(EClassYearGroup = exports.EClassYearGroup || (exports.EClassYearGroup = {}));
|
|
18
18
|
var EUserLearningStatus;
|
|
19
19
|
(function (EUserLearningStatus) {
|
|
20
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
21
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
22
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
23
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
20
|
+
EUserLearningStatus[EUserLearningStatus["ALL"] = 0] = "ALL";
|
|
21
|
+
EUserLearningStatus[EUserLearningStatus["UNREAD"] = 1] = "UNREAD";
|
|
22
|
+
EUserLearningStatus[EUserLearningStatus["COMPLETED"] = 2] = "COMPLETED";
|
|
23
|
+
EUserLearningStatus[EUserLearningStatus["REVISING"] = 3] = "REVISING";
|
|
24
|
+
EUserLearningStatus[EUserLearningStatus["URGENT"] = 4] = "URGENT";
|
|
24
25
|
})(EUserLearningStatus = exports.EUserLearningStatus || (exports.EUserLearningStatus = {}));
|
|
25
26
|
exports.classYearGroup = {
|
|
26
27
|
'Year 1': EClassYearGroup.PRECLINICAL,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IChapter } from './Chapter';
|
|
2
2
|
import { ITopic } from './Topic';
|
|
3
3
|
import { Id } from './Type';
|
|
4
|
+
import { EUserLearningStatus } from './User';
|
|
4
5
|
import { IVideo } from './Video';
|
|
5
6
|
export interface IConcept {
|
|
6
7
|
id: Id;
|
|
@@ -21,5 +22,5 @@ export interface IConcept {
|
|
|
21
22
|
yellowCards?: number | null;
|
|
22
23
|
redCards?: number | null;
|
|
23
24
|
dailyFeedCards?: number | null;
|
|
24
|
-
status?:
|
|
25
|
+
status?: EUserLearningStatus | null;
|
|
25
26
|
}
|
|
@@ -10,3 +10,11 @@ export var EProductType;
|
|
|
10
10
|
EProductType[EProductType["MSRA"] = 8] = "MSRA";
|
|
11
11
|
EProductType[EProductType["INTERVIEW"] = 9] = "INTERVIEW";
|
|
12
12
|
})(EProductType || (EProductType = {}));
|
|
13
|
+
export var EAppType;
|
|
14
|
+
(function (EAppType) {
|
|
15
|
+
EAppType[EAppType["AMS"] = 1] = "AMS";
|
|
16
|
+
EAppType[EAppType["CM_UKMLA"] = 2] = "CM_UKMLA";
|
|
17
|
+
EAppType[EAppType["MRCP"] = 3] = "MRCP";
|
|
18
|
+
EAppType[EAppType["INTERVIEW"] = 4] = "INTERVIEW";
|
|
19
|
+
EAppType[EAppType["MSRA"] = 5] = "MSRA";
|
|
20
|
+
})(EAppType || (EAppType = {}));
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ICard } from './Card';
|
|
2
2
|
import { IConcept } from './Concept';
|
|
3
3
|
import { IMarksheet, IMarksheetMark } from './Marksheet';
|
|
4
|
-
import { IQuestionHighlights } from './Question';
|
|
5
4
|
import { INotification } from './Notification';
|
|
6
|
-
import { IQuestion } from './Question';
|
|
5
|
+
import { IQuestion, IQuestionHighlights } from './Question';
|
|
7
6
|
import { ISubscription } from './Subscription';
|
|
8
7
|
import { ITodo } from './Todo';
|
|
9
8
|
import { Id } from './Type';
|
|
@@ -16,10 +15,11 @@ export declare enum EClassYearGroup {
|
|
|
16
15
|
CLINICAL = 1
|
|
17
16
|
}
|
|
18
17
|
export declare enum EUserLearningStatus {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
ALL = 0,
|
|
19
|
+
UNREAD = 1,
|
|
20
|
+
COMPLETED = 2,
|
|
21
|
+
REVISING = 3,
|
|
22
|
+
URGENT = 4
|
|
23
23
|
}
|
|
24
24
|
export declare const classYearGroup: {
|
|
25
25
|
[key: string]: EClassYearGroup;
|
package/dist/mjs/models/User.js
CHANGED
|
@@ -14,10 +14,11 @@ export var EClassYearGroup;
|
|
|
14
14
|
})(EClassYearGroup || (EClassYearGroup = {}));
|
|
15
15
|
export var EUserLearningStatus;
|
|
16
16
|
(function (EUserLearningStatus) {
|
|
17
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
18
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
19
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
20
|
-
EUserLearningStatus[EUserLearningStatus["
|
|
17
|
+
EUserLearningStatus[EUserLearningStatus["ALL"] = 0] = "ALL";
|
|
18
|
+
EUserLearningStatus[EUserLearningStatus["UNREAD"] = 1] = "UNREAD";
|
|
19
|
+
EUserLearningStatus[EUserLearningStatus["COMPLETED"] = 2] = "COMPLETED";
|
|
20
|
+
EUserLearningStatus[EUserLearningStatus["REVISING"] = 3] = "REVISING";
|
|
21
|
+
EUserLearningStatus[EUserLearningStatus["URGENT"] = 4] = "URGENT";
|
|
21
22
|
})(EUserLearningStatus || (EUserLearningStatus = {}));
|
|
22
23
|
export const classYearGroup = {
|
|
23
24
|
'Year 1': EClassYearGroup.PRECLINICAL,
|