@timardex/cluemart-server-shared 1.0.155 → 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.mjs CHANGED
@@ -9970,18 +9970,18 @@ var DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT = gql`
9970
9970
  `;
9971
9971
  var MINI_QUIZ_ANSWER_FIELDS_FRAGMENT = gql`
9972
9972
  fragment MiniQuizAnswerFields on MiniQuizAnswerType {
9973
- id
9974
9973
  answer
9974
+ answerId
9975
9975
  correct
9976
9976
  }
9977
9977
  `;
9978
9978
  var MINI_QUIZ_QUESTION_FIELDS_FRAGMENT = gql`
9979
9979
  fragment MiniQuizQuestionFields on MiniQuizQuestionType {
9980
- id
9981
9980
  answers {
9982
9981
  ...MiniQuizAnswerFields
9983
9982
  }
9984
9983
  question
9984
+ questionId
9985
9985
  }
9986
9986
  ${MINI_QUIZ_ANSWER_FIELDS_FRAGMENT}
9987
9987
  `;
@@ -10830,15 +10830,15 @@ var EnumAdStatus = /* @__PURE__ */ ((EnumAdStatus2) => {
10830
10830
  EnumAdStatus2["EXPIRED"] = "Expired";
10831
10831
  return EnumAdStatus2;
10832
10832
  })(EnumAdStatus || {});
10833
- var EnumAdType = /* @__PURE__ */ ((EnumAdType3) => {
10834
- EnumAdType3["SPONSORED"] = "Sponsored";
10835
- EnumAdType3["FREE"] = "Free";
10836
- return EnumAdType3;
10833
+ var EnumAdType = /* @__PURE__ */ ((EnumAdType2) => {
10834
+ EnumAdType2["SPONSORED"] = "Sponsored";
10835
+ EnumAdType2["FREE"] = "Free";
10836
+ return EnumAdType2;
10837
10837
  })(EnumAdType || {});
10838
- var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle3) => {
10839
- EnumAdStyle3["BLOOM"] = "Bloom";
10840
- EnumAdStyle3["RISE"] = "Rise";
10841
- return EnumAdStyle3;
10838
+ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
10839
+ EnumAdStyle2["BLOOM"] = "Bloom";
10840
+ EnumAdStyle2["RISE"] = "Rise";
10841
+ return EnumAdStyle2;
10842
10842
  })(EnumAdStyle || {});
10843
10843
  var adResourceSchema = create$3({
10844
10844
  adDescription: create$6().nullable().trim().required("Ad description is required").max(150, "Ad description must be at most 150 characters"),
@@ -12415,16 +12415,16 @@ var MongooseSchema21 = mongoose21.Schema;
12415
12415
  var schemaMiniQuizAnswer = new MongooseSchema21(
12416
12416
  {
12417
12417
  answer: { required: true, type: String },
12418
- correct: { required: true, type: Boolean },
12419
- id: { required: true, type: String }
12418
+ answerId: { required: true, type: String },
12419
+ correct: { required: true, type: Boolean }
12420
12420
  },
12421
12421
  { _id: false }
12422
12422
  );
12423
12423
  var schemaMiniQuizQuestion = new MongooseSchema21(
12424
12424
  {
12425
12425
  answers: { required: true, type: [schemaMiniQuizAnswer] },
12426
- id: { required: true, type: String },
12427
- question: { required: true, type: String }
12426
+ question: { required: true, type: String },
12427
+ questionId: { required: true, type: String }
12428
12428
  },
12429
12429
  { _id: false }
12430
12430
  );