@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.cjs CHANGED
@@ -10108,6 +10108,7 @@ var GAME_FIELDS_FRAGMENT = gql`
10108
10108
  ...GameHistoryFields
10109
10109
  }
10110
10110
  gameType
10111
+ gameTypeId
10111
10112
  updatedAt
10112
10113
  }
10113
10114
  ${GAME_DATA_FIELDS_FRAGMENT}
@@ -10164,6 +10165,7 @@ var GET_GAME_LEADERBOARD = gql`
10164
10165
  `;
10165
10166
  var BASE_GAME_FIELDS_FRAGMENT = gql`
10166
10167
  fragment BaseGameFields on BaseGameType {
10168
+ gameTypeId
10167
10169
  gameType
10168
10170
  dailyClue {
10169
10171
  ...DailyClueBaseGameFields
@@ -10343,9 +10345,9 @@ var UPDATE_DAILY_CLUE_MUTATION = gql`
10343
10345
  var UPDATE_MINI_QUIZ_MUTATION = gql`
10344
10346
  mutation updateMiniQuizGame(
10345
10347
  $_id: ID!
10346
- $questions: [MiniQuizQuestionInputType!]!
10348
+ $answeredQuestions: [MiniQuizAnsweredQuestionInputType!]!
10347
10349
  ) {
10348
- updateMiniQuizGame(_id: $_id, questions: $questions) {
10350
+ updateMiniQuizGame(_id: $_id, answeredQuestions: $answeredQuestions) {
10349
10351
  ...GameDocFields
10350
10352
  }
10351
10353
  }
@@ -12559,7 +12561,8 @@ var gameTypeSchema = new MongooseSchema22(
12559
12561
  enum: Object.values(EnumGameType),
12560
12562
  required: true,
12561
12563
  type: String
12562
- }
12564
+ },
12565
+ gameTypeId: { required: true, type: String }
12563
12566
  },
12564
12567
  { timestamps: true }
12565
12568
  );