@timardex/cluemart-server-shared 1.0.141 → 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-7PPWLIUD.mjs";
40
+ } from "../chunk-D2UFBNH6.mjs";
41
41
  import "../chunk-3QS3WKRC.mjs";
42
42
  export {
43
43
  APP_SETTINGS_ID,
@@ -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
  );
@@ -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: {