@timardex/cluemart-server-shared 1.0.114 → 1.0.115

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.
@@ -10648,8 +10648,8 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
10648
10648
  return EnumActivity2;
10649
10649
  })(EnumActivity || {});
10650
10650
  var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
10651
- EnumGameType2["DAILY_CLUE"] = "daily_clue";
10652
- EnumGameType2["DAILY_REWARD"] = "daily_reward";
10651
+ EnumGameType2["DAILY_CLUE"] = "dailyClue";
10652
+ EnumGameType2["DAILY_REWARD"] = "dailyReward";
10653
10653
  return EnumGameType2;
10654
10654
  })(EnumGameType || {});
10655
10655
 
@@ -11910,13 +11910,20 @@ var schemaDailyClue = new MongooseSchema19(
11910
11910
  },
11911
11911
  { _id: false }
11912
11912
  );
11913
+ var gameDataSchemas = {
11914
+ [EnumGameType.DAILY_CLUE]: schemaDailyClue
11915
+ };
11916
+ var gameDataDefinition = Object.fromEntries(
11917
+ Object.entries(gameDataSchemas).map(([key, schema15]) => [
11918
+ key,
11919
+ { default: null, required: false, type: schema15 }
11920
+ ])
11921
+ );
11913
11922
  var schema14 = new MongooseSchema19(
11914
11923
  {
11915
11924
  active: { default: false, required: true, type: Boolean },
11916
11925
  deletedAt: { default: null, required: false, type: Date },
11917
- gameData: {
11918
- dailyClue: { default: null, required: false, type: schemaDailyClue }
11919
- },
11926
+ gameData: gameDataDefinition,
11920
11927
  owner: {
11921
11928
  required: true,
11922
11929
  type: OwnerTypeSchema
@@ -11990,4 +11997,4 @@ react/cjs/react.development.js:
11990
11997
  * LICENSE file in the root directory of this source tree.
11991
11998
  *)
11992
11999
  */
11993
- //# sourceMappingURL=chunk-HR3M273V.mjs.map
12000
+ //# sourceMappingURL=chunk-MCO4DSSF.mjs.map