@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.
- package/models/OsceStation.d.ts +1 -0
- package/package.json +1 -1
- package/resolvers/fragments/osce.js +1 -0
- package/resolvers/query/restricted/concepts.d.ts +12 -0
- package/resolvers/query/restricted/concepts.js +102 -0
- package/resolvers/query/restricted/index.d.ts +1 -0
- package/resolvers/query/restricted/index.js +1 -0
- package/resolvers/query/restricted/video.js +1 -0
package/models/OsceStation.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -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
|
+
`;
|
|
@@ -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);
|