@timardex/cluemart-server-shared 1.0.153 → 1.0.155

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.
@@ -10019,14 +10019,14 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
10019
10019
  `;
10020
10020
  var MINI_QUIZ_ANSWER_FIELDS_FRAGMENT = gql`
10021
10021
  fragment MiniQuizAnswerFields on MiniQuizAnswerType {
10022
- _id
10022
+ id
10023
10023
  answer
10024
10024
  correct
10025
10025
  }
10026
10026
  `;
10027
10027
  var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = gql`
10028
10028
  fragment MiniQuizQuestionFields on MiniQuizQuestionType {
10029
- _id
10029
+ id
10030
10030
  answers {
10031
10031
  ...MiniQuizAnswerFields
10032
10032
  }
@@ -12461,14 +12461,22 @@ var schemaDailyClueGameData = new MongooseSchema20(
12461
12461
  // src/mongoose/game/MiniQuiz.ts
12462
12462
  var import_mongoose21 = __toESM(require("mongoose"));
12463
12463
  var MongooseSchema21 = import_mongoose21.default.Schema;
12464
- var schemaMiniQuizAnswer = new MongooseSchema21({
12465
- answer: { required: true, type: String },
12466
- correct: { required: true, type: Boolean }
12467
- });
12468
- var schemaMiniQuizQuestion = new MongooseSchema21({
12469
- answers: { required: true, type: [schemaMiniQuizAnswer] },
12470
- question: { required: true, type: String }
12471
- });
12464
+ var schemaMiniQuizAnswer = new MongooseSchema21(
12465
+ {
12466
+ answer: { required: true, type: String },
12467
+ correct: { required: true, type: Boolean },
12468
+ id: { required: true, type: String }
12469
+ },
12470
+ { _id: false }
12471
+ );
12472
+ var schemaMiniQuizQuestion = new MongooseSchema21(
12473
+ {
12474
+ answers: { required: true, type: [schemaMiniQuizAnswer] },
12475
+ id: { required: true, type: String },
12476
+ question: { required: true, type: String }
12477
+ },
12478
+ { _id: false }
12479
+ );
12472
12480
  var schemaMiniQuizBaseGame = new MongooseSchema21(
12473
12481
  {
12474
12482
  questions: { required: true, type: [schemaMiniQuizQuestion] }