@quesmed/types 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;
@@ -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
@@ -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;
@@ -22,6 +22,7 @@ export const OSCE_STATION_FIELDS = gql `
22
22
  id
23
23
  updatedAt
24
24
  name
25
+ hiddenName
25
26
  status
26
27
  osceType {
27
28
  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,99 @@
1
+ import { gql } from '@apollo/client';
2
+ export const CONCEPT = gql `
3
+ query Concept($id: Int!) {
4
+ restricted {
5
+ concept(id: $id) {
6
+ id
7
+ name
8
+ status
9
+ totalCards
10
+ topic {
11
+ id
12
+ name
13
+ typeId
14
+ }
15
+ chapter {
16
+ id
17
+ explanation
18
+ pictures {
19
+ id
20
+ createdAt
21
+ updatedAt
22
+ name
23
+ caption
24
+ path
25
+ path512
26
+ path256
27
+ index
28
+ topicId
29
+ }
30
+ }
31
+ videos {
32
+ id
33
+ status
34
+ title
35
+ museId
36
+ startTime
37
+ endTime
38
+ thumbnail
39
+ concepts {
40
+ id
41
+ name
42
+ }
43
+ live
44
+ description
45
+ duration
46
+ }
47
+ }
48
+ }
49
+ }
50
+ `;
51
+ export const CONCEPTS = gql `
52
+ query Concepts($id: [Int!]!) {
53
+ restricted {
54
+ concepts(id: $id) {
55
+ id
56
+ name
57
+ status
58
+ totalCards
59
+ topic {
60
+ id
61
+ name
62
+ typeId
63
+ }
64
+ chapter {
65
+ id
66
+ explanation
67
+ pictures {
68
+ id
69
+ createdAt
70
+ updatedAt
71
+ name
72
+ caption
73
+ path
74
+ path512
75
+ path256
76
+ index
77
+ topicId
78
+ }
79
+ }
80
+ videos {
81
+ id
82
+ status
83
+ title
84
+ museId
85
+ startTime
86
+ endTime
87
+ thumbnail
88
+ concepts {
89
+ id
90
+ name
91
+ }
92
+ live
93
+ description
94
+ duration
95
+ }
96
+ }
97
+ }
98
+ }
99
+ `;
@@ -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';
@@ -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';
@@ -37,6 +37,7 @@ export const VIDEO = gql `
37
37
  osceStation {
38
38
  id
39
39
  name
40
+ hiddenName
40
41
  status
41
42
  osceType {
42
43
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.110",
3
+ "version": "2.5.111",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",