@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.
package/dist/index.cjs CHANGED
@@ -10029,18 +10029,18 @@ 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
10033
10032
  answer
10033
+ answerId
10034
10034
  correct
10035
10035
  }
10036
10036
  `;
10037
10037
  var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = gql`
10038
10038
  fragment MiniQuizQuestionFields on MiniQuizQuestionType {
10039
- _id
10040
10039
  answers {
10041
10040
  ...MiniQuizAnswerFields
10042
10041
  }
10043
10042
  question
10043
+ questionId
10044
10044
  }
10045
10045
  ${MINI_QUIZ_ANSWER_FIELDS_FRAGMENT}
10046
10046
  `;
@@ -10889,15 +10889,15 @@ var EnumAdStatus = /* @__PURE__ */ ((EnumAdStatus2) => {
10889
10889
  EnumAdStatus2["EXPIRED"] = "Expired";
10890
10890
  return EnumAdStatus2;
10891
10891
  })(EnumAdStatus || {});
10892
- var EnumAdType = /* @__PURE__ */ ((EnumAdType3) => {
10893
- EnumAdType3["SPONSORED"] = "Sponsored";
10894
- EnumAdType3["FREE"] = "Free";
10895
- return EnumAdType3;
10892
+ var EnumAdType = /* @__PURE__ */ ((EnumAdType2) => {
10893
+ EnumAdType2["SPONSORED"] = "Sponsored";
10894
+ EnumAdType2["FREE"] = "Free";
10895
+ return EnumAdType2;
10896
10896
  })(EnumAdType || {});
10897
- var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle3) => {
10898
- EnumAdStyle3["BLOOM"] = "Bloom";
10899
- EnumAdStyle3["RISE"] = "Rise";
10900
- return EnumAdStyle3;
10897
+ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
10898
+ EnumAdStyle2["BLOOM"] = "Bloom";
10899
+ EnumAdStyle2["RISE"] = "Rise";
10900
+ return EnumAdStyle2;
10901
10901
  })(EnumAdStyle || {});
10902
10902
  var adResourceSchema = create$3({
10903
10903
  adDescription: create$6().nullable().trim().required("Ad description is required").max(150, "Ad description must be at most 150 characters"),
@@ -12474,6 +12474,7 @@ var MongooseSchema21 = import_mongoose21.default.Schema;
12474
12474
  var schemaMiniQuizAnswer = new MongooseSchema21(
12475
12475
  {
12476
12476
  answer: { required: true, type: String },
12477
+ answerId: { required: true, type: String },
12477
12478
  correct: { required: true, type: Boolean }
12478
12479
  },
12479
12480
  { _id: false }
@@ -12481,7 +12482,8 @@ var schemaMiniQuizAnswer = new MongooseSchema21(
12481
12482
  var schemaMiniQuizQuestion = new MongooseSchema21(
12482
12483
  {
12483
12484
  answers: { required: true, type: [schemaMiniQuizAnswer] },
12484
- question: { required: true, type: String }
12485
+ question: { required: true, type: String },
12486
+ questionId: { required: true, type: String }
12485
12487
  },
12486
12488
  { _id: false }
12487
12489
  );