@quesmed/types 2.2.48 → 2.2.49
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/dist/cjs/resolvers/mutation/restricted/todo.js +9 -0
- package/dist/cjs/resolvers/query/restricted/qBank.js +28 -0
- package/dist/cjs/resolvers/query/restricted/user.js +41 -2
- package/dist/mjs/resolvers/mutation/restricted/todo.js +9 -0
- package/dist/mjs/resolvers/query/restricted/qBank.js +28 -0
- package/dist/mjs/resolvers/query/restricted/user.js +41 -2
- package/package.json +1 -1
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DASHBOARD_QBANK = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
|
+
const fragments_1 = require("../../fragments");
|
|
5
6
|
exports.DASHBOARD_QBANK = (0, client_1.gql) `
|
|
7
|
+
${fragments_1.PICTURE_FIELDS}
|
|
6
8
|
query Dashboard($filter: MarksheetFilterInput!) {
|
|
7
9
|
restricted {
|
|
8
10
|
latestPastMarksheetId
|
|
@@ -15,8 +17,34 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
|
|
|
15
17
|
completedIncorrectQuestionsCount
|
|
16
18
|
completedCards {
|
|
17
19
|
id
|
|
20
|
+
createdAt
|
|
21
|
+
updatedAt
|
|
18
22
|
concept {
|
|
19
23
|
id
|
|
24
|
+
name
|
|
25
|
+
}
|
|
26
|
+
lastSeen
|
|
27
|
+
reviewDate
|
|
28
|
+
score
|
|
29
|
+
iteration
|
|
30
|
+
optimalFactor
|
|
31
|
+
cardId
|
|
32
|
+
card {
|
|
33
|
+
id
|
|
34
|
+
conceptId
|
|
35
|
+
concept {
|
|
36
|
+
id
|
|
37
|
+
name
|
|
38
|
+
}
|
|
39
|
+
topic {
|
|
40
|
+
id
|
|
41
|
+
name
|
|
42
|
+
}
|
|
43
|
+
question
|
|
44
|
+
explanation
|
|
45
|
+
pictures {
|
|
46
|
+
...PictureFields
|
|
47
|
+
}
|
|
20
48
|
}
|
|
21
49
|
}
|
|
22
50
|
completedCardsCount
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.USER_COMPLETED_DATA = exports.REFERRALS = exports.USER = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
|
+
const fragments_1 = require("../../fragments");
|
|
5
6
|
const user_1 = require("../../fragments/user");
|
|
6
7
|
exports.USER = (0, client_1.gql) `
|
|
7
8
|
${user_1.USER_FIELDS}
|
|
@@ -25,15 +26,40 @@ exports.REFERRALS = (0, client_1.gql) `
|
|
|
25
26
|
}
|
|
26
27
|
`;
|
|
27
28
|
exports.USER_COMPLETED_DATA = (0, client_1.gql) `
|
|
29
|
+
${fragments_1.PICTURE_FIELDS}
|
|
28
30
|
query CompletedQuestionCards {
|
|
29
31
|
restricted {
|
|
30
32
|
user {
|
|
31
|
-
id
|
|
32
|
-
displayName
|
|
33
33
|
completedCards {
|
|
34
34
|
id
|
|
35
|
+
createdAt
|
|
36
|
+
updatedAt
|
|
35
37
|
concept {
|
|
36
38
|
id
|
|
39
|
+
name
|
|
40
|
+
}
|
|
41
|
+
lastSeen
|
|
42
|
+
reviewDate
|
|
43
|
+
score
|
|
44
|
+
iteration
|
|
45
|
+
optimalFactor
|
|
46
|
+
cardId
|
|
47
|
+
card {
|
|
48
|
+
id
|
|
49
|
+
conceptId
|
|
50
|
+
concept {
|
|
51
|
+
id
|
|
52
|
+
name
|
|
53
|
+
}
|
|
54
|
+
topic {
|
|
55
|
+
id
|
|
56
|
+
name
|
|
57
|
+
}
|
|
58
|
+
question
|
|
59
|
+
explanation
|
|
60
|
+
pictures {
|
|
61
|
+
...PictureFields
|
|
62
|
+
}
|
|
37
63
|
}
|
|
38
64
|
}
|
|
39
65
|
completedCardsCount
|
|
@@ -41,3 +67,16 @@ exports.USER_COMPLETED_DATA = (0, client_1.gql) `
|
|
|
41
67
|
}
|
|
42
68
|
}
|
|
43
69
|
`;
|
|
70
|
+
// id: Int
|
|
71
|
+
// createdAt: Date
|
|
72
|
+
// updatedAt: Date
|
|
73
|
+
// deletedAt: Date
|
|
74
|
+
// cardId: Int
|
|
75
|
+
// card: Card
|
|
76
|
+
// userId: Int
|
|
77
|
+
// concept: Concept
|
|
78
|
+
// lastSeen: Date
|
|
79
|
+
// reviewDate: Date
|
|
80
|
+
// score: Float
|
|
81
|
+
// iteration: Int
|
|
82
|
+
// optimalFactor: Float
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { gql } from '@apollo/client';
|
|
2
|
+
import { PICTURE_FIELDS } from '../../fragments';
|
|
2
3
|
export const DASHBOARD_QBANK = gql `
|
|
4
|
+
${PICTURE_FIELDS}
|
|
3
5
|
query Dashboard($filter: MarksheetFilterInput!) {
|
|
4
6
|
restricted {
|
|
5
7
|
latestPastMarksheetId
|
|
@@ -12,8 +14,34 @@ export const DASHBOARD_QBANK = gql `
|
|
|
12
14
|
completedIncorrectQuestionsCount
|
|
13
15
|
completedCards {
|
|
14
16
|
id
|
|
17
|
+
createdAt
|
|
18
|
+
updatedAt
|
|
15
19
|
concept {
|
|
16
20
|
id
|
|
21
|
+
name
|
|
22
|
+
}
|
|
23
|
+
lastSeen
|
|
24
|
+
reviewDate
|
|
25
|
+
score
|
|
26
|
+
iteration
|
|
27
|
+
optimalFactor
|
|
28
|
+
cardId
|
|
29
|
+
card {
|
|
30
|
+
id
|
|
31
|
+
conceptId
|
|
32
|
+
concept {
|
|
33
|
+
id
|
|
34
|
+
name
|
|
35
|
+
}
|
|
36
|
+
topic {
|
|
37
|
+
id
|
|
38
|
+
name
|
|
39
|
+
}
|
|
40
|
+
question
|
|
41
|
+
explanation
|
|
42
|
+
pictures {
|
|
43
|
+
...PictureFields
|
|
44
|
+
}
|
|
17
45
|
}
|
|
18
46
|
}
|
|
19
47
|
completedCardsCount
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { gql } from '@apollo/client';
|
|
2
|
+
import { PICTURE_FIELDS } from '../../fragments';
|
|
2
3
|
import { USER_FIELDS } from '../../fragments/user';
|
|
3
4
|
export const USER = gql `
|
|
4
5
|
${USER_FIELDS}
|
|
@@ -22,15 +23,40 @@ export const REFERRALS = gql `
|
|
|
22
23
|
}
|
|
23
24
|
`;
|
|
24
25
|
export const USER_COMPLETED_DATA = gql `
|
|
26
|
+
${PICTURE_FIELDS}
|
|
25
27
|
query CompletedQuestionCards {
|
|
26
28
|
restricted {
|
|
27
29
|
user {
|
|
28
|
-
id
|
|
29
|
-
displayName
|
|
30
30
|
completedCards {
|
|
31
31
|
id
|
|
32
|
+
createdAt
|
|
33
|
+
updatedAt
|
|
32
34
|
concept {
|
|
33
35
|
id
|
|
36
|
+
name
|
|
37
|
+
}
|
|
38
|
+
lastSeen
|
|
39
|
+
reviewDate
|
|
40
|
+
score
|
|
41
|
+
iteration
|
|
42
|
+
optimalFactor
|
|
43
|
+
cardId
|
|
44
|
+
card {
|
|
45
|
+
id
|
|
46
|
+
conceptId
|
|
47
|
+
concept {
|
|
48
|
+
id
|
|
49
|
+
name
|
|
50
|
+
}
|
|
51
|
+
topic {
|
|
52
|
+
id
|
|
53
|
+
name
|
|
54
|
+
}
|
|
55
|
+
question
|
|
56
|
+
explanation
|
|
57
|
+
pictures {
|
|
58
|
+
...PictureFields
|
|
59
|
+
}
|
|
34
60
|
}
|
|
35
61
|
}
|
|
36
62
|
completedCardsCount
|
|
@@ -38,3 +64,16 @@ export const USER_COMPLETED_DATA = gql `
|
|
|
38
64
|
}
|
|
39
65
|
}
|
|
40
66
|
`;
|
|
67
|
+
// id: Int
|
|
68
|
+
// createdAt: Date
|
|
69
|
+
// updatedAt: Date
|
|
70
|
+
// deletedAt: Date
|
|
71
|
+
// cardId: Int
|
|
72
|
+
// card: Card
|
|
73
|
+
// userId: Int
|
|
74
|
+
// concept: Concept
|
|
75
|
+
// lastSeen: Date
|
|
76
|
+
// reviewDate: Date
|
|
77
|
+
// score: Float
|
|
78
|
+
// iteration: Int
|
|
79
|
+
// optimalFactor: Float
|