@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
  */
@@ -2418,9 +2418,9 @@ export const ADD_FLAGGED_QUESTION = gql `
2418
2418
  * removeFlaggedQuestion
2419
2419
  */
2420
2420
  export const REMOVE_FLAGGED_QUESTION = gql `
2421
- mutation RemoveFlaggedQuestion($id: Int!) {
2421
+ mutation RemoveFlaggedQuestion($questionId: Int!) {
2422
2422
  restricted {
2423
- removeFlaggedQuestion(id: $id) {
2423
+ removeFlaggedQuestion(questionId: $questionId) {
2424
2424
  id
2425
2425
  }
2426
2426
  }
@@ -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