@quesmed/types-rn 2.5.110 → 2.5.111

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.
@@ -44,6 +44,7 @@ export interface IOsceStation {
44
44
  updatedAt: number | Date;
45
45
  deletedAt: number | Date;
46
46
  name: string;
47
+ hiddenName: string;
47
48
  osceTypeId: Id;
48
49
  osceType?: IOsceType;
49
50
  difficulty: EDifficultyType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.110",
3
+ "version": "2.5.111",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -25,6 +25,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
25
25
  id
26
26
  updatedAt
27
27
  name
28
+ hiddenName
28
29
  status
29
30
  osceType {
30
31
  id
@@ -0,0 +1,12 @@
1
+ import { Id, IConcept } from '../../../models';
2
+ import { graphqlNormalize, RestrictedData } from '../../types';
3
+ export interface IConceptVar {
4
+ id: Id;
5
+ }
6
+ export type IConceptData = RestrictedData<graphqlNormalize & IConcept, 'concept'>;
7
+ export declare const CONCEPT: import("@apollo/client").DocumentNode;
8
+ export interface IConceptsVar {
9
+ ids: number[];
10
+ }
11
+ export type IConceptsData = RestrictedData<(graphqlNormalize & IConcept)[], 'concepts'>;
12
+ export declare const CONCEPTS: import("@apollo/client").DocumentNode;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CONCEPTS = exports.CONCEPT = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ exports.CONCEPT = (0, client_1.gql) `
6
+ query Concept($id: Int!) {
7
+ restricted {
8
+ concept(id: $id) {
9
+ id
10
+ name
11
+ status
12
+ totalCards
13
+ topic {
14
+ id
15
+ name
16
+ typeId
17
+ }
18
+ chapter {
19
+ id
20
+ explanation
21
+ pictures {
22
+ id
23
+ createdAt
24
+ updatedAt
25
+ name
26
+ caption
27
+ path
28
+ path512
29
+ path256
30
+ index
31
+ topicId
32
+ }
33
+ }
34
+ videos {
35
+ id
36
+ status
37
+ title
38
+ museId
39
+ startTime
40
+ endTime
41
+ thumbnail
42
+ concepts {
43
+ id
44
+ name
45
+ }
46
+ live
47
+ description
48
+ duration
49
+ }
50
+ }
51
+ }
52
+ }
53
+ `;
54
+ exports.CONCEPTS = (0, client_1.gql) `
55
+ query Concepts($id: [Int!]!) {
56
+ restricted {
57
+ concepts(id: $id) {
58
+ id
59
+ name
60
+ status
61
+ totalCards
62
+ topic {
63
+ id
64
+ name
65
+ typeId
66
+ }
67
+ chapter {
68
+ id
69
+ explanation
70
+ pictures {
71
+ id
72
+ createdAt
73
+ updatedAt
74
+ name
75
+ caption
76
+ path
77
+ path512
78
+ path256
79
+ index
80
+ topicId
81
+ }
82
+ }
83
+ videos {
84
+ id
85
+ status
86
+ title
87
+ museId
88
+ startTime
89
+ endTime
90
+ thumbnail
91
+ concepts {
92
+ id
93
+ name
94
+ }
95
+ live
96
+ description
97
+ duration
98
+ }
99
+ }
100
+ }
101
+ }
102
+ `;
@@ -1,4 +1,5 @@
1
1
  export * from './conceptExplanation';
2
+ export * from './concepts';
2
3
  export * from './global';
3
4
  export * from './marksheet';
4
5
  export * from './mockTests';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./conceptExplanation"), exports);
18
+ __exportStar(require("./concepts"), exports);
18
19
  __exportStar(require("./global"), exports);
19
20
  __exportStar(require("./marksheet"), exports);
20
21
  __exportStar(require("./mockTests"), exports);
@@ -40,6 +40,7 @@ exports.VIDEO = (0, client_1.gql) `
40
40
  osceStation {
41
41
  id
42
42
  name
43
+ hiddenName
43
44
  status
44
45
  osceType {
45
46
  id