@quesmed/types 2.5.4 → 2.5.6
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/Product.d.ts +11 -1
- package/dist/cjs/models/Product.js +6 -0
- package/dist/cjs/resolvers/query/restricted/marksheet.js +5 -4
- package/dist/mjs/models/Product.d.ts +11 -1
- package/dist/mjs/models/Product.js +6 -0
- package/dist/mjs/resolvers/query/restricted/marksheet.js +5 -4
- package/package.json +1 -1
|
@@ -2,7 +2,13 @@ import { Id } from './Type';
|
|
|
2
2
|
export declare enum EProductType {
|
|
3
3
|
QBANK = 1,
|
|
4
4
|
OSCE = 2,
|
|
5
|
-
BUNDLE = 3
|
|
5
|
+
BUNDLE = 3,
|
|
6
|
+
ANATOMY = 4,
|
|
7
|
+
MEDICAL_SCIENCES = 5,
|
|
8
|
+
ANATOMY_BUNDLE = 6,
|
|
9
|
+
MRCP = 7,
|
|
10
|
+
MSRA = 8,
|
|
11
|
+
INTERVIEW = 9
|
|
6
12
|
}
|
|
7
13
|
export interface IProduct {
|
|
8
14
|
id: Id;
|
|
@@ -15,3 +21,7 @@ export interface IProduct {
|
|
|
15
21
|
public: boolean;
|
|
16
22
|
typeId: EProductType;
|
|
17
23
|
}
|
|
24
|
+
export interface IProductType {
|
|
25
|
+
id: Id;
|
|
26
|
+
name: string;
|
|
27
|
+
}
|
|
@@ -6,4 +6,10 @@ var EProductType;
|
|
|
6
6
|
EProductType[EProductType["QBANK"] = 1] = "QBANK";
|
|
7
7
|
EProductType[EProductType["OSCE"] = 2] = "OSCE";
|
|
8
8
|
EProductType[EProductType["BUNDLE"] = 3] = "BUNDLE";
|
|
9
|
+
EProductType[EProductType["ANATOMY"] = 4] = "ANATOMY";
|
|
10
|
+
EProductType[EProductType["MEDICAL_SCIENCES"] = 5] = "MEDICAL_SCIENCES";
|
|
11
|
+
EProductType[EProductType["ANATOMY_BUNDLE"] = 6] = "ANATOMY_BUNDLE";
|
|
12
|
+
EProductType[EProductType["MRCP"] = 7] = "MRCP";
|
|
13
|
+
EProductType[EProductType["MSRA"] = 8] = "MSRA";
|
|
14
|
+
EProductType[EProductType["INTERVIEW"] = 9] = "INTERVIEW";
|
|
9
15
|
})(EProductType = exports.EProductType || (exports.EProductType = {}));
|
|
@@ -610,10 +610,10 @@ exports.MARKSHEETS = (0, client_1.gql) `
|
|
|
610
610
|
displayName
|
|
611
611
|
}
|
|
612
612
|
marks {
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
613
|
+
question {
|
|
614
|
+
topic {
|
|
615
|
+
typeId
|
|
616
|
+
name
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -644,6 +644,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
644
644
|
flaggedQuestions(filter: $filter) {
|
|
645
645
|
total
|
|
646
646
|
results {
|
|
647
|
+
createdAt
|
|
647
648
|
id
|
|
648
649
|
markId
|
|
649
650
|
questionId
|
|
@@ -2,7 +2,13 @@ import { Id } from './Type';
|
|
|
2
2
|
export declare enum EProductType {
|
|
3
3
|
QBANK = 1,
|
|
4
4
|
OSCE = 2,
|
|
5
|
-
BUNDLE = 3
|
|
5
|
+
BUNDLE = 3,
|
|
6
|
+
ANATOMY = 4,
|
|
7
|
+
MEDICAL_SCIENCES = 5,
|
|
8
|
+
ANATOMY_BUNDLE = 6,
|
|
9
|
+
MRCP = 7,
|
|
10
|
+
MSRA = 8,
|
|
11
|
+
INTERVIEW = 9
|
|
6
12
|
}
|
|
7
13
|
export interface IProduct {
|
|
8
14
|
id: Id;
|
|
@@ -15,3 +21,7 @@ export interface IProduct {
|
|
|
15
21
|
public: boolean;
|
|
16
22
|
typeId: EProductType;
|
|
17
23
|
}
|
|
24
|
+
export interface IProductType {
|
|
25
|
+
id: Id;
|
|
26
|
+
name: string;
|
|
27
|
+
}
|
|
@@ -3,4 +3,10 @@ export var EProductType;
|
|
|
3
3
|
EProductType[EProductType["QBANK"] = 1] = "QBANK";
|
|
4
4
|
EProductType[EProductType["OSCE"] = 2] = "OSCE";
|
|
5
5
|
EProductType[EProductType["BUNDLE"] = 3] = "BUNDLE";
|
|
6
|
+
EProductType[EProductType["ANATOMY"] = 4] = "ANATOMY";
|
|
7
|
+
EProductType[EProductType["MEDICAL_SCIENCES"] = 5] = "MEDICAL_SCIENCES";
|
|
8
|
+
EProductType[EProductType["ANATOMY_BUNDLE"] = 6] = "ANATOMY_BUNDLE";
|
|
9
|
+
EProductType[EProductType["MRCP"] = 7] = "MRCP";
|
|
10
|
+
EProductType[EProductType["MSRA"] = 8] = "MSRA";
|
|
11
|
+
EProductType[EProductType["INTERVIEW"] = 9] = "INTERVIEW";
|
|
6
12
|
})(EProductType || (EProductType = {}));
|
|
@@ -607,10 +607,10 @@ export const MARKSHEETS = gql `
|
|
|
607
607
|
displayName
|
|
608
608
|
}
|
|
609
609
|
marks {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
610
|
+
question {
|
|
611
|
+
topic {
|
|
612
|
+
typeId
|
|
613
|
+
name
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
}
|
|
@@ -641,6 +641,7 @@ export const FLAGGED_QUESTIONS = gql `
|
|
|
641
641
|
flaggedQuestions(filter: $filter) {
|
|
642
642
|
total
|
|
643
643
|
results {
|
|
644
|
+
createdAt
|
|
644
645
|
id
|
|
645
646
|
markId
|
|
646
647
|
questionId
|