@timardex/cluemart-server-shared 1.0.157 → 1.0.158

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.
package/dist/index.mjs CHANGED
@@ -10049,6 +10049,7 @@ var GAME_FIELDS_FRAGMENT = gql`
10049
10049
  ...GameHistoryFields
10050
10050
  }
10051
10051
  gameType
10052
+ gameTypeId
10052
10053
  updatedAt
10053
10054
  }
10054
10055
  ${GAME_DATA_FIELDS_FRAGMENT}
@@ -10105,6 +10106,7 @@ var GET_GAME_LEADERBOARD = gql`
10105
10106
  `;
10106
10107
  var BASE_GAME_FIELDS_FRAGMENT = gql`
10107
10108
  fragment BaseGameFields on BaseGameType {
10109
+ gameTypeId
10108
10110
  gameType
10109
10111
  dailyClue {
10110
10112
  ...DailyClueBaseGameFields
@@ -10284,9 +10286,9 @@ var UPDATE_DAILY_CLUE_MUTATION = gql`
10284
10286
  var UPDATE_MINI_QUIZ_MUTATION = gql`
10285
10287
  mutation updateMiniQuizGame(
10286
10288
  $_id: ID!
10287
- $questions: [MiniQuizQuestionInputType!]!
10289
+ $answeredQuestions: [MiniQuizAnsweredQuestionInputType!]!
10288
10290
  ) {
10289
- updateMiniQuizGame(_id: $_id, questions: $questions) {
10291
+ updateMiniQuizGame(_id: $_id, answeredQuestions: $answeredQuestions) {
10290
10292
  ...GameDocFields
10291
10293
  }
10292
10294
  }
@@ -12500,7 +12502,8 @@ var gameTypeSchema = new MongooseSchema22(
12500
12502
  enum: Object.values(EnumGameType),
12501
12503
  required: true,
12502
12504
  type: String
12503
- }
12505
+ },
12506
+ gameTypeId: { required: true, type: String }
12504
12507
  },
12505
12508
  { timestamps: true }
12506
12509
  );