@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/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["DAILY_CLUE_LETTER_AVAILABLE"] = "daily_clue_letter_available";
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 = ["poster1", "poster2", "poster3"];
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-534WN2SR.mjs
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
- active: { default: false, required: true, type: Boolean },
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: {