@quesmed/types 2.2.21 → 2.2.24
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/marksheet.js +1 -0
- package/dist/cjs/resolvers/query/restricted/marksheet.d.ts +10 -1
- package/dist/cjs/resolvers/query/restricted/marksheet.js +17 -7
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +1 -0
- package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +10 -1
- package/dist/mjs/resolvers/query/restricted/marksheet.js +16 -6
- package/package.json +1 -1
|
@@ -14,11 +14,20 @@ export interface IMarksheetsVar {
|
|
|
14
14
|
solo?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export declare type IMarksheetsData = RestrictedData<
|
|
17
|
+
export declare type IMarksheetsData = RestrictedData<{
|
|
18
|
+
results: (graphqlNormalize & IMarksheet)[];
|
|
19
|
+
total: number;
|
|
20
|
+
}, 'marksheets'>;
|
|
18
21
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
19
22
|
export declare type ILatestPastMarksheetIdVar = null;
|
|
20
23
|
export declare type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
21
24
|
export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
|
|
25
|
+
/**
|
|
26
|
+
* latestPastAgoraId
|
|
27
|
+
*/
|
|
28
|
+
export declare type ILatestPastAgoraIdVar = null;
|
|
29
|
+
export declare type ILatestPastAgoraIdData = RestrictedData<string, 'latestPastAgoraId'>;
|
|
30
|
+
export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
|
|
22
31
|
export declare type IFlaggedQuestionsVar = null;
|
|
23
32
|
export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
|
|
24
33
|
export declare const FLAGGED_QUESTIONS: 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 = exports.LATEST_PAST_MARKSHEET_ID = exports.MARKSHEETS = exports.MARKSHEET = void 0;
|
|
3
|
+
exports.PRE_BUILD_MARKSHEET = exports.HEARTBEAT_QBANK = exports.MARKSHEET_FEEDBACK = exports.FLAGGED_QUESTIONS = exports.LATEST_PAST_AGORA_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!) {
|
|
@@ -553,12 +553,15 @@ exports.MARKSHEETS = (0, client_1.gql) `
|
|
|
553
553
|
query Marksheets($filter: MarksheetFilterInput!) {
|
|
554
554
|
restricted {
|
|
555
555
|
marksheets(filter: $filter) {
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
556
|
+
results {
|
|
557
|
+
id
|
|
558
|
+
topicNames
|
|
559
|
+
correct
|
|
560
|
+
incorrect
|
|
561
|
+
totalQuestions
|
|
562
|
+
isTestMarksheet
|
|
563
|
+
}
|
|
564
|
+
total
|
|
562
565
|
}
|
|
563
566
|
}
|
|
564
567
|
}
|
|
@@ -570,6 +573,13 @@ exports.LATEST_PAST_MARKSHEET_ID = (0, client_1.gql) `
|
|
|
570
573
|
}
|
|
571
574
|
}
|
|
572
575
|
`;
|
|
576
|
+
exports.LATEST_PAST_AGORA_ID = (0, client_1.gql) `
|
|
577
|
+
query LatestPastAgoraId {
|
|
578
|
+
restricted {
|
|
579
|
+
latestPastAgoraId
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
`;
|
|
573
583
|
exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
574
584
|
query FlaggedQuestions {
|
|
575
585
|
restricted {
|
|
@@ -14,11 +14,20 @@ export interface IMarksheetsVar {
|
|
|
14
14
|
solo?: boolean;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export declare type IMarksheetsData = RestrictedData<
|
|
17
|
+
export declare type IMarksheetsData = RestrictedData<{
|
|
18
|
+
results: (graphqlNormalize & IMarksheet)[];
|
|
19
|
+
total: number;
|
|
20
|
+
}, 'marksheets'>;
|
|
18
21
|
export declare const MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
19
22
|
export declare type ILatestPastMarksheetIdVar = null;
|
|
20
23
|
export declare type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
|
|
21
24
|
export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
|
|
25
|
+
/**
|
|
26
|
+
* latestPastAgoraId
|
|
27
|
+
*/
|
|
28
|
+
export declare type ILatestPastAgoraIdVar = null;
|
|
29
|
+
export declare type ILatestPastAgoraIdData = RestrictedData<string, 'latestPastAgoraId'>;
|
|
30
|
+
export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
|
|
22
31
|
export declare type IFlaggedQuestionsVar = null;
|
|
23
32
|
export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
|
|
24
33
|
export declare const FLAGGED_QUESTIONS: import("@apollo/client").DocumentNode;
|
|
@@ -550,12 +550,15 @@ export const MARKSHEETS = gql `
|
|
|
550
550
|
query Marksheets($filter: MarksheetFilterInput!) {
|
|
551
551
|
restricted {
|
|
552
552
|
marksheets(filter: $filter) {
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
553
|
+
results {
|
|
554
|
+
id
|
|
555
|
+
topicNames
|
|
556
|
+
correct
|
|
557
|
+
incorrect
|
|
558
|
+
totalQuestions
|
|
559
|
+
isTestMarksheet
|
|
560
|
+
}
|
|
561
|
+
total
|
|
559
562
|
}
|
|
560
563
|
}
|
|
561
564
|
}
|
|
@@ -567,6 +570,13 @@ export const LATEST_PAST_MARKSHEET_ID = gql `
|
|
|
567
570
|
}
|
|
568
571
|
}
|
|
569
572
|
`;
|
|
573
|
+
export const LATEST_PAST_AGORA_ID = gql `
|
|
574
|
+
query LatestPastAgoraId {
|
|
575
|
+
restricted {
|
|
576
|
+
latestPastAgoraId
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
`;
|
|
570
580
|
export const FLAGGED_QUESTIONS = gql `
|
|
571
581
|
query FlaggedQuestions {
|
|
572
582
|
restricted {
|