@timardex/cluemart-server-shared 1.0.115 → 1.0.116
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/{chunk-MCO4DSSF.mjs → chunk-VXOS5XYI.mjs} +10 -4
- package/dist/chunk-VXOS5XYI.mjs.map +1 -0
- package/dist/index.cjs +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -3
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +9 -3
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +9 -3
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-MCO4DSSF.mjs.map +0 -1
|
@@ -10649,7 +10649,6 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
|
10649
10649
|
})(EnumActivity || {});
|
|
10650
10650
|
var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
10651
10651
|
EnumGameType2["DAILY_CLUE"] = "dailyClue";
|
|
10652
|
-
EnumGameType2["DAILY_REWARD"] = "dailyReward";
|
|
10653
10652
|
return EnumGameType2;
|
|
10654
10653
|
})(EnumGameType || {});
|
|
10655
10654
|
|
|
@@ -11890,8 +11889,15 @@ var AppSettingModel = mongoose18.models.AppSetting || mongoose18.model("AppSetti
|
|
|
11890
11889
|
// src/mongoose/game/Game.ts
|
|
11891
11890
|
import mongoose19 from "mongoose";
|
|
11892
11891
|
var MongooseSchema19 = mongoose19.Schema;
|
|
11892
|
+
var schemaGameDate = new MongooseSchema19(
|
|
11893
|
+
{
|
|
11894
|
+
endDate: { required: true, type: Date },
|
|
11895
|
+
startDate: { required: true, type: Date }
|
|
11896
|
+
},
|
|
11897
|
+
{ _id: false }
|
|
11898
|
+
);
|
|
11893
11899
|
var baseGameDefinition = {
|
|
11894
|
-
gameDate: { required: true, type:
|
|
11900
|
+
gameDate: { required: true, type: schemaGameDate },
|
|
11895
11901
|
gameSolution: { required: true, type: String },
|
|
11896
11902
|
gameType: {
|
|
11897
11903
|
enum: Object.values(EnumGameType),
|
|
@@ -11904,7 +11910,7 @@ var schemaDailyClue = new MongooseSchema19(
|
|
|
11904
11910
|
{
|
|
11905
11911
|
...baseGameDefinition,
|
|
11906
11912
|
collectedLetters: { default: [], required: false, type: [String] },
|
|
11907
|
-
lastFoundDate: { default: null, required: false, type:
|
|
11913
|
+
lastFoundDate: { default: null, required: false, type: Date },
|
|
11908
11914
|
points: { default: 0, required: true, type: Number },
|
|
11909
11915
|
streak: { default: 0, required: true, type: Number }
|
|
11910
11916
|
},
|
|
@@ -11997,4 +12003,4 @@ react/cjs/react.development.js:
|
|
|
11997
12003
|
* LICENSE file in the root directory of this source tree.
|
|
11998
12004
|
*)
|
|
11999
12005
|
*/
|
|
12000
|
-
//# sourceMappingURL=chunk-
|
|
12006
|
+
//# sourceMappingURL=chunk-VXOS5XYI.mjs.map
|