@timardex/cluemart-server-shared 1.0.140 → 1.0.142
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-Q6KEIJPS.mjs → chunk-D2UFBNH6.mjs} +15 -5
- package/dist/chunk-D2UFBNH6.mjs.map +1 -0
- package/dist/index.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -4
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +14 -4
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +14 -4
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-Q6KEIJPS.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -6822,7 +6822,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6822
6822
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6823
6823
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6824
6824
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6825
|
-
EnumNotificationResourceType22["
|
|
6825
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6826
6826
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6827
6827
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6828
6828
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
@@ -10921,7 +10921,16 @@ var schoolSchema = create$3().shape({
|
|
|
10921
10921
|
});
|
|
10922
10922
|
var PKG = "@timardex/cluemart-shared";
|
|
10923
10923
|
var IMAGE_EXTENSION = ".webp";
|
|
10924
|
-
var posterIds = [
|
|
10924
|
+
var posterIds = [
|
|
10925
|
+
"mini-market1",
|
|
10926
|
+
"mini-market2",
|
|
10927
|
+
"mini-market3",
|
|
10928
|
+
"mini-market4",
|
|
10929
|
+
"mini-market5",
|
|
10930
|
+
"poster1",
|
|
10931
|
+
"poster2",
|
|
10932
|
+
"poster3"
|
|
10933
|
+
];
|
|
10925
10934
|
var posterFiles = Object.fromEntries(
|
|
10926
10935
|
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
10927
10936
|
);
|
|
@@ -11695,7 +11704,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11695
11704
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11696
11705
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
11697
11706
|
|
|
11698
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11707
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-73ULMQM6.mjs
|
|
11699
11708
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11700
11709
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11701
11710
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -12343,7 +12352,8 @@ var import_mongoose20 = __toESM(require("mongoose"));
|
|
|
12343
12352
|
var MongooseSchema20 = import_mongoose20.default.Schema;
|
|
12344
12353
|
var schema15 = new MongooseSchema20(
|
|
12345
12354
|
{
|
|
12346
|
-
|
|
12355
|
+
// New schools are active by default
|
|
12356
|
+
active: { default: true, required: true, type: Boolean },
|
|
12347
12357
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
12348
12358
|
deletedAt: { default: null, required: false, type: Date },
|
|
12349
12359
|
location: {
|