@timardex/cluemart-server-shared 1.0.157 → 1.0.159

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.
@@ -10098,6 +10098,7 @@ var GAME_FIELDS_FRAGMENT = gql`
10098
10098
  ...GameHistoryFields
10099
10099
  }
10100
10100
  gameType
10101
+ gameTypeId
10101
10102
  updatedAt
10102
10103
  }
10103
10104
  ${GAME_DATA_FIELDS_FRAGMENT}
@@ -10154,6 +10155,7 @@ var GET_GAME_LEADERBOARD = gql`
10154
10155
  `;
10155
10156
  var BASE_GAME_FIELDS_FRAGMENT = gql`
10156
10157
  fragment BaseGameFields on BaseGameType {
10158
+ gameTypeId
10157
10159
  gameType
10158
10160
  dailyClue {
10159
10161
  ...DailyClueBaseGameFields
@@ -10333,9 +10335,9 @@ var UPDATE_DAILY_CLUE_MUTATION = gql`
10333
10335
  var UPDATE_MINI_QUIZ_MUTATION = gql`
10334
10336
  mutation updateMiniQuizGame(
10335
10337
  $_id: ID!
10336
- $questions: [MiniQuizQuestionInputType!]!
10338
+ $answeredQuestions: [MiniQuizAnsweredQuestionInputType!]!
10337
10339
  ) {
10338
- updateMiniQuizGame(_id: $_id, questions: $questions) {
10340
+ updateMiniQuizGame(_id: $_id, answeredQuestions: $answeredQuestions) {
10339
10341
  ...GameDocFields
10340
10342
  }
10341
10343
  }
@@ -12549,7 +12551,8 @@ var gameTypeSchema = new MongooseSchema22(
12549
12551
  enum: Object.values(EnumGameType),
12550
12552
  required: true,
12551
12553
  type: String
12552
- }
12554
+ },
12555
+ gameTypeId: { required: true, type: String }
12553
12556
  },
12554
12557
  { timestamps: true }
12555
12558
  );