@quesmed/types-rn 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.
@@ -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
+ }
package/models/Product.js CHANGED
@@ -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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -610,10 +610,10 @@ exports.MARKSHEETS = (0, client_1.gql) `
610
610
  displayName
611
611
  }
612
612
  marks {
613
- question {
614
- topic {
615
- typeId
616
- name
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