@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.
@@ -37,7 +37,7 @@ import {
37
37
  resourceRelationsSchema,
38
38
  termsAgreementSchema,
39
39
  userLicenseSchema
40
- } from "../chunk-Q6KEIJPS.mjs";
40
+ } from "../chunk-D2UFBNH6.mjs";
41
41
  import "../chunk-3QS3WKRC.mjs";
42
42
  export {
43
43
  APP_SETTINGS_ID,
@@ -6806,7 +6806,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
6806
6806
  EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
6807
6807
  EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
6808
6808
  EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
6809
- EnumNotificationResourceType22["DAILY_CLUE_LETTER_AVAILABLE"] = "daily_clue_letter_available";
6809
+ EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
6810
6810
  EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
6811
6811
  EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
6812
6812
  EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
@@ -10905,7 +10905,16 @@ var schoolSchema = create$3().shape({
10905
10905
  });
10906
10906
  var PKG = "@timardex/cluemart-shared";
10907
10907
  var IMAGE_EXTENSION = ".webp";
10908
- var posterIds = ["poster1", "poster2", "poster3"];
10908
+ var posterIds = [
10909
+ "mini-market1",
10910
+ "mini-market2",
10911
+ "mini-market3",
10912
+ "mini-market4",
10913
+ "mini-market5",
10914
+ "poster1",
10915
+ "poster2",
10916
+ "poster3"
10917
+ ];
10909
10918
  var posterFiles = Object.fromEntries(
10910
10919
  posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
10911
10920
  );
@@ -11046,7 +11055,7 @@ async function saveNotificationsInDb(payload) {
11046
11055
  // src/service/sendPushNotifications.ts
11047
11056
  var import_expo_server_sdk = require("expo-server-sdk");
11048
11057
 
11049
- // node_modules/@timardex/cluemart-shared/dist/chunk-534WN2SR.mjs
11058
+ // node_modules/@timardex/cluemart-shared/dist/chunk-73ULMQM6.mjs
11050
11059
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11051
11060
  EnumOSPlatform22["ANDROID"] = "android";
11052
11061
  EnumOSPlatform22["IOS"] = "ios";
@@ -12461,7 +12470,8 @@ var import_mongoose21 = __toESM(require("mongoose"));
12461
12470
  var MongooseSchema20 = import_mongoose21.default.Schema;
12462
12471
  var schema15 = new MongooseSchema20(
12463
12472
  {
12464
- active: { default: false, required: true, type: Boolean },
12473
+ // New schools are active by default
12474
+ active: { default: true, required: true, type: Boolean },
12465
12475
  contactDetails: { required: false, type: ContactDetailsSchema },
12466
12476
  deletedAt: { default: null, required: false, type: Date },
12467
12477
  location: {