@quesmed/types 1.3.14 → 1.3.18
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/gql_input_output_types/User.cjs +2 -0
- package/gql_input_output_types/User.js +1 -2
- package/gql_input_output_types/index.cjs +2 -0
- package/gql_input_output_types/index.js +1 -2
- package/index.cjs +20 -0
- package/index.js +4 -7
- package/models/Author.cjs +2 -0
- package/models/Author.js +1 -2
- package/models/Book.cjs +2 -0
- package/models/Book.js +1 -2
- package/models/Card.cjs +2 -0
- package/models/Card.js +1 -2
- package/models/Chapter.cjs +2 -0
- package/models/Chapter.js +1 -2
- package/models/Concept.cjs +2 -0
- package/models/Concept.js +1 -2
- package/models/Difficulty.cjs +10 -0
- package/models/Difficulty.js +2 -5
- package/models/Feedback.cjs +2 -0
- package/models/Feedback.js +1 -2
- package/models/File.cjs +2 -0
- package/models/File.js +1 -2
- package/models/Marksheet.cjs +9 -0
- package/models/Marksheet.js +2 -5
- package/models/MockTest.cjs +2 -0
- package/models/MockTest.js +1 -2
- package/models/OsceMarksheet.cjs +23 -0
- package/models/OsceMarksheet.js +4 -7
- package/models/OsceStation.cjs +45 -0
- package/models/OsceStation.js +3 -6
- package/models/Picture.cjs +6 -0
- package/models/Picture.js +1 -2
- package/models/Promo.cjs +2 -0
- package/models/Promo.js +1 -2
- package/models/Question.cjs +37 -0
- package/models/Question.js +8 -15
- package/models/Subscription.cjs +9 -0
- package/models/Subscription.js +2 -5
- package/models/Todo.cjs +2 -0
- package/models/Todo.js +1 -2
- package/models/Token.cjs +2 -0
- package/models/Token.js +1 -2
- package/models/Topic.cjs +13 -0
- package/models/Topic.js +2 -5
- package/models/Type.cjs +2 -0
- package/models/Type.js +1 -2
- package/models/University.cjs +2 -0
- package/models/University.js +1 -2
- package/models/User.cjs +2 -0
- package/models/User.d.ts +1 -0
- package/models/User.js +1 -2
- package/models/Video.cjs +2 -0
- package/models/Video.js +1 -2
- package/models/index.cjs +35 -0
- package/models/index.js +23 -35
- package/package.json +17 -4
- package/resolvers/apollo.cjs +2 -0
- package/resolvers/apollo.d.ts +8 -0
- package/resolvers/apollo.js +1 -0
- package/resolvers/mutation/admin/algoliaSync.cjs +2 -0
- package/resolvers/mutation/admin/algoliaSync.js +1 -2
- package/resolvers/mutation/admin/index.cjs +14 -0
- package/resolvers/mutation/admin/index.js +2 -14
- package/resolvers/mutation/admin/token.cjs +2 -0
- package/resolvers/mutation/admin/token.js +1 -2
- package/resolvers/mutation/index.cjs +14 -0
- package/resolvers/mutation/index.js +2 -14
- package/resolvers/mutation/restricted/agora.cjs +2 -0
- package/resolvers/mutation/restricted/agora.js +1 -2
- package/resolvers/mutation/restricted/contactUs.cjs +2 -0
- package/resolvers/mutation/restricted/contactUs.js +1 -2
- package/resolvers/mutation/restricted/index.cjs +22 -0
- package/resolvers/mutation/restricted/index.js +10 -22
- package/resolvers/mutation/restricted/marksheet.cjs +2 -0
- package/resolvers/mutation/restricted/marksheet.js +1 -2
- package/resolvers/mutation/restricted/mockTest.cjs +2 -0
- package/resolvers/mutation/restricted/mockTest.js +1 -2
- package/resolvers/mutation/restricted/osce.cjs +2 -0
- package/resolvers/mutation/restricted/osce.js +1 -2
- package/resolvers/mutation/restricted/questionDiscussion.cjs +2 -0
- package/resolvers/mutation/restricted/questionDiscussion.js +1 -2
- package/resolvers/mutation/restricted/todo.cjs +29 -0
- package/resolvers/mutation/restricted/todo.d.ts +5 -0
- package/resolvers/mutation/restricted/todo.js +25 -2
- package/resolvers/mutation/restricted/token.cjs +2 -0
- package/resolvers/mutation/restricted/token.js +1 -2
- package/resolvers/mutation/restricted/users.cjs +2 -0
- package/resolvers/mutation/restricted/users.js +1 -2
- package/resolvers/mutation/restricted/video.cjs +2 -0
- package/resolvers/mutation/restricted/video.js +1 -2
- package/resolvers/mutation/stripe.cjs +2 -0
- package/resolvers/mutation/stripe.js +1 -2
- package/resolvers/mutation/users.cjs +2 -0
- package/resolvers/mutation/users.js +1 -2
- package/resolvers/mutation/validUserToken/index.cjs +13 -0
- package/resolvers/mutation/validUserToken/index.js +1 -13
- package/resolvers/mutation/validUserToken/user.cjs +2 -0
- package/resolvers/mutation/validUserToken/user.js +1 -2
- package/resolvers/query/admin/getUserToken.cjs +2 -0
- package/resolvers/query/admin/getUserToken.js +1 -2
- package/resolvers/query/admin/index.cjs +13 -0
- package/resolvers/query/admin/index.js +1 -13
- package/resolvers/query/author.cjs +2 -0
- package/resolvers/query/author.js +1 -2
- package/resolvers/query/book.cjs +2 -0
- package/resolvers/query/book.js +1 -2
- package/resolvers/query/feedback.cjs +2 -0
- package/resolvers/query/feedback.js +1 -2
- package/resolvers/query/index.cjs +21 -0
- package/resolvers/query/index.js +9 -21
- package/resolvers/query/restricted/anatomy.cjs +2 -0
- package/resolvers/query/restricted/anatomy.js +1 -2
- package/resolvers/query/restricted/index.cjs +22 -0
- package/resolvers/query/restricted/index.js +10 -22
- package/resolvers/query/restricted/marksheet.cjs +2 -0
- package/resolvers/query/restricted/marksheet.js +1 -2
- package/resolvers/query/restricted/mockTests.cjs +2 -0
- package/resolvers/query/restricted/mockTests.js +1 -2
- package/resolvers/query/restricted/osce.cjs +2 -0
- package/resolvers/query/restricted/osce.js +1 -2
- package/resolvers/query/restricted/quesBook.cjs +2 -0
- package/resolvers/query/restricted/quesBook.js +1 -2
- package/resolvers/query/restricted/todos.cjs +2 -0
- package/resolvers/query/restricted/todos.js +1 -2
- package/resolvers/query/restricted/topics.cjs +2 -0
- package/resolvers/query/restricted/topics.js +1 -2
- package/resolvers/query/restricted/university.cjs +2 -0
- package/resolvers/query/restricted/university.js +1 -2
- package/resolvers/query/restricted/user.cjs +2 -0
- package/resolvers/query/restricted/user.js +1 -2
- package/resolvers/query/restricted/video.cjs +2 -0
- package/resolvers/query/restricted/video.js +1 -2
- package/resolvers/query/sampleCards.cjs +2 -0
- package/resolvers/query/sampleCards.js +1 -2
- package/resolvers/query/sampleQuestions.cjs +2 -0
- package/resolvers/query/sampleQuestions.js +1 -2
- package/resolvers/query/subscription.cjs +2 -0
- package/resolvers/query/subscription.js +1 -2
- package/resolvers/query/university.cjs +2 -0
- package/resolvers/query/university.js +1 -2
- package/resolvers/query/user.cjs +2 -0
- package/resolvers/query/user.js +1 -2
- package/resolvers/query/video.cjs +2 -0
- package/resolvers/query/video.js +1 -2
- package/resolvers/subscription/index.cjs +13 -0
- package/resolvers/subscription/index.js +1 -13
- package/resolvers/subscription/osce.cjs +43 -0
- package/resolvers/subscription/osce.js +10 -14
- package/utils/commonFunctions.cjs +223 -0
- package/utils/commonFunctions.js +11 -17
- package/utils/index.cjs +17 -0
- package/utils/index.d.ts +5 -0
- package/utils/index.js +5 -0
- package/utils/lightgallery.cjs +91 -0
- package/utils/lightgallery.d.ts +4 -2
- package/utils/lightgallery.js +5 -6
- package/utils/offlineLink.cjs +237 -0
- package/utils/offlineLink.d.ts +64 -0
- package/utils/offlineLink.js +230 -0
- package/utils/uuid4.cjs +287 -0
- package/utils/uuid4.js +1 -3
- package/utils/wordsToNumber.cjs +48 -0
- package/utils/wordsToNumber.js +1 -5
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/index.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EPlatformId = exports.FCM_TOPICS = exports.ERRORS = void 0;
|
|
4
|
+
exports.ERRORS = {
|
|
5
|
+
TOKEN_INVALID: 'Invalid token.',
|
|
6
|
+
TOKEN_MISSING: 'Missing token.',
|
|
7
|
+
TOKEN_EXPIRED: 'Expired token.',
|
|
8
|
+
SUBSCRIPTION_EXPIRED: 'Expired subscription.',
|
|
9
|
+
PERMISSION_INVALID: 'Invalid permission.',
|
|
10
|
+
};
|
|
11
|
+
exports.FCM_TOPICS = {
|
|
12
|
+
GLOBAL: 'global',
|
|
13
|
+
QBANK: 'qbank',
|
|
14
|
+
OSCE: 'osce',
|
|
15
|
+
};
|
|
16
|
+
var EPlatformId;
|
|
17
|
+
(function (EPlatformId) {
|
|
18
|
+
EPlatformId[EPlatformId["QBANK"] = 0] = "QBANK";
|
|
19
|
+
EPlatformId[EPlatformId["OSCE"] = 1] = "OSCE";
|
|
20
|
+
})(EPlatformId = exports.EPlatformId || (exports.EPlatformId = {}));
|
package/index.js
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EPlatformId = exports.FCM_TOPICS = exports.ERRORS = void 0;
|
|
4
|
-
exports.ERRORS = {
|
|
1
|
+
export const ERRORS = {
|
|
5
2
|
TOKEN_INVALID: 'Invalid token.',
|
|
6
3
|
TOKEN_MISSING: 'Missing token.',
|
|
7
4
|
TOKEN_EXPIRED: 'Expired token.',
|
|
8
5
|
SUBSCRIPTION_EXPIRED: 'Expired subscription.',
|
|
9
6
|
PERMISSION_INVALID: 'Invalid permission.',
|
|
10
7
|
};
|
|
11
|
-
|
|
8
|
+
export const FCM_TOPICS = {
|
|
12
9
|
GLOBAL: 'global',
|
|
13
10
|
QBANK: 'qbank',
|
|
14
11
|
OSCE: 'osce',
|
|
15
12
|
};
|
|
16
|
-
var EPlatformId;
|
|
13
|
+
export var EPlatformId;
|
|
17
14
|
(function (EPlatformId) {
|
|
18
15
|
EPlatformId[EPlatformId["QBANK"] = 0] = "QBANK";
|
|
19
16
|
EPlatformId[EPlatformId["OSCE"] = 1] = "OSCE";
|
|
20
|
-
})(EPlatformId
|
|
17
|
+
})(EPlatformId || (EPlatformId = {}));
|
package/models/Author.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Book.cjs
ADDED
package/models/Book.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Card.cjs
ADDED
package/models/Card.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Chapter.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Concept.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EDifficultyType = void 0;
|
|
4
|
+
var EDifficultyType;
|
|
5
|
+
(function (EDifficultyType) {
|
|
6
|
+
EDifficultyType[EDifficultyType["ALL"] = 0] = "ALL";
|
|
7
|
+
EDifficultyType[EDifficultyType["CORE"] = 1] = "CORE";
|
|
8
|
+
EDifficultyType[EDifficultyType["CHALLENGING"] = 2] = "CHALLENGING";
|
|
9
|
+
EDifficultyType[EDifficultyType["DIFFICULT"] = 3] = "DIFFICULT";
|
|
10
|
+
})(EDifficultyType = exports.EDifficultyType || (exports.EDifficultyType = {}));
|
package/models/Difficulty.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EDifficultyType = void 0;
|
|
4
|
-
var EDifficultyType;
|
|
1
|
+
export var EDifficultyType;
|
|
5
2
|
(function (EDifficultyType) {
|
|
6
3
|
EDifficultyType[EDifficultyType["ALL"] = 0] = "ALL";
|
|
7
4
|
EDifficultyType[EDifficultyType["CORE"] = 1] = "CORE";
|
|
8
5
|
EDifficultyType[EDifficultyType["CHALLENGING"] = 2] = "CHALLENGING";
|
|
9
6
|
EDifficultyType[EDifficultyType["DIFFICULT"] = 3] = "DIFFICULT";
|
|
10
|
-
})(EDifficultyType
|
|
7
|
+
})(EDifficultyType || (EDifficultyType = {}));
|
package/models/Feedback.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/File.cjs
ADDED
package/models/File.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EQuestionLike = void 0;
|
|
4
|
+
var EQuestionLike;
|
|
5
|
+
(function (EQuestionLike) {
|
|
6
|
+
EQuestionLike[EQuestionLike["NONE"] = 0] = "NONE";
|
|
7
|
+
EQuestionLike[EQuestionLike["LIKE"] = 1] = "LIKE";
|
|
8
|
+
EQuestionLike[EQuestionLike["DISLIKE"] = 2] = "DISLIKE";
|
|
9
|
+
})(EQuestionLike = exports.EQuestionLike || (exports.EQuestionLike = {}));
|
package/models/Marksheet.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EQuestionLike = void 0;
|
|
4
|
-
var EQuestionLike;
|
|
1
|
+
export var EQuestionLike;
|
|
5
2
|
(function (EQuestionLike) {
|
|
6
3
|
EQuestionLike[EQuestionLike["NONE"] = 0] = "NONE";
|
|
7
4
|
EQuestionLike[EQuestionLike["LIKE"] = 1] = "LIKE";
|
|
8
5
|
EQuestionLike[EQuestionLike["DISLIKE"] = 2] = "DISLIKE";
|
|
9
|
-
})(EQuestionLike
|
|
6
|
+
})(EQuestionLike || (EQuestionLike = {}));
|
package/models/MockTest.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EOsceMarksheetAction = exports.EOsceRoles = void 0;
|
|
4
|
+
var EOsceRoles;
|
|
5
|
+
(function (EOsceRoles) {
|
|
6
|
+
EOsceRoles[EOsceRoles["ALL"] = 0] = "ALL";
|
|
7
|
+
EOsceRoles[EOsceRoles["CANDIDATE"] = 1] = "CANDIDATE";
|
|
8
|
+
EOsceRoles[EOsceRoles["ACTOR"] = 2] = "ACTOR";
|
|
9
|
+
EOsceRoles[EOsceRoles["EXAMINER"] = 3] = "EXAMINER";
|
|
10
|
+
EOsceRoles[EOsceRoles["OBSERVER"] = 4] = "OBSERVER";
|
|
11
|
+
})(EOsceRoles = exports.EOsceRoles || (exports.EOsceRoles = {}));
|
|
12
|
+
var EOsceMarksheetAction;
|
|
13
|
+
(function (EOsceMarksheetAction) {
|
|
14
|
+
EOsceMarksheetAction[EOsceMarksheetAction["PRESTART"] = 0] = "PRESTART";
|
|
15
|
+
EOsceMarksheetAction[EOsceMarksheetAction["START"] = 1] = "START";
|
|
16
|
+
EOsceMarksheetAction[EOsceMarksheetAction["END"] = 2] = "END";
|
|
17
|
+
EOsceMarksheetAction[EOsceMarksheetAction["PAUSE"] = 3] = "PAUSE";
|
|
18
|
+
EOsceMarksheetAction[EOsceMarksheetAction["CONTINUE"] = 4] = "CONTINUE";
|
|
19
|
+
EOsceMarksheetAction[EOsceMarksheetAction["CONNECT"] = 5] = "CONNECT";
|
|
20
|
+
EOsceMarksheetAction[EOsceMarksheetAction["DISCONNECT"] = 6] = "DISCONNECT";
|
|
21
|
+
EOsceMarksheetAction[EOsceMarksheetAction["SELECT"] = 7] = "SELECT";
|
|
22
|
+
EOsceMarksheetAction[EOsceMarksheetAction["LEFT"] = 8] = "LEFT";
|
|
23
|
+
})(EOsceMarksheetAction = exports.EOsceMarksheetAction || (exports.EOsceMarksheetAction = {}));
|
package/models/OsceMarksheet.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EOsceMarksheetAction = exports.EOsceRoles = void 0;
|
|
4
|
-
var EOsceRoles;
|
|
1
|
+
export var EOsceRoles;
|
|
5
2
|
(function (EOsceRoles) {
|
|
6
3
|
EOsceRoles[EOsceRoles["ALL"] = 0] = "ALL";
|
|
7
4
|
EOsceRoles[EOsceRoles["CANDIDATE"] = 1] = "CANDIDATE";
|
|
8
5
|
EOsceRoles[EOsceRoles["ACTOR"] = 2] = "ACTOR";
|
|
9
6
|
EOsceRoles[EOsceRoles["EXAMINER"] = 3] = "EXAMINER";
|
|
10
7
|
EOsceRoles[EOsceRoles["OBSERVER"] = 4] = "OBSERVER";
|
|
11
|
-
})(EOsceRoles
|
|
12
|
-
var EOsceMarksheetAction;
|
|
8
|
+
})(EOsceRoles || (EOsceRoles = {}));
|
|
9
|
+
export var EOsceMarksheetAction;
|
|
13
10
|
(function (EOsceMarksheetAction) {
|
|
14
11
|
EOsceMarksheetAction[EOsceMarksheetAction["PRESTART"] = 0] = "PRESTART";
|
|
15
12
|
EOsceMarksheetAction[EOsceMarksheetAction["START"] = 1] = "START";
|
|
@@ -20,4 +17,4 @@ var EOsceMarksheetAction;
|
|
|
20
17
|
EOsceMarksheetAction[EOsceMarksheetAction["DISCONNECT"] = 6] = "DISCONNECT";
|
|
21
18
|
EOsceMarksheetAction[EOsceMarksheetAction["SELECT"] = 7] = "SELECT";
|
|
22
19
|
EOsceMarksheetAction[EOsceMarksheetAction["LEFT"] = 8] = "LEFT";
|
|
23
|
-
})(EOsceMarksheetAction
|
|
20
|
+
})(EOsceMarksheetAction || (EOsceMarksheetAction = {}));
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OSCE_GLOBAL_RATING = exports.EOsceType = void 0;
|
|
4
|
+
var EOsceType;
|
|
5
|
+
(function (EOsceType) {
|
|
6
|
+
EOsceType[EOsceType["ALL"] = 0] = "ALL";
|
|
7
|
+
EOsceType[EOsceType["HISTORY_TAKING"] = 1] = "HISTORY_TAKING";
|
|
8
|
+
EOsceType[EOsceType["COMMUNICATION_SKILLS"] = 2] = "COMMUNICATION_SKILLS";
|
|
9
|
+
EOsceType[EOsceType["EXAMINATION"] = 3] = "EXAMINATION";
|
|
10
|
+
EOsceType[EOsceType["PROCEDURE"] = 4] = "PROCEDURE";
|
|
11
|
+
EOsceType[EOsceType["INTERPRETATION"] = 5] = "INTERPRETATION";
|
|
12
|
+
EOsceType[EOsceType["ABCDE"] = 6] = "ABCDE";
|
|
13
|
+
})(EOsceType = exports.EOsceType || (exports.EOsceType = {}));
|
|
14
|
+
exports.OSCE_GLOBAL_RATING = {
|
|
15
|
+
[EOsceType.ABCDE]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard
|
|
16
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions
|
|
17
|
+
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
|
18
|
+
4. Good - The performance of the candidate was good in most areas. Technical and non-technical aspects of the task were performed equally well.
|
|
19
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the task and displayed confidence, professionalism, and empathy.`,
|
|
20
|
+
[EOsceType.COMMUNICATION_SKILLS]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard
|
|
21
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions
|
|
22
|
+
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
|
23
|
+
4. Good - The performance of the candidate was good in most areas. Technical and non-technical aspects of the task were performed equally well.
|
|
24
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the task and displayed confidence, professionalism, and empathy.`,
|
|
25
|
+
[EOsceType.EXAMINATION]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard
|
|
26
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions
|
|
27
|
+
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
|
28
|
+
4. Good - The performance of the candidate was good in most areas. Technical and non-technical aspects of the task were performed equally well.
|
|
29
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the task and displayed confidence, professionalism, and empathy.`,
|
|
30
|
+
[EOsceType.HISTORY_TAKING]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard.
|
|
31
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole history was performed slightly below passing level or there were some key errors or omissions. The differentials have some important omissions.
|
|
32
|
+
3. Pass - The history was performed to an acceptable level. There may have been some minor errors or omissions. The differentials were sensible.
|
|
33
|
+
4. Good - The performance of the candidate was good in most areas. All aspects of the task were performed equally well. The differentials were thorough and well-reasoned.
|
|
34
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the history and summary and displayed confidence, professionalism, and empathy.`,
|
|
35
|
+
[EOsceType.INTERPRETATION]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard
|
|
36
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions
|
|
37
|
+
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
|
38
|
+
4. Good - The performance of the candidate was good in most areas. Technical and non-technical aspects of the task were performed equally well.
|
|
39
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the task and displayed confidence, professionalism, and empathy.`,
|
|
40
|
+
[EOsceType.PROCEDURE]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard.
|
|
41
|
+
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions.
|
|
42
|
+
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
|
43
|
+
4. Good - The performance of the candidate was good in most areas. Technical and non-technical aspects of the task were performed equally well.
|
|
44
|
+
5. Excellent - The candidate performed to a high standard throughout. They were fluent in all aspects of the task and displayed confidence, professionalism, and empathy.`,
|
|
45
|
+
};
|
package/models/OsceStation.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OSCE_GLOBAL_RATING = exports.EOsceType = void 0;
|
|
4
|
-
var EOsceType;
|
|
1
|
+
export var EOsceType;
|
|
5
2
|
(function (EOsceType) {
|
|
6
3
|
EOsceType[EOsceType["ALL"] = 0] = "ALL";
|
|
7
4
|
EOsceType[EOsceType["HISTORY_TAKING"] = 1] = "HISTORY_TAKING";
|
|
@@ -10,8 +7,8 @@ var EOsceType;
|
|
|
10
7
|
EOsceType[EOsceType["PROCEDURE"] = 4] = "PROCEDURE";
|
|
11
8
|
EOsceType[EOsceType["INTERPRETATION"] = 5] = "INTERPRETATION";
|
|
12
9
|
EOsceType[EOsceType["ABCDE"] = 6] = "ABCDE";
|
|
13
|
-
})(EOsceType
|
|
14
|
-
|
|
10
|
+
})(EOsceType || (EOsceType = {}));
|
|
11
|
+
export const OSCE_GLOBAL_RATING = {
|
|
15
12
|
[EOsceType.ABCDE]: `1. Fail - The candidate did not perform large parts of the scenario to the required standard
|
|
16
13
|
2. Borderline - It is not clear whether the candidate demonstrated acceptable performance: either the whole task was performed slightly below passing level or there were some key errors or omissions
|
|
17
14
|
3. Pass - The task was performed to an acceptable level. There may have been some minor errors or omissions.
|
package/models/Picture.js
CHANGED
package/models/Promo.cjs
ADDED
package/models/Promo.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isQuestionPrescribe = exports.isQuestionMultiQ = exports.isQuestionQA = exports.isQuestionSBA = exports.EQuestionType = exports.EPsaSectionType = void 0;
|
|
4
|
+
var EPsaSectionType;
|
|
5
|
+
(function (EPsaSectionType) {
|
|
6
|
+
EPsaSectionType[EPsaSectionType["PRESCRIBING"] = 1] = "PRESCRIBING";
|
|
7
|
+
EPsaSectionType[EPsaSectionType["PRESCRIPTION_REVIEW"] = 2] = "PRESCRIPTION_REVIEW";
|
|
8
|
+
EPsaSectionType[EPsaSectionType["PLANNING_MANAGEMENT"] = 3] = "PLANNING_MANAGEMENT";
|
|
9
|
+
EPsaSectionType[EPsaSectionType["PROVIDING_INFORMATION"] = 4] = "PROVIDING_INFORMATION";
|
|
10
|
+
EPsaSectionType[EPsaSectionType["CALCULATION_SKILLS"] = 5] = "CALCULATION_SKILLS";
|
|
11
|
+
EPsaSectionType[EPsaSectionType["ADVERSE_DRUG_REACTION"] = 6] = "ADVERSE_DRUG_REACTION";
|
|
12
|
+
EPsaSectionType[EPsaSectionType["DRUG_MONITORING"] = 7] = "DRUG_MONITORING";
|
|
13
|
+
EPsaSectionType[EPsaSectionType["DATA_INTERPRETATION"] = 8] = "DATA_INTERPRETATION";
|
|
14
|
+
})(EPsaSectionType = exports.EPsaSectionType || (exports.EPsaSectionType = {}));
|
|
15
|
+
var EQuestionType;
|
|
16
|
+
(function (EQuestionType) {
|
|
17
|
+
EQuestionType[EQuestionType["SINGLE_BEST_ANSWER"] = 1] = "SINGLE_BEST_ANSWER";
|
|
18
|
+
EQuestionType[EQuestionType["QUESTION_ANSWER"] = 2] = "QUESTION_ANSWER";
|
|
19
|
+
EQuestionType[EQuestionType["MULTIPLE_ANSWERS"] = 3] = "MULTIPLE_ANSWERS";
|
|
20
|
+
EQuestionType[EQuestionType["PRESCRIPTION_ANSWER"] = 4] = "PRESCRIPTION_ANSWER";
|
|
21
|
+
})(EQuestionType = exports.EQuestionType || (exports.EQuestionType = {}));
|
|
22
|
+
function isQuestionSBA(data) {
|
|
23
|
+
return data.typeId === EQuestionType.SINGLE_BEST_ANSWER;
|
|
24
|
+
}
|
|
25
|
+
exports.isQuestionSBA = isQuestionSBA;
|
|
26
|
+
function isQuestionQA(data) {
|
|
27
|
+
return data.typeId === EQuestionType.QUESTION_ANSWER;
|
|
28
|
+
}
|
|
29
|
+
exports.isQuestionQA = isQuestionQA;
|
|
30
|
+
function isQuestionMultiQ(data) {
|
|
31
|
+
return data.typeId === EQuestionType.MULTIPLE_ANSWERS;
|
|
32
|
+
}
|
|
33
|
+
exports.isQuestionMultiQ = isQuestionMultiQ;
|
|
34
|
+
function isQuestionPrescribe(data) {
|
|
35
|
+
return data.typeId === EQuestionType.PRESCRIPTION_ANSWER;
|
|
36
|
+
}
|
|
37
|
+
exports.isQuestionPrescribe = isQuestionPrescribe;
|
package/models/Question.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isQuestionPrescribe = exports.isQuestionMultiQ = exports.isQuestionQA = exports.isQuestionSBA = exports.EQuestionType = exports.EPsaSectionType = void 0;
|
|
4
|
-
var EPsaSectionType;
|
|
1
|
+
export var EPsaSectionType;
|
|
5
2
|
(function (EPsaSectionType) {
|
|
6
3
|
EPsaSectionType[EPsaSectionType["PRESCRIBING"] = 1] = "PRESCRIBING";
|
|
7
4
|
EPsaSectionType[EPsaSectionType["PRESCRIPTION_REVIEW"] = 2] = "PRESCRIPTION_REVIEW";
|
|
@@ -11,27 +8,23 @@ var EPsaSectionType;
|
|
|
11
8
|
EPsaSectionType[EPsaSectionType["ADVERSE_DRUG_REACTION"] = 6] = "ADVERSE_DRUG_REACTION";
|
|
12
9
|
EPsaSectionType[EPsaSectionType["DRUG_MONITORING"] = 7] = "DRUG_MONITORING";
|
|
13
10
|
EPsaSectionType[EPsaSectionType["DATA_INTERPRETATION"] = 8] = "DATA_INTERPRETATION";
|
|
14
|
-
})(EPsaSectionType
|
|
15
|
-
var EQuestionType;
|
|
11
|
+
})(EPsaSectionType || (EPsaSectionType = {}));
|
|
12
|
+
export var EQuestionType;
|
|
16
13
|
(function (EQuestionType) {
|
|
17
14
|
EQuestionType[EQuestionType["SINGLE_BEST_ANSWER"] = 1] = "SINGLE_BEST_ANSWER";
|
|
18
15
|
EQuestionType[EQuestionType["QUESTION_ANSWER"] = 2] = "QUESTION_ANSWER";
|
|
19
16
|
EQuestionType[EQuestionType["MULTIPLE_ANSWERS"] = 3] = "MULTIPLE_ANSWERS";
|
|
20
17
|
EQuestionType[EQuestionType["PRESCRIPTION_ANSWER"] = 4] = "PRESCRIPTION_ANSWER";
|
|
21
|
-
})(EQuestionType
|
|
22
|
-
function isQuestionSBA(data) {
|
|
18
|
+
})(EQuestionType || (EQuestionType = {}));
|
|
19
|
+
export function isQuestionSBA(data) {
|
|
23
20
|
return data.typeId === EQuestionType.SINGLE_BEST_ANSWER;
|
|
24
21
|
}
|
|
25
|
-
|
|
26
|
-
function isQuestionQA(data) {
|
|
22
|
+
export function isQuestionQA(data) {
|
|
27
23
|
return data.typeId === EQuestionType.QUESTION_ANSWER;
|
|
28
24
|
}
|
|
29
|
-
|
|
30
|
-
function isQuestionMultiQ(data) {
|
|
25
|
+
export function isQuestionMultiQ(data) {
|
|
31
26
|
return data.typeId === EQuestionType.MULTIPLE_ANSWERS;
|
|
32
27
|
}
|
|
33
|
-
|
|
34
|
-
function isQuestionPrescribe(data) {
|
|
28
|
+
export function isQuestionPrescribe(data) {
|
|
35
29
|
return data.typeId === EQuestionType.PRESCRIPTION_ANSWER;
|
|
36
30
|
}
|
|
37
|
-
exports.isQuestionPrescribe = isQuestionPrescribe;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ESubscriptionType = void 0;
|
|
4
|
+
var ESubscriptionType;
|
|
5
|
+
(function (ESubscriptionType) {
|
|
6
|
+
ESubscriptionType[ESubscriptionType["QBANK"] = 1] = "QBANK";
|
|
7
|
+
ESubscriptionType[ESubscriptionType["OSCE"] = 2] = "OSCE";
|
|
8
|
+
ESubscriptionType[ESubscriptionType["BUNDLE"] = 3] = "BUNDLE";
|
|
9
|
+
})(ESubscriptionType = exports.ESubscriptionType || (exports.ESubscriptionType = {}));
|
package/models/Subscription.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ESubscriptionType = void 0;
|
|
4
|
-
var ESubscriptionType;
|
|
1
|
+
export var ESubscriptionType;
|
|
5
2
|
(function (ESubscriptionType) {
|
|
6
3
|
ESubscriptionType[ESubscriptionType["QBANK"] = 1] = "QBANK";
|
|
7
4
|
ESubscriptionType[ESubscriptionType["OSCE"] = 2] = "OSCE";
|
|
8
5
|
ESubscriptionType[ESubscriptionType["BUNDLE"] = 3] = "BUNDLE";
|
|
9
|
-
})(ESubscriptionType
|
|
6
|
+
})(ESubscriptionType || (ESubscriptionType = {}));
|
package/models/Todo.cjs
ADDED
package/models/Todo.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Token.cjs
ADDED
package/models/Token.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Topic.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ETopicType = void 0;
|
|
4
|
+
var ETopicType;
|
|
5
|
+
(function (ETopicType) {
|
|
6
|
+
ETopicType[ETopicType["ALL"] = 0] = "ALL";
|
|
7
|
+
ETopicType[ETopicType["BASIC_SCIENCE"] = 1] = "BASIC_SCIENCE";
|
|
8
|
+
ETopicType[ETopicType["CLINICAL"] = 2] = "CLINICAL";
|
|
9
|
+
ETopicType[ETopicType["ANATOMY"] = 3] = "ANATOMY";
|
|
10
|
+
ETopicType[ETopicType["DATA_INTERPRETATION"] = 4] = "DATA_INTERPRETATION";
|
|
11
|
+
ETopicType[ETopicType["PSA"] = 5] = "PSA";
|
|
12
|
+
ETopicType[ETopicType["OSCE"] = 6] = "OSCE";
|
|
13
|
+
})(ETopicType = exports.ETopicType || (exports.ETopicType = {}));
|
package/models/Topic.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ETopicType = void 0;
|
|
4
|
-
var ETopicType;
|
|
1
|
+
export var ETopicType;
|
|
5
2
|
(function (ETopicType) {
|
|
6
3
|
ETopicType[ETopicType["ALL"] = 0] = "ALL";
|
|
7
4
|
ETopicType[ETopicType["BASIC_SCIENCE"] = 1] = "BASIC_SCIENCE";
|
|
@@ -10,4 +7,4 @@ var ETopicType;
|
|
|
10
7
|
ETopicType[ETopicType["DATA_INTERPRETATION"] = 4] = "DATA_INTERPRETATION";
|
|
11
8
|
ETopicType[ETopicType["PSA"] = 5] = "PSA";
|
|
12
9
|
ETopicType[ETopicType["OSCE"] = 6] = "OSCE";
|
|
13
|
-
})(ETopicType
|
|
10
|
+
})(ETopicType || (ETopicType = {}));
|
package/models/Type.cjs
ADDED
package/models/Type.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/University.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/User.cjs
ADDED
package/models/User.d.ts
CHANGED
package/models/User.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/Video.cjs
ADDED
package/models/Video.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/models/index.cjs
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./Author"), exports);
|
|
14
|
+
__exportStar(require("./Book"), exports);
|
|
15
|
+
__exportStar(require("./Card"), exports);
|
|
16
|
+
__exportStar(require("./Chapter"), exports);
|
|
17
|
+
__exportStar(require("./Concept"), exports);
|
|
18
|
+
__exportStar(require("./Difficulty"), exports);
|
|
19
|
+
__exportStar(require("./Feedback"), exports);
|
|
20
|
+
__exportStar(require("./File"), exports);
|
|
21
|
+
__exportStar(require("./Marksheet"), exports);
|
|
22
|
+
__exportStar(require("./MockTest"), exports);
|
|
23
|
+
__exportStar(require("./OsceMarksheet"), exports);
|
|
24
|
+
__exportStar(require("./OsceStation"), exports);
|
|
25
|
+
__exportStar(require("./Picture"), exports);
|
|
26
|
+
__exportStar(require("./Promo"), exports);
|
|
27
|
+
__exportStar(require("./Question"), exports);
|
|
28
|
+
__exportStar(require("./Subscription"), exports);
|
|
29
|
+
__exportStar(require("./Todo"), exports);
|
|
30
|
+
__exportStar(require("./Token"), exports);
|
|
31
|
+
__exportStar(require("./Topic"), exports);
|
|
32
|
+
__exportStar(require("./Type"), exports);
|
|
33
|
+
__exportStar(require("./University"), exports);
|
|
34
|
+
__exportStar(require("./User"), exports);
|
|
35
|
+
__exportStar(require("./Video"), exports);
|