@timardex/cluemart-shared 1.5.562 → 1.5.564

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.
@@ -3416,6 +3416,12 @@ var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = import_client55.gql`
3416
3416
  }
3417
3417
  ${MINI_QUIZ_ANSWER_FIELDS_FRAGMENT}
3418
3418
  `;
3419
+ var MINI_QUIZ_ANSWERED_QUESTION_FIELDS_FRAGMENT = import_client55.gql`
3420
+ fragment MiniQuizAnsweredQuestionFields on MiniQuizAnsweredQuestionType {
3421
+ questionId
3422
+ selectedAnswerId
3423
+ }
3424
+ `;
3419
3425
  var MINI_QUIZ_BASE_GAME_FIELDS_FRAGMENT = import_client55.gql`
3420
3426
  fragment MiniQuizBaseGameFields on MiniQuizBaseGameType {
3421
3427
  questions {
@@ -3429,14 +3435,14 @@ var MINI_QUIZ_GAME_DATA_FIELDS_FRAGMENT = import_client55.gql`
3429
3435
  gameFields {
3430
3436
  ...MiniQuizBaseGameFields
3431
3437
  }
3432
- quizInfo {
3433
- ...MiniQuizQuestionFields
3438
+ answeredQuestions {
3439
+ ...MiniQuizAnsweredQuestionFields
3434
3440
  }
3435
3441
  points
3436
3442
  streak
3437
3443
  }
3438
3444
  ${MINI_QUIZ_BASE_GAME_FIELDS_FRAGMENT}
3439
- ${MINI_QUIZ_QUESTION_FIELDS_FRAGMENT}
3445
+ ${MINI_QUIZ_ANSWERED_QUESTION_FIELDS_FRAGMENT}
3440
3446
  `;
3441
3447
  var GAME_HISTORY_FIELDS_FRAGMENT = import_client55.gql`
3442
3448
  fragment GameHistoryFields on GameHistoryType {
@@ -3806,9 +3812,9 @@ var UPDATE_DAILY_CLUE_MUTATION = import_client64.gql`
3806
3812
  var UPDATE_MINI_QUIZ_MUTATION = import_client64.gql`
3807
3813
  mutation updateMiniQuizGame(
3808
3814
  $_id: ID!
3809
- $questions: [MiniQuizQuestionInputType!]!
3815
+ $answeredQuestions: [MiniQuizAnsweredQuestionInputType!]!
3810
3816
  ) {
3811
- updateMiniQuizGame(_id: $_id, questions: $questions) {
3817
+ updateMiniQuizGame(_id: $_id, answeredQuestions: $answeredQuestions) {
3812
3818
  ...GameDocFields
3813
3819
  }
3814
3820
  }