@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.
package/dist/index.cjs CHANGED
@@ -10029,14 +10029,14 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
10029
10029
  `;
10030
10030
  var MINI_QUIZ_ANSWER_FIELDS_FRAGMENT = gql`
10031
10031
  fragment MiniQuizAnswerFields on MiniQuizAnswerType {
10032
- _id
10032
+ id
10033
10033
  answer
10034
10034
  correct
10035
10035
  }
10036
10036
  `;
10037
10037
  var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = gql`
10038
10038
  fragment MiniQuizQuestionFields on MiniQuizQuestionType {
10039
- _id
10039
+ id
10040
10040
  answers {
10041
10041
  ...MiniQuizAnswerFields
10042
10042
  }
@@ -12471,14 +12471,22 @@ var schemaDailyClueGameData = new MongooseSchema20(
12471
12471
  // src/mongoose/game/MiniQuiz.ts
12472
12472
  var import_mongoose21 = __toESM(require("mongoose"));
12473
12473
  var MongooseSchema21 = import_mongoose21.default.Schema;
12474
- var schemaMiniQuizAnswer = new MongooseSchema21({
12475
- answer: { required: true, type: String },
12476
- correct: { required: true, type: Boolean }
12477
- });
12478
- var schemaMiniQuizQuestion = new MongooseSchema21({
12479
- answers: { required: true, type: [schemaMiniQuizAnswer] },
12480
- question: { required: true, type: String }
12481
- });
12474
+ var schemaMiniQuizAnswer = new MongooseSchema21(
12475
+ {
12476
+ answer: { required: true, type: String },
12477
+ correct: { required: true, type: Boolean },
12478
+ id: { required: true, type: String }
12479
+ },
12480
+ { _id: false }
12481
+ );
12482
+ var schemaMiniQuizQuestion = new MongooseSchema21(
12483
+ {
12484
+ answers: { required: true, type: [schemaMiniQuizAnswer] },
12485
+ id: { required: true, type: String },
12486
+ question: { required: true, type: String }
12487
+ },
12488
+ { _id: false }
12489
+ );
12482
12490
  var schemaMiniQuizBaseGame = new MongooseSchema21(
12483
12491
  {
12484
12492
  questions: { required: true, type: [schemaMiniQuizQuestion] }