@timardex/cluemart-server-shared 1.0.154 → 1.0.156

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,18 +10019,18 @@ 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
10023
10022
  answer
10023
+ answerId
10024
10024
  correct
10025
10025
  }
10026
10026
  `;
10027
10027
  var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = gql`
10028
10028
  fragment MiniQuizQuestionFields on MiniQuizQuestionType {
10029
- _id
10030
10029
  answers {
10031
10030
  ...MiniQuizAnswerFields
10032
10031
  }
10033
10032
  question
10033
+ questionId
10034
10034
  }
10035
10035
  ${MINI_QUIZ_ANSWER_FIELDS_FRAGMENT}
10036
10036
  `;
@@ -10879,15 +10879,15 @@ var EnumAdStatus = /* @__PURE__ */ ((EnumAdStatus2) => {
10879
10879
  EnumAdStatus2["EXPIRED"] = "Expired";
10880
10880
  return EnumAdStatus2;
10881
10881
  })(EnumAdStatus || {});
10882
- var EnumAdType = /* @__PURE__ */ ((EnumAdType3) => {
10883
- EnumAdType3["SPONSORED"] = "Sponsored";
10884
- EnumAdType3["FREE"] = "Free";
10885
- return EnumAdType3;
10882
+ var EnumAdType = /* @__PURE__ */ ((EnumAdType2) => {
10883
+ EnumAdType2["SPONSORED"] = "Sponsored";
10884
+ EnumAdType2["FREE"] = "Free";
10885
+ return EnumAdType2;
10886
10886
  })(EnumAdType || {});
10887
- var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle3) => {
10888
- EnumAdStyle3["BLOOM"] = "Bloom";
10889
- EnumAdStyle3["RISE"] = "Rise";
10890
- return EnumAdStyle3;
10887
+ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
10888
+ EnumAdStyle2["BLOOM"] = "Bloom";
10889
+ EnumAdStyle2["RISE"] = "Rise";
10890
+ return EnumAdStyle2;
10891
10891
  })(EnumAdStyle || {});
10892
10892
  var adResourceSchema = create$3({
10893
10893
  adDescription: create$6().nullable().trim().required("Ad description is required").max(150, "Ad description must be at most 150 characters"),
@@ -12464,6 +12464,7 @@ var MongooseSchema21 = import_mongoose21.default.Schema;
12464
12464
  var schemaMiniQuizAnswer = new MongooseSchema21(
12465
12465
  {
12466
12466
  answer: { required: true, type: String },
12467
+ answerId: { required: true, type: String },
12467
12468
  correct: { required: true, type: Boolean }
12468
12469
  },
12469
12470
  { _id: false }
@@ -12471,7 +12472,8 @@ var schemaMiniQuizAnswer = new MongooseSchema21(
12471
12472
  var schemaMiniQuizQuestion = new MongooseSchema21(
12472
12473
  {
12473
12474
  answers: { required: true, type: [schemaMiniQuizAnswer] },
12474
- question: { required: true, type: String }
12475
+ question: { required: true, type: String },
12476
+ questionId: { required: true, type: String }
12475
12477
  },
12476
12478
  { _id: false }
12477
12479
  );