@quesmed/types 2.2.51 → 2.2.54

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.
@@ -70,9 +70,9 @@ export declare type IAddFlaggedQuestionData = RestrictedData<graphqlNormalize &
70
70
  */
71
71
  export declare const REMOVE_FLAGGED_QUESTION: import("@apollo/client").DocumentNode;
72
72
  export interface IRemoveFlaggedQuestionVar {
73
- id: Id;
73
+ questionId: Id;
74
74
  }
75
- export declare type IRemoveFlaggedQuestionData = RestrictedData<graphqlNormalize & IUserFlaggedQuestion, 'removeFlaggedQuestion'>;
75
+ export declare type IRemoveFlaggedQuestionData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'removeFlaggedQuestion'>;
76
76
  /**
77
77
  * startOrJoinMarksheet
78
78
  */
@@ -2423,9 +2423,9 @@ exports.ADD_FLAGGED_QUESTION = (0, client_1.gql) `
2423
2423
  * removeFlaggedQuestion
2424
2424
  */
2425
2425
  exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
2426
- mutation RemoveFlaggedQuestion($id: Int!) {
2426
+ mutation RemoveFlaggedQuestion($questionId: Int!) {
2427
2427
  restricted {
2428
- removeFlaggedQuestion(id: $id) {
2428
+ removeFlaggedQuestion(questionId: $questionId) {
2429
2429
  id
2430
2430
  }
2431
2431
  }
@@ -34,8 +34,17 @@ export declare const LATEST_PAST_MARKSHEET_ID: import("@apollo/client").Document
34
34
  export declare type ILatestAgoraIdVar = null;
35
35
  export declare type ILatestAgoraIdData = RestrictedData<string, 'latestAgoraId'>;
36
36
  export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode;
37
- export declare type IFlaggedQuestionsVar = null;
38
- export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
37
+ export interface IFlaggedQuestionsVar {
38
+ filter: {
39
+ limit: number;
40
+ offset: number;
41
+ };
42
+ }
43
+ export declare type IFlaggedQuestionDataResults = (graphqlNormalize & IUserFlaggedQuestion)[];
44
+ export declare type IFlaggedQuestionsData = RestrictedData<graphqlNormalize & {
45
+ results: IFlaggedQuestionDataResults;
46
+ total: number;
47
+ }, 'flaggedQuestions'>;
39
48
  export declare const FLAGGED_QUESTIONS: import("@apollo/client").DocumentNode;
40
49
  /**
41
50
  * flaggedQuestionMarksheet