@quesmed/types-rn 2.5.47 → 2.5.48
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/index.d.ts +7 -0
- package/index.js +9 -1
- package/models/Question.d.ts +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -8,6 +8,13 @@ export declare const ERRORS: {
|
|
|
8
8
|
SUBSCRIPTION_EXPIRED: string;
|
|
9
9
|
PERMISSION_INVALID: string;
|
|
10
10
|
};
|
|
11
|
+
export declare enum AlgoliaIndex {
|
|
12
|
+
Questions = "questions",
|
|
13
|
+
Flashcards = "cards",
|
|
14
|
+
Quesbook = "quesbook",
|
|
15
|
+
OsceBook = "oscebook",
|
|
16
|
+
Videos = "videos"
|
|
17
|
+
}
|
|
11
18
|
export declare enum EGrammarType {
|
|
12
19
|
QUESTION = 0,
|
|
13
20
|
CARD = 1,
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.generateDisplayName = exports.medicalWords = exports.termsAndConditions = exports.EPlatformId = exports.FCM_TOPICS = exports.EGrammarType = exports.ERRORS = exports.utils = exports.Models = void 0;
|
|
29
|
+
exports.generateDisplayName = exports.medicalWords = exports.termsAndConditions = exports.EPlatformId = exports.FCM_TOPICS = exports.EGrammarType = exports.AlgoliaIndex = exports.ERRORS = exports.utils = exports.Models = void 0;
|
|
30
30
|
const random_1 = require("./utils/random");
|
|
31
31
|
exports.Models = __importStar(require("./models"));
|
|
32
32
|
__exportStar(require("./resolvers"), exports);
|
|
@@ -38,6 +38,14 @@ exports.ERRORS = {
|
|
|
38
38
|
SUBSCRIPTION_EXPIRED: 'Expired subscription.',
|
|
39
39
|
PERMISSION_INVALID: 'Invalid permission.',
|
|
40
40
|
};
|
|
41
|
+
var AlgoliaIndex;
|
|
42
|
+
(function (AlgoliaIndex) {
|
|
43
|
+
AlgoliaIndex["Questions"] = "questions";
|
|
44
|
+
AlgoliaIndex["Flashcards"] = "cards";
|
|
45
|
+
AlgoliaIndex["Quesbook"] = "quesbook";
|
|
46
|
+
AlgoliaIndex["OsceBook"] = "oscebook";
|
|
47
|
+
AlgoliaIndex["Videos"] = "videos";
|
|
48
|
+
})(AlgoliaIndex = exports.AlgoliaIndex || (exports.AlgoliaIndex = {}));
|
|
41
49
|
var EGrammarType;
|
|
42
50
|
(function (EGrammarType) {
|
|
43
51
|
EGrammarType[EGrammarType["QUESTION"] = 0] = "QUESTION";
|
package/models/Question.d.ts
CHANGED
|
@@ -177,11 +177,11 @@ export interface IQuestionEMQ extends IQuestion {
|
|
|
177
177
|
}
|
|
178
178
|
export interface IQuestionSelect3 extends IQuestion {
|
|
179
179
|
answer: [string, string, string];
|
|
180
|
-
|
|
180
|
+
select3Answer: [string, string, string];
|
|
181
181
|
}
|
|
182
182
|
export interface IQuestionRanking extends IQuestion {
|
|
183
183
|
answer: string[];
|
|
184
|
-
|
|
184
|
+
rankingAnswer: string[];
|
|
185
185
|
}
|
|
186
186
|
export declare function isQuestionPrescribe(data: IQuestionAll): data is IQuestionPrescribe;
|
|
187
187
|
export interface IQuestionPrescribe extends IQuestion {
|