@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/mongoose/index.cjs
CHANGED
|
@@ -6812,7 +6812,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
6812
6812
|
EnumNotificationResourceType22["DECLINED_EVENT"] = "declined_event";
|
|
6813
6813
|
EnumNotificationResourceType22["DECLINED_PARTNER"] = "declined_partner";
|
|
6814
6814
|
EnumNotificationResourceType22["DECLINED_VENDOR"] = "declined_vendor";
|
|
6815
|
-
EnumNotificationResourceType22["
|
|
6815
|
+
EnumNotificationResourceType22["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
6816
6816
|
EnumNotificationResourceType22["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
6817
6817
|
EnumNotificationResourceType22["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
6818
6818
|
EnumNotificationResourceType22["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
@@ -10911,7 +10911,16 @@ var schoolSchema = create$3().shape({
|
|
|
10911
10911
|
});
|
|
10912
10912
|
var PKG = "@timardex/cluemart-shared";
|
|
10913
10913
|
var IMAGE_EXTENSION = ".webp";
|
|
10914
|
-
var posterIds = [
|
|
10914
|
+
var posterIds = [
|
|
10915
|
+
"mini-market1",
|
|
10916
|
+
"mini-market2",
|
|
10917
|
+
"mini-market3",
|
|
10918
|
+
"mini-market4",
|
|
10919
|
+
"mini-market5",
|
|
10920
|
+
"poster1",
|
|
10921
|
+
"poster2",
|
|
10922
|
+
"poster3"
|
|
10923
|
+
];
|
|
10915
10924
|
var posterFiles = Object.fromEntries(
|
|
10916
10925
|
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
10917
10926
|
);
|
|
@@ -11685,7 +11694,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
11685
11694
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
11686
11695
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
11687
11696
|
|
|
11688
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
11697
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-73ULMQM6.mjs
|
|
11689
11698
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
11690
11699
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
11691
11700
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -12333,7 +12342,8 @@ var import_mongoose20 = __toESM(require("mongoose"));
|
|
|
12333
12342
|
var MongooseSchema20 = import_mongoose20.default.Schema;
|
|
12334
12343
|
var schema15 = new MongooseSchema20(
|
|
12335
12344
|
{
|
|
12336
|
-
|
|
12345
|
+
// New schools are active by default
|
|
12346
|
+
active: { default: true, required: true, type: Boolean },
|
|
12337
12347
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
12338
12348
|
deletedAt: { default: null, required: false, type: Date },
|
|
12339
12349
|
location: {
|