@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.
@@ -10840,7 +10840,16 @@ var schoolSchema = create$3().shape({
10840
10840
  });
10841
10841
  var PKG = "@timardex/cluemart-shared";
10842
10842
  var IMAGE_EXTENSION = ".webp";
10843
- var posterIds = ["poster1", "poster2", "poster3"];
10843
+ var posterIds = [
10844
+ "mini-market1",
10845
+ "mini-market2",
10846
+ "mini-market3",
10847
+ "mini-market4",
10848
+ "mini-market5",
10849
+ "poster1",
10850
+ "poster2",
10851
+ "poster3"
10852
+ ];
10844
10853
  var posterFiles = Object.fromEntries(
10845
10854
  posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
10846
10855
  );
@@ -12262,7 +12271,8 @@ import mongoose20 from "mongoose";
12262
12271
  var MongooseSchema20 = mongoose20.Schema;
12263
12272
  var schema15 = new MongooseSchema20(
12264
12273
  {
12265
- active: { default: false, required: true, type: Boolean },
12274
+ // New schools are active by default
12275
+ active: { default: true, required: true, type: Boolean },
12266
12276
  contactDetails: { required: false, type: ContactDetailsSchema },
12267
12277
  deletedAt: { default: null, required: false, type: Date },
12268
12278
  location: {
@@ -12352,4 +12362,4 @@ react/cjs/react.development.js:
12352
12362
  * LICENSE file in the root directory of this source tree.
12353
12363
  *)
12354
12364
  */
12355
- //# sourceMappingURL=chunk-7PPWLIUD.mjs.map
12365
+ //# sourceMappingURL=chunk-D2UFBNH6.mjs.map