@quesmed/types 2.2.23 → 2.2.27

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.
@@ -23,10 +23,10 @@ export declare type ILatestPastMarksheetIdVar = null;
23
23
  export declare type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
24
24
  export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
25
25
  /**
26
- * latestPastAgoraId
26
+ * latestAgoraId
27
27
  */
28
- export declare type ILatestPastAgoraIdVar = null;
29
- export declare type ILatestPastAgoraIdData = RestrictedData<string, 'latestPastAgoraId'>;
28
+ export declare type IlatestAgoraIdVar = null;
29
+ export declare type IlatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
30
30
  export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
31
31
  export declare type IFlaggedQuestionsVar = null;
32
32
  export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
@@ -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
- id
557
- topicNames
558
- correct
559
- incorrect
560
- totalQuestions
561
- isTestMarksheet
556
+ results {
557
+ id
558
+ topicNames
559
+ correct
560
+ incorrect
561
+ totalQuestions
562
+ isTestMarksheet
563
+ }
564
+ total
562
565
  }
563
566
  }
564
567
  }
@@ -571,9 +574,9 @@ exports.LATEST_PAST_MARKSHEET_ID = (0, client_1.gql) `
571
574
  }
572
575
  `;
573
576
  exports.LATEST_PAST_AGORA_ID = (0, client_1.gql) `
574
- query LatestPastAgoraId {
577
+ query latestAgoraId {
575
578
  restricted {
576
- latestPastAgoraId
579
+ latestAgoraId
577
580
  }
578
581
  }
579
582
  `;
@@ -44,12 +44,15 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
44
44
  totalQuestions
45
45
  totalCards
46
46
  marksheets(filter: $filter) {
47
- id
48
- topicNames
49
- correct
50
- incorrect
51
- totalQuestions
52
- isTestMarksheet
47
+ results {
48
+ id
49
+ topicNames
50
+ correct
51
+ incorrect
52
+ totalQuestions
53
+ isTestMarksheet
54
+ }
55
+ total
53
56
  }
54
57
  topics(filter: 0) {
55
58
  id
@@ -23,10 +23,10 @@ export declare type ILatestPastMarksheetIdVar = null;
23
23
  export declare type ILatestPastMarksheetIdData = RestrictedData<number, 'latestPastMarksheetId'>;
24
24
  export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").DocumentNode;
25
25
  /**
26
- * latestPastAgoraId
26
+ * latestAgoraId
27
27
  */
28
- export declare type ILatestPastAgoraIdVar = null;
29
- export declare type ILatestPastAgoraIdData = RestrictedData<string, 'latestPastAgoraId'>;
28
+ export declare type IlatestAgoraIdVar = null;
29
+ export declare type IlatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
30
30
  export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
31
31
  export declare type IFlaggedQuestionsVar = null;
32
32
  export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
@@ -550,12 +550,15 @@ export const MARKSHEETS = gql `
550
550
  query Marksheets($filter: MarksheetFilterInput!) {
551
551
  restricted {
552
552
  marksheets(filter: $filter) {
553
- id
554
- topicNames
555
- correct
556
- incorrect
557
- totalQuestions
558
- isTestMarksheet
553
+ results {
554
+ id
555
+ topicNames
556
+ correct
557
+ incorrect
558
+ totalQuestions
559
+ isTestMarksheet
560
+ }
561
+ total
559
562
  }
560
563
  }
561
564
  }
@@ -568,9 +571,9 @@ export const LATEST_PAST_MARKSHEET_ID = gql `
568
571
  }
569
572
  `;
570
573
  export const LATEST_PAST_AGORA_ID = gql `
571
- query LatestPastAgoraId {
574
+ query latestAgoraId {
572
575
  restricted {
573
- latestPastAgoraId
576
+ latestAgoraId
574
577
  }
575
578
  }
576
579
  `;
@@ -41,12 +41,15 @@ export const DASHBOARD_QBANK = gql `
41
41
  totalQuestions
42
42
  totalCards
43
43
  marksheets(filter: $filter) {
44
- id
45
- topicNames
46
- correct
47
- incorrect
48
- totalQuestions
49
- isTestMarksheet
44
+ results {
45
+ id
46
+ topicNames
47
+ correct
48
+ incorrect
49
+ totalQuestions
50
+ isTestMarksheet
51
+ }
52
+ total
50
53
  }
51
54
  topics(filter: 0) {
52
55
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.2.23",
3
+ "version": "2.2.27",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",