@quesmed/types 2.5.12 → 2.5.13
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/query/restricted/marksheet.d.ts +0 -10
- package/dist/cjs/resolvers/query/restricted/marksheet.js +1 -35
- package/dist/cjs/resolvers/query/restricted/video.js +6 -0
- package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +0 -10
- package/dist/mjs/resolvers/query/restricted/marksheet.js +0 -34
- package/dist/mjs/resolvers/query/restricted/video.js +6 -0
- package/package.json +1 -1
|
@@ -15,15 +15,6 @@ export interface IMarksheetsVar {
|
|
|
15
15
|
period?: number;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
export interface IMarksheetsWindowVar {
|
|
19
|
-
filter: {
|
|
20
|
-
limit: number;
|
|
21
|
-
order?: string;
|
|
22
|
-
updatedAt?: Date | number;
|
|
23
|
-
solo?: boolean;
|
|
24
|
-
period?: number;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
18
|
export type IMarksheetsData = RestrictedData<{
|
|
28
19
|
results: (graphqlNormalize & IMarksheet)[];
|
|
29
20
|
total: number;
|
|
@@ -35,7 +26,6 @@ export interface PaginatedMarksheets {
|
|
|
35
26
|
score: number;
|
|
36
27
|
}
|
|
37
28
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
38
|
-
export declare const MARKSHEETS_WINDOW: import("@apollo/client").DocumentNode;
|
|
39
29
|
export type ILatestPastMarksheetIdVar = null;
|
|
40
30
|
export type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
41
31
|
export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PRE_BUILD_MARKSHEET = exports.HEARTBEAT_QBANK = exports.MARKSHEET_FEEDBACK = exports.FLAGGED_QUESTIONS_MARKSHEET = exports.FLAGGED_QUESTIONS = exports.LATEST_PAST_SESSION_ID = exports.LATEST_PAST_MARKSHEET_ID = exports.
|
|
3
|
+
exports.PRE_BUILD_MARKSHEET = exports.HEARTBEAT_QBANK = exports.MARKSHEET_FEEDBACK = exports.FLAGGED_QUESTIONS_MARKSHEET = exports.FLAGGED_QUESTIONS = exports.LATEST_PAST_SESSION_ID = exports.LATEST_PAST_MARKSHEET_ID = exports.MARKSHEETS = exports.MARKSHEET = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
exports.MARKSHEET = (0, client_1.gql) `
|
|
6
6
|
query Marksheet($id: Int!) {
|
|
@@ -632,40 +632,6 @@ exports.MARKSHEETS = (0, client_1.gql) `
|
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
634
|
`;
|
|
635
|
-
exports.MARKSHEETS_WINDOW = (0, client_1.gql) `
|
|
636
|
-
query MarksheetsWindow($filter: MarksheetWindowFilterInput!) {
|
|
637
|
-
restricted {
|
|
638
|
-
marksheetsWindow(filter: $filter) {
|
|
639
|
-
results {
|
|
640
|
-
id
|
|
641
|
-
endedAt
|
|
642
|
-
topicNames
|
|
643
|
-
correct
|
|
644
|
-
incorrect
|
|
645
|
-
totalQuestions
|
|
646
|
-
isTestMarksheet
|
|
647
|
-
solo
|
|
648
|
-
completed
|
|
649
|
-
updatedAt
|
|
650
|
-
users {
|
|
651
|
-
id
|
|
652
|
-
displayName
|
|
653
|
-
}
|
|
654
|
-
marks {
|
|
655
|
-
question {
|
|
656
|
-
topic {
|
|
657
|
-
typeId
|
|
658
|
-
name
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
total
|
|
664
|
-
score
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
`;
|
|
669
635
|
exports.LATEST_PAST_MARKSHEET_ID = (0, client_1.gql) `
|
|
670
636
|
query LatestPastMarksheetId {
|
|
671
637
|
restricted {
|
|
@@ -15,6 +15,11 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
15
15
|
concepts {
|
|
16
16
|
id
|
|
17
17
|
name
|
|
18
|
+
topic {
|
|
19
|
+
id
|
|
20
|
+
name
|
|
21
|
+
typeId
|
|
22
|
+
}
|
|
18
23
|
chapter {
|
|
19
24
|
id
|
|
20
25
|
explanation
|
|
@@ -118,6 +123,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
118
123
|
description
|
|
119
124
|
duration
|
|
120
125
|
startTime
|
|
126
|
+
status
|
|
121
127
|
endTime
|
|
122
128
|
files {
|
|
123
129
|
id
|
|
@@ -15,15 +15,6 @@ export interface IMarksheetsVar {
|
|
|
15
15
|
period?: number;
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
export interface IMarksheetsWindowVar {
|
|
19
|
-
filter: {
|
|
20
|
-
limit: number;
|
|
21
|
-
order?: string;
|
|
22
|
-
updatedAt?: Date | number;
|
|
23
|
-
solo?: boolean;
|
|
24
|
-
period?: number;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
18
|
export type IMarksheetsData = RestrictedData<{
|
|
28
19
|
results: (graphqlNormalize & IMarksheet)[];
|
|
29
20
|
total: number;
|
|
@@ -35,7 +26,6 @@ export interface PaginatedMarksheets {
|
|
|
35
26
|
score: number;
|
|
36
27
|
}
|
|
37
28
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
38
|
-
export declare const MARKSHEETS_WINDOW: import("@apollo/client").DocumentNode;
|
|
39
29
|
export type ILatestPastMarksheetIdVar = null;
|
|
40
30
|
export type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
41
31
|
export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
|
|
@@ -629,40 +629,6 @@ export const MARKSHEETS = gql `
|
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
`;
|
|
632
|
-
export const MARKSHEETS_WINDOW = gql `
|
|
633
|
-
query MarksheetsWindow($filter: MarksheetWindowFilterInput!) {
|
|
634
|
-
restricted {
|
|
635
|
-
marksheetsWindow(filter: $filter) {
|
|
636
|
-
results {
|
|
637
|
-
id
|
|
638
|
-
endedAt
|
|
639
|
-
topicNames
|
|
640
|
-
correct
|
|
641
|
-
incorrect
|
|
642
|
-
totalQuestions
|
|
643
|
-
isTestMarksheet
|
|
644
|
-
solo
|
|
645
|
-
completed
|
|
646
|
-
updatedAt
|
|
647
|
-
users {
|
|
648
|
-
id
|
|
649
|
-
displayName
|
|
650
|
-
}
|
|
651
|
-
marks {
|
|
652
|
-
question {
|
|
653
|
-
topic {
|
|
654
|
-
typeId
|
|
655
|
-
name
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
total
|
|
661
|
-
score
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
`;
|
|
666
632
|
export const LATEST_PAST_MARKSHEET_ID = gql `
|
|
667
633
|
query LatestPastMarksheetId {
|
|
668
634
|
restricted {
|
|
@@ -12,6 +12,11 @@ export const VIDEO = gql `
|
|
|
12
12
|
concepts {
|
|
13
13
|
id
|
|
14
14
|
name
|
|
15
|
+
topic {
|
|
16
|
+
id
|
|
17
|
+
name
|
|
18
|
+
typeId
|
|
19
|
+
}
|
|
15
20
|
chapter {
|
|
16
21
|
id
|
|
17
22
|
explanation
|
|
@@ -115,6 +120,7 @@ export const VIDEO = gql `
|
|
|
115
120
|
description
|
|
116
121
|
duration
|
|
117
122
|
startTime
|
|
123
|
+
status
|
|
118
124
|
endTime
|
|
119
125
|
files {
|
|
120
126
|
id
|